-
Data preparation
Create a new Excel file, which is written in the required parameters in the following format :( Note that the first line is a reference to the name of the parameter)
when completed, will save it as a CSV format, put down their favorite path. I'll just put the desktop.
-
Edit request
Open Postman, set the variable parameters by way of illustration:
and writing the appropriate assertion Tests (I here 200 determines whether the return value; response time less than 5S; Back "transfer success" prompt):
can their first try to perform a group:
-
Set parameterization file associated with
the requested file folder click the Run:
In the new pop-up window is set as follows:
-
Click below to run, you can start the parameterization interface testing, we can see the progress and the results of running in the pop-up window.
-
Note Point 1: If after running discovery Pass and Failed fields are empty , please first check is not asserted forget to write.
-
Note Point 2: If the assertion is no problem, please click Collection Runner in Preview preview:
you can see the parameters we set, the Chinese are garbled all
we can set the encoding format (Content-Type application in the header of the request / json; charset = UTF-8)
can be solved. After the setting is completed, the results as shown below:
软件测试工程师一只,也在不断的学习阶段,平时的小经验不定期分享。
博主经验有限,若有不足,欢迎交流,共同改进~
愿与同在CSDN的你共同进步