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 · 833 阅读 · 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 · 764 阅读 · 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 · 284 阅读 · 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 · 572 阅读 · 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 · 1241 阅读 · 1 评论