Search code examples
jmeterreport

How to execute multiple Jmeter scripts and generate html report for those scripts


I have multiple jmeter scripts like Test1.jmx,Test2.jmx,Test3.jmx and those scripts should be run sequentially and need to result file as HTML report. And I had executed sequentially via bat but reports were generated individually(3reports) I need single HTML report file for whole execution.


Solution

  • You could extend option 1 in answer#1 to generate the HTML dashboard report at the end of the test execution

    ./jmeter.sh -n -t TestPlan-1.jmx -f -l test-results-sample.csv
    ./jmeter.sh -n -t TestPlan-2.jmx -l test-results-sample.csv
    ./jmeter.sh -n -t TestPlan-3.jmx -l test-results-sample.csv
    ./jmeter.sh -g test-results-sample.csv -f -o test_reports
    

    Commanline options:

    enter image description here