问题
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