You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "riverhead013 (via GitHub)" <gi...@apache.org> on 2023/06/09 15:01:38 UTC

[GitHub] [jmeter] riverhead013 opened a new issue, #5978: Error after running jmeter test on Jenkins with multiple parameters passed via "-J" flag

riverhead013 opened a new issue, #5978:
URL: https://github.com/apache/jmeter/issues/5978

   ### Expected behavior
   
   No issues, test should be run successfully with multiple parameters pased via "-J" flag.
   
   ### Actual behavior
   
   errorlevel=255
   
   ### Steps to reproduce the problem
   
   I'm running jmeter test on windows based Jenkins node using next command (Windows batch command):
   
   jmeter ^
   -Jjmeter.save.saveservice.output_format=xml ^
   -Jjmeter.save.saveservice.response_data=false ^
   -Jjmeter.save.saveservice.samplerData=true ^
   -Jjmeter.save.saveservice.requestHeaders=true ^
   -Jjmeter.save.saveservice.url=true ^
   -Jjmeter.save.saveservice.responseHeaders=true ^
   -Jparam1=%param1% ^
   … 
   -JparamN=%paramN% ^
   -n -t "file.jmx" -l "%WORKSPACE%\Test%BUILD_NUMBER%.xml"
   
   When number of params passed via flag "-J" exceeds 13, I'm getting "errorlevel=255" on Jenkins.
   I was able to fix the issue by using "-D" flag instead of "-J" flag but it looks like there is a bug using "-J" flag.
   
   
   
   
   ### JMeter Version
   
   5.5
   
   ### Java Version
   
   1.8.0_362
   
   ### OS Version
   
   Windows Server 2012 R2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] polarnik commented on issue #5978: Error after running jmeter test on Jenkins with multiple parameters passed via "-J" flag

Posted by "polarnik (via GitHub)" <gi...@apache.org>.
polarnik commented on issue #5978:
URL: https://github.com/apache/jmeter/issues/5978#issuecomment-1584738079

   https://gist.github.com/polarnik/68b55f64f0a76c26150ffe2ac5405433
   
   An other example of the error for the environment:
   
   - windows 10
   - jmeter 5.2.1 (GUI Mode only)
   - java 8


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org