Under the tutelage of 'one hundred test'!
I. Introduction
Postman is a very popular API debugging tools, a lot of the siege lion should be used, or heard, do not make too much introduction.
Official Website: http: //www.getpostman.com
Second, the interface automation
1, a new interface Baidu search query of a song, learning to use please do not abuse, https://api.apiopen.top/searchMusic?name= XXX, to ensure that available under the first run
2, VALUE parameters of the process: the name of the parameter {{}}, the name behind test.txt
3, create a new folder test, will be saved into the interface
4, a new test.txt, the presence of disk D, separated by a comma, the format in FIG.
5. Click the top left corner of the postman runner, and check the test interface
6, batch execution test, view the execution results
7, how to add checkpoints
Turn off the collection, Postman return to the main screen, enter the Tests screen, check the right side provides many functions
I also study, presented here a function to check the value of the returned results from the other we have a lot to learn search
After debugging, the values are parameterized, remember to save
Open runner again and executed in accordance with the above method
carry out!