Eclipse调试Groovy脚本问题

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Eclipse调试Groovy脚本问题

ypspace
使用Eclipse编写并调试Groovy脚本,调试中定义的@Test只能被执行一次,而且只能模拟一个进程下的一个线程工作。
调试阶段是否有类似grinder使用grinder.properties文件,设置运行进程数、线程数和执行次数?
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse调试Groovy脚本问题

junoyoon
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