java - Downloading JMeter Official Distribution as part of maven dependency (Not using maven plugi-in) -


integrating jmeter part of maven project

extending above question, possible below steps through maven dependency itself, ideally don't want rely on local installation of jmeter running test , don't want use jmeter maven plug-in since cannot specify jmeter version want use run jmeter script.

the answer mentioned use antrunner not sure how through maven pointer helpful

my scenario to,

download , unzip jmeter official distribution maven dependency

copy target folder

jmeterutils.setjmeterhome("copied-target-folder/bin")

jmeter.run();

you can use antrunner , following ant tasks:

example:

<get src="url of jmeter"      dest="${build.dir}/${zip}"      usetimestamp="true" ignoreerrors="false"/> <unzip dest="${build.dir}" src="${build.dir}/${zip}"> 

Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -