Postman's interface to generate test scripts

Foreword

The implementation of automated testing interfaces with python, but did not want to handwriting a lot of code, we can convert the script postman interface test tools, the script code can be copied over.

One: Fill interface address, perform a test, to see the success of the request

 Two: you can see, the interface access success, returns Json string. This time we click on the red box Code, the following pop-up screen to select multiple languages

3: Select python -> generate code Request, we copy the code to the editor can python

Guess you like

Origin www.cnblogs.com/zhangwuxuan/p/12353167.html