![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ngrinder
文章平均质量分 76
magus8888
这个作者很懒,什么都没留下…
展开
-
ngrinder学习笔记
ngrinder第一个脚本定义package org.ngrinder;import static net.grinder.script.Grinder.grinderimport static org.junit.Assert.*import static org.hamcrest.Matchers.*import net.grinder.plugin.http.HTTPRequest原创 2016-04-21 09:35:43 · 848 阅读 · 0 评论 -
ngrinder parse json
import groovy.json.JsonSlurper....def message = """{ "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "Gloss转载 2016-08-18 20:42:12 · 781 阅读 · 0 评论 -
ngrinder parse xml
def message = """ WOW WOW2 GOOD!! """def hello = new XmlParser().parseText(message);grinder.logger.info(hello.world[1转载 2016-08-18 20:43:10 · 294 阅读 · 0 评论 -
How to run the multiple tests with different weight Groovy way
第一种考逻辑实现@Testpublic void test(){ switch (grinder.threadNumber % 10) { case 1..5: doTest1() break case 6..8: doTest2() break转载 2016-08-18 20:47:14 · 583 阅读 · 0 评论 -
ngrinder 编译安装 Could not find artifact grinder:grinder-patch:jar:3.9.1-patch 问题解决
ngrinder 编译安装报错如下:Downloading from central: https://repo.maven.apache.org/maven2/grinder/grinder-patch/3.9.1-patch/grinder-patch-3.9.1-patch.jar[INFO] -------------------------------------------------...原创 2018-06-12 20:26:11 · 1264 阅读 · 1 评论