Reputation: 113
I am trying to run some performance tests via CMD. It is a pretty simple environment. We launch a Jenkins build with testing parameter and the Jenkins slave calls PSExec with jmeter command on a remote VM.
Whenever I try to run the tests (either with complete flow from Jenkins or directly from CMD) I get the following error:
errorlevel=-1073741819
Press any key to continue . . .
As far as I've read on the internet, this error is specific for Access violation.
This is the command I use for starting the test:
jmeter_path\bin>jmeter -n -t jmeter_path\bin\tests\Test.jmx -Jjmeter.save.saveservice.output_format=csv -Jparam1=%param1% -l \\remote_ip\Results_Build_115\Results.csv -j \\remote_ip\Results_Build_115\jmeter.log -e -o \\remote_ip\Results_Build_115\HTMLReport
Later Edit:
Here is the error from Event Viewer:
Faulting application name: java.exe, version: 8.0.1610.12, time stamp: 0x5a39c48e
Faulting module name: java.exe, version: 8.0.1610.12, time stamp: 0x5a39c48e
Exception code: 0xc0000005
Fault offset: 0x000000000000b54b
Faulting process id: 0x2f98
Faulting application start time: 0x01d470feb367816d
Faulting application path: C:\ProgramData\Oracle\Java\javapath\java.exe
Faulting module path: C:\ProgramData\Oracle\Java\javapath\java.exe
Report Id: a01a4071-1ab6-4b52-8a54-e50ba51da6bf
Faulting package full name:
Faulting package-relative application ID:
Observations:
Upvotes: 1
Views: 2616
Reputation: 1
Rather than pass your properties through "-J", put them in a file and reference it through the "-q" option. https://jmeter.apache.org/usermanual/get-started.html#options
Upvotes: 0
Reputation: 1
How about reduce -J numbers, I did that for my case, it works. Couldn't handle too many -J to pass para
Upvotes: 0
Reputation: 1
I had same problem and I fixed removing some spaces betwen commands.
Upvotes: 0