Reputation: 11
I am running performance testing with concurrent users (50 threads) on a import function of the application in JMeter.
After clicked on import button, I made a call to get import status and keep looping it (using a While controller) until I receive a response with IsFinished=true. But since I am running with 50 VU, it make 3-4 get status call every seconds and it overwhelmed the server.
So, I put a constant timer of 30 secs. It will then only made one get status call every 30 sec.
However, the wait time is not being counted toward the total time spent inside the while controller in the Summary Report.
I tested it with a single thread: For a ~60 seconds import, it's showing 5 sec time spent in the while controller on the summary report.
How can I include the wait time in the report, so that I can get the total time spent for the import to complete?
Any help would be appreciated!
Thanks Steven
Upvotes: 1
Views: 1168
Reputation: 168002
I think that you can use Transaction Controller which has the option to generate parent sample for all nested elements and include duration of pre/post processors and timers in the generated sample.
Transaction controller is commonly used where it is required to measure time for test actions sequence, but it can help to implement your scenario.
Upvotes: 1