Create an API test task
Create an API test task to simulate a real-world calling scenario. This lets you call an API through the gateway, test its status, and verify that it works as expected.
Prerequisites
The API has been published. For more information, see Publishing an API.
Procedure
Log on to the Data Resource Platform console.
In the upper-left corner of the page, click the
icon and select Collaboration.In the top menu bar, click the
icon, select the target workgroup, and then click Asset Processing.In the navigation pane on the left, click the
icon and choose API Development > API Test Task.On the API Test Task page, click Create Test Task.
In the Create API Test Task dialog box, configure the task parameters.
Parameter
Description
Task Name
Enter a name for the task.
Select Application
Select one or more applications.
Select API
Select one or more APIs to test.
Parameter Adjustment Settings
Select a parameter adjustment type. Data sampling and traffic playback are supported.
After you configure the parameters, click OK.
Related operations
Task | Description |
Copy task | After the task runs, in the Actions column of the task, click Copy Task. A new task is created with a Pending status. |
Delete task | In the Actions column of the task, click Delete to delete the task. |
What to do next
After you create an API test task, run the task. For more information, see Run an API test task.