Wednesday, 15 April 2015

gradle - Run Jmeter in non GUI Mode from Gralde Jmeter Plugin -



gradle - Run Jmeter in non GUI Mode from Gralde Jmeter Plugin -

context:- right using jmeter gradle plugin kulya.but need generate graphical results,,so used jmeter plugins..but need run using command prompt , cannot run using gradle jmeter plugin.

earlier:- jmeterrun.configure { srcdir = file('src/test/performance/jmeter/') jmetertestfiles = [file('src/test/performance/jmeter/<my_file>.jmx')] } need run this:- jmeter.bat -t <my_file>.jmx -n -l /data/jmeter/concurrent/concurrent-test-results.csv problem is,i not able execute command using jmeter gradle plugin.specifically pass parameters -n -l using jmetr gradle plugin. appreceiate help on this!!

you can configure save results file in user properties, include properties file in gradle config using jmeteruserpropertiesfiles

to start jmeter in non-gui via gradle, use:

gradle jmeterrun

gradle jmeter

No comments:

Post a Comment