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? )