Updated on 2023-08-07 GMT+08:00

Importing a Postman File

Background

Test steps can be generated by importing Postman files for API automation test cases.

Requirements:

  • The Postman Collection v2.1 standard is supported.
  • Use only the Postman request method, URL, header, and body to generate test steps.
  • Use only the form-data, x-www-form-urlencode, or raw modes to import the Postman request body.
  • Upload the Postman request form-data attachment separately in test steps.

Procedure

  1. After the operations described in Creating an API Automation Test Case are complete, click the test case name, and click the Scripting tab.
  2. Click Postman. In the dialog box that is displayed, click , select the file to be imported, and click ok.

  3. The URL request is displayed on the page. Click Save in the upper right corner. The system displays a message indicating that the update is successful.

    If the saving fails, a dialog box is displayed in the upper right corner, indicating the failure cause.