Vitalii
Vitalii

Reputation: 1

Jmeter: Additional requests when I run load test via command line

I have a load test and run it via command line. When I got result, I see that it make additional request but they are absent in load test.

I have attached result that generated (Just in case my command line:

jmeter -n -t c:\Load\Average\Login.jmx -l c:\Load\Average\JmeterResult\%timestamp%\AverageResult.jtl -e -o c:\Load\Average\AverageResult\%timestamp%\

)

enter image description here

Please look at the screenshot. I marked additional request and total request. It is 4800 but should 2400

Thank you in advance.

Upvotes: 0

Views: 57

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

The "additional" requests can originate from:

  1. Redirects
  2. Embedded resources downloads

If you want to "get rid" of them you can add the following stanza:

-Jjmeter.reportgenerator.exporter.html.series_filter="^(Login-browser|Send request to login)(-success|-failure)?$"

and the "child" sample results will be filtered out (you will still have 4800 as the final result but these Login-browser-0 and friends will be hidden.

Upvotes: 0

Related Questions