Search code examples
jmeterjmeter-pluginsjmeter-5.0

Jmeter to determine the time taken to send 1000 requests


I am using Jmeter normal Thread Group to simulate 1 user to loop and send a total of 1000 requests. Is the total time taken to send 1000 requests the total runtime?

Eg. 1 user, 1000 requests (looped to do so), on top right after it finishes I see a timing of 1 min 40 seconds. 1 user spends 100 seconds to send 1000 requests? So average of 1 requests per 0.1 second see


Solution

  • Yes it's a viable approach. However if you want the total time to execute 1000 requests in the loop to appear in the .jtl results file and/or HTML Reporting Dashboard you could amend your test plan a little bit like:

    This way the Transaction Controller will generate a synthetic Sample Result and its elapsed time will be the sum of all its children (1000 Sampler executions)

    enter image description here