문제

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

도움이 되었습니까?

해결책

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.

다른 팁

It's quite simple:

jmeter -t test.jmx
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top