Question

I have JMeter '.jmx' file.

Can I run it using Java? If yes, please let me know how to do it or share any good link

Était-ce utile?

La solution

The class org.apache.jmeter.NewDriver has the main() method that the application is started with. You can call it programmatically and pass it the appropriate arguments (like -t test.jmx). You probably have to construct the test plan specifically to yield usable results if you want it to run without a GUI, though.

Autres conseils

It's quite simple:

jmeter -t test.jmx
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top