简体   繁体   English

JMeter同步计时器超时

[英]JMeter Synchronizing Timer time out

I am currently working to set a time out for Synchronizing Timer in JMeter source code. 我目前正在为JMeter源代码中的同步计时器设置超时。

Currently, if groupsize is set to 5, it will wait till 5 threads is ready before executing. 当前,如果groupsize设置为5,它将等到5个线程准备就绪后再执行。 Should 1 of the thread is experiencing some kind of error or timeout, the program should not wait indefinitely. 如果线程1遇到某种错误或超时,则程序不应无限期等待。 Either continue execution with the remaining threads and flag out the error, or reset the error thread. 要么继续执行其余线程并标记出错误,要么重置错误线程。

Any idea how I can do that in the source code? 知道如何在源代码中做到这一点吗?

Find SyncTimer#BarrierWrapper and add 2 parameters to await. 找到SyncTimer#BarrierWrapper并添加2个参数以等待。

Then add these 2 configuration to SyncTimerBeanInfo so that they appear in GUI. 然后将这两个配置添加到SyncTimerBeanInfo中,以便它们出现在GUI中。

I suggest you open a Bugzilla (enhancement) and contribute a patch either in Bugzilla or through GITHUB: 我建议您打开一个Bugzilla(增强功能)并在Bugzilla中或通过GITHUB贡献一个补丁:

UPDATE (05th july 2014): You created : 更新(2014年7月5日):您创建了:

It has been implemented and is available in nightly build : 它已经实现,并且可以在每晚构建中使用:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM