Jmeter Learning (5) checkpoints

Source: Internet
Author: User

Jmeter also has checkpoints in LR. This article describes how to implement jmeter checkpoints.

The checkpoint in jmeter passesAdd assertions.

 

Checkpoint: We have parameterized the user name and password as described in the previous chapter. How can we determine whether jmeter correctly calls the files in T. dat. Of course, we can view it in the result chart. But I still want to check it in the "login" area.

1. Add a response assertion, right-click our "login" Page ----> Add ----> assertion ----> response assertion

 

2. Set assertions

Note: You can also use the parameter method in the mode to be tested.

 

3. Add an assertion result, right-click our "login" Page ----> Add ----> listener ----> assertion result

Add a "view result tree" and Right-click our "login" Page ----> Add ----> listener ----> View result tree

Set three users in the thread group and click Run.

View the successful assertion results:

If the assertion fails, for example:

View the result tree again:

Now, the checkpoint settings are complete.

Jmeter Learning (5) checkpoints

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.