JMeter "Checkpoint."

Source: Internet
Author: User

All right! Then the contents and ideas of an article continue to move forward.

Checkpoint: Simple to understand, the previous chapter, we have the user name and password of the parameterization, then how to determine whether JMeter correctly call the Test.dat inside the file. Of course, we can view it from the results chart. But I still want to check it out in the "Log in" area.

The checkpoint inside the JMeter is done by adding assertions.

1.

Right-click on our "Login" page----> Add----> Assertion----> Response Assertion

To set the assertion page, what do we want to assert? The username and password of the call is not the username and password in our Test.dat file, how to proceed?

3.

Here we need to prepare two files separately, one to put the user name, one to put the password.

Here's how to write a function to call these two files, and then read my previous article first.

Add two "modes" to the Response assertion page

(The third step also has a method, directly call the original Test.dat data to check, I tried for a half-day has failed, do not know why? )

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.