How can i get jmeter test status in non-gui mode. Jenkins install jmeter helm chart on kuberntes and start the test as part of the installation, meaning that after the chart installed a script entry point will run automatically inside the container, jenkins is only trigger the chart. i want to know when the test is finished and get back the status to jenkins from the pod to publish the report test result on jenkins.
When JMeter's non-gui test execution is finished it returns a normal exit code which can be obtained:
%errorlevel%
environment variable in Windows$?
environment variable in Unix and derivativesNot knowing the details of how you launch JMeter it is quite hard to come up with exact Jenkins configuration but I'm pretty much sure that you can utilize the aforementioned variables to get the JMeter execution status
if you are triggering jmeter scripts via jenkins , you can have a post build operation after script execution using jenkins.
I am using powershell in jenkins to run jmeter in non gui mode, once test is done doing other post build operations.