Search code examples
jmeterdistributed-testing

In Distributed testing results folders are created per user or thread


I am running into the following strange issue.

Issue In Distributed testing results folders are created per user or thread. Test has been executed from master machine with One Slave machine.

Both machines have same version of java8.

Actual Results 4 Results has been created. 2 of folders has Aggregate Report and ViewTree results files. 2 of folders has just ViewTable Results files.

Expected Results Supposed to be created just One folder with Aggregate Report,View Tree and View Table results files.

Any one has encounter this issue?I am not sure what went wrong,please advise.

Below are the screenshots of Master and Slave machine settings.

Below screenshot shows the configuration of Master Machine enter image description here

Below screenshot shows the configuration of Slave Machine enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

Thanks, Raj


Solution

  • Simply don't use JMeter Listeners for anything but tests development and debugging. When it comes to running your test make sure you have any listeners deleted from the test plan (or at least disabled) as they are don't add any value, the only thing they do is consuming your JMeter load generators resources.

    Just run your test in command-line non-GUI mode like:

    jmeter -n -t test.jmx -R slave1, slave2, slave3 -l result.jtl
    

    Once your test will be finished you will either be able to open this result.jtl file with the listener of your choice or generate HTML Reporting Dashboard out of it.

    See Remote Testing User Manual chapter for more details.