JMeter Synchronizing requests and Synchronizing Timer

主宰稳场 提交于 2019-12-25 03:39:10

问题


I want to archive that various transaction controller(TA) with containing HTTP requests are always fired at the same time for each loop. Currently, he's just sending the first TA synchronized and the second one varies between 1-5 sec.

JMeter Setup:

  • Thread Group: 5 Threads, 0 Ramp up, 5 Loops

  • Synchronizing Timer: 0 and 30000 Timeout

Result

  • View Results in Table(Filtered with Excel for Transaction Controller)

回答1:


You're misusing Synchronizing Timer. If you want to group samplers you need to put 5 into "Number of Simulated Users to Group By" input. If you keep 0 - there will be no effect.

Also it's better to remove top Synchronizing Timer (under the Thread Group).

See Using the JMeter Synchronizing Timer article for detailed information on how to use and where to put the timer.



来源:https://stackoverflow.com/questions/34784615/jmeter-synchronizing-requests-and-synchronizing-timer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!