Linux executes JMeter script to resolve response data to NULL

Source: Internet
Author: User
Tags log log

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!

  1. execute the script first: execution succeeded (... end of run), but found two errors

  2. From the server Everywhere RMW_*.JTL results are placed in the local JMeter view, the data are displayed empty

  3. Check the Jmeter.log log again to see that the failed request does not have an error log (validation parameter error, not configuration error)

  4. What do we do next? Modify the configuration in the Jmeter.properties file

    Jmeter.save.saveservice.response_data=true

    Jmeter.save.saveservice.samplerdata=true

  5. 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

  6. After the configuration is done, rerun the script and execute successfully.

  7. Import local JMeter Results tree view Discovery Request response data show

  8. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.