Help Center/
CodeArts TestPlan/
User Guide/
Configuring a Test Case/
Creating an Automated API Test Case/
Adding an API Script by Importing a Postman File
Updated on 2024-10-11 GMT+08:00
Adding an API Script by Importing a Postman File
Background
Test steps can be generated by importing Postman files for automated API 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
- After the operations described in Creating an Automated API Test Case Template are complete, click the test case name, and click the Scripting tab.
- Click Postman. In the dialog box that is displayed, click , select the file to be imported, and click OK.
- 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.
Parent topic: Creating an Automated API Test Case
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot