ngrinder
›
ngrinder-user-cn
Search
everywhere
only in this topic
Advanced Search
Eclipse调试Groovy脚本问题
Classic
List
Threaded
♦
♦
Locked
2 messages
ypspace
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Eclipse调试Groovy脚本问题
使用Eclipse编写并调试Groovy脚本,调试中定义的@Test只能被执行一次,而且只能模拟一个进程下的一个线程工作。
调试阶段是否有类似grinder使用grinder.properties文件,设置运行进程数、线程数和执行次数?
junoyoon
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Eclipse调试Groovy脚本问题
Administrator
This post was updated on
.
When running groovy test case, only one process and one thread is allowed to simulate.
However you can make the test repeated by providing @Repeat(100) annotation at the TestRunner class.
See
http://www.cubrid.org/wiki_ngrinder/entry/how-to-run-the-multiple-tests-with-different-weight-groovy-way
Free forum by Nabble
Edit this page