Lusitha
Lusitha

Reputation: 370

How to copy Test data file to jmeter slave machines

I'm Using JMeter project to execute the performance test using jenkin. Although right now will be uploading the test data files to remote machines manually. Is there any way to configure sending data files to remote machines using the pom file

Upvotes: 0

Views: 205

Answers (1)

Dmitri T
Dmitri T

Reputation: 168092

You cannot do this via pom.file as JMeter Maven plugin doesn't support this yet

However if you will be running JMeter from command-line non-GUI mode you can pass the properties in form key=value or even the .properties file via -G command-line argument like:

jmeter -n -R localhost -Gfoo=bar -t test.jmx

or

jmeter -n -R localhost -Gglobal.properties

and these properties will be propagated to all remote slaves

enter image description here

Upvotes: 1

Related Questions