Interface testing has never been so simple-postman (Chrome plugin)
A very powerful HTTP client tool for testing Web services, I'm here to describe how to test restful Web service with it
NOTE: Reprint please indicate the source http://www.cnblogs.com/wade-xu/p/4228954.html
Installation
Enter the chrome setting->more tools->extensions
Click the bottom of Get more extensions
Search Postman
Select First click
Click Launch APP
How to use postman to do interface testing
Fill in service URL
Select method, such as Get
This request requires parameters, click on the URL params fill in the parameters
After the parameter is filled in, the tool automatically fills in the parameters after the URL.
Click Send
Post requests are similar
We need two more headers.
If access to your service requires authentication, you need to configure the user name password for authentication in the tab below
All of your tested data can be collected via add to collection.
The tests you run will be found in history tab.