Reputation: 217
Apache JMeter 4.0 gives an error from an OS Process Sampler:
"Could not create java virtual machine"
when running a "java -jar ..."
How can we solve this error?
Thank you
Upvotes: 0
Views: 1794
Reputation: 168072
You should put java
as the "Command" and all the arguments like -jar
and friends each on the separate line in the "Command parameters" section of the OS Process Sampler like:
Example output would be
More information: How to Run External Commands and Programs Locally and Remotely from JMeter
Upvotes: 1