Test interface, postman and jmeter is the most frequently used tools, particularly jmeter, supports a variety of protocols, and in addition to measurement functions, but also to do automated testing and performance testing. The following describes the usage jmeter test http protocol interfaces, including get, post (form form, json, upload files, cookie).
A, GET requests
Url parameter splicing later
Response results
Parameters can also put the argument list
Response results
2, POST request: form Form
request
Response results
3, POST request: Upload file
MIME type, or fill binary application / octet-stream
Response results
. 4, POST request: transmitting json
Header
request
In response to the results:
05, the cookie in the transfer token: token release information manager head
login token is returned, add_user3 this function must first login (see above post request login request)
request
Header
In response to the results: Log
In response to the results: Add User
Data warehousing success
06, cookie in pass token: token put the cookie manager
request
Header
cookie manager
In response to the results:
Database storage
07, form the form token pass
request
In response to the results:
Success storage
Eight, json in pass token
request
Header
Response results
Database storage
So far, the major parameter passing method jemter test http protocol interface on the introduction finished.