JMeter interface test data separation driven application

step:

  • Create csv files and write interface test cases 

Create a new thread group - create a loop controller (fill in the total number of use cases for the number of loops) 

Create CSV data file settings, set parameters. (Note: Do you allow quotation marks?: Must be set to true!), the variable name is the first line of the test case 

Create an IF controller with conditional transitions using function helpers

Add request, refer to variables in test case 

If it is a post request, you need to add an HTTP header manager 

Add response assertion 

Execute, view the result tree, request success, call the parameters set by the test case

Finally, I would like to thank everyone who has read my article carefully. Reciprocity is always necessary. Although it is not a very valuable thing, you can take it away if you need it:

insert image description here

Software testing interview applet

The software test question bank maxed out by millions of people! ! ! Who is who knows! ! ! The most comprehensive quiz mini program on the whole network, you can use your mobile phone to do the quizzes, on the subway or on the bus, roll it up!

The following interview question sections are covered:

1. Basic theory of software testing, 2. web, app, interface function testing, 3. network, 4. database, 5. linux

6. web, app, interface automation, 7. performance testing, 8. programming basics, 9. hr interview questions, 10. open test questions, 11. security testing, 12. computer basics

These materials should be the most comprehensive and complete preparation warehouse for [software testing] friends. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. I hope it can help you too!  

Guess you like

Origin blog.csdn.net/nhb687095/article/details/132339919