maven - Jmeter run 2 test plans sequentially command line -
i have 2 test plans 2 different processes want test using jmeter; both scripts implemented , can run individually via jmeter gui.
however, possible run one test plan using command line, , once first test plan finishes, second test plan gets kicked off. basically, want run 1 test plan after another: not @ same time...
eventually want put these 2 test plans on server , have them run 1 after other using maven script, there way accomplish using jmeter's command line?
for command-line non-gui mode run files using shell script like:
jmeter -n -t test1.jmx -l result1.jtl jmeter -n -t test2.jmx -l result2.jtl you can pass same file via -l command-line option, results of test2.jmx appended results of test1.jmx.
for maven execution copy both .jmx scripts src/test/jmeter folder of project - maven execute tests sequentially.
after test execution able find results files under target/jmeter/results folder, 1 file per .jmx script. results can merged via i.e. merge results tool
more information:
Comments
Post a Comment