The Linux server executes the JMeter script with the command, and when the results are viewed locally, the "Request and response data" of the resulting tree species are displayed as empty, and the error log does not see why, see the demo!
- execute the script first: execution succeeded (... end of run), but found two errors
From the server Everywhere RMW_*.JTL results are placed in the local JMeter view, the data are displayed empty
- Check the Jmeter.log log again to see that the failed request does not have an error log (validation parameter error, not configuration error)
- What do we do next? Modify the configuration in the Jmeter.properties file
Jmeter.save.saveservice.response_data=true
Jmeter.save.saveservice.samplerdata=true
Append configuration in the User.properties file
Jmeter.save.saveservice.output_format=xml
Jmeter.save.saveservice.response_data=true
Jmeter.save.saveservice.samplerdata=true
Jmeter.save.saveservice.requestheaders=true
Jmeter.save.saveservice.url=true
Jmeter.save.saveservice.responseheaders=true
After the configuration is done, rerun the script and execute successfully.
- Import local JMeter Results tree view Discovery Request response data show
Explain the following Linux execution fields
?: 9 requests, 2.5 seconds, tps:3.6/s, average response time 454ms, minimum response time 46ms, maximum corresponding request 2047ms,2 error (Error rate 22.22%)
Linux executes JMeter script to resolve response data to NULL