Use postmant do automated testing

To request the way for the post login interface as an example, the interface documentation includes: request url, request parameters, request method

Interface documentation as follows:

1. postmant input url, request mode parameter;

    2) Save the interface Test Engineering

2. Write test data: data include specific test cases, column name, checkpoints;

   Written documentation of test data, and upload, eg:

Test Data Document Preview:

parameter value 3. The dead can not write, calling the test data of variable column names;

 

4. Preparation of test results;

   1) acquisition parameters;

   2) Set the result of test parameters (i.e., return results that contain certain parameters);

 5. Obtain variables, set the variable inspection

  1) obtain a variable;

     

  2) Set test variables;

 

 After re-runner saving, viewing run results

 

 

 

Guess you like

Origin www.cnblogs.com/guangjiao/p/11453262.html