1. Download postman
1. Download
地址:Download Postman | Get Started for Free
Take the Windows 10 system as an example, download the corresponding version of the program.
After the download is complete, double-click to open and enter the following interface
2. Registration
If you have not registered an account before, select the first item create free account and jump to the account registration page
Enter email, user name, password to register
If you have registered an account before, select the second item sign in and jump to the account login interface
Enter email address or user and password to log in
After login, enter the following page
Two, use postman
1. Enter the personal test project
Click directly on my workspace under workspace to enter the personal test project
2. Enter the team test project
You can also choose create team to create a team, click invite to enter an email address to invite team members
Then select the team workspace under workspace to enter the team test project. Collections and requests in the team workspace, all team members will be synchronized
3. Interface content
Taking my workspace as an example, the interface as shown in the figure is displayed after entering. overivew Directly click the cross to close the introduction part
Take Baidu website as an example, send http request.
- Create different directories and requests according to the project in the interface set.
- Select the request method, enter the request url, and fill in the request parameters as required. Finally click send to send.
- The response part below will display the response content. This section is empty when no request is sent.
You can write test cases in the tests column, or you can directly use some test case templates built in postman by clicking the test item in the template column. After sending the request, the final result is displayed in test results.