JMeter---assertion duration (Duration to assert) and assertion file size

Source: Internet
Author: User
1, Assert duration (Duration to assert)

Duration to Assert--maximum allowable response time

If the response time is greater than the maximum value set, the assertion does not pass, such as if the response time is greater than 10 milliseconds, the assertion does not pass:

You can also view the details through the assertion results in the listener:

2. Assert file size (size assertion)

Size to Assert--determine how large the content of the returned file is

You can set the returned result file to be equal to or greater than the specified byte to determine whether the pass is passed, such as if the number of bytes returned is greater than 50 bytes, then the assertion is judged not to pass.

Green if it is less than or equal to 50 bytes, no assertion error message occurs

JMeter---assertion duration (Duration to assert) and assertion file size

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.