Automated Test Framework use case: retrieve an incident using REST-Inbound
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- Automated Test Framework
The Get Newly Created Resource via REST API Test test is provided with the Automated Test Framework, and uses the REST - Inbound and assert steps.
Before you begin
Review the REST APIs and the Send REST Request- Inbound- REST API Explorer configuration step information before creating this test.
Role required: atf_ws_designer
About this task
You can use the Send REST Request- Inbound REST API Explorer step to build and test the request, or you can manually create the request using the Send REST Request- Inbound step. In either case, you must specify the basic authentication information on the Send REST Request- Inbound step form.
When creating your test, start with your REST API and determine what behavior you want to validate. You can then determine what test data to create. You can use other test step configuration categories to create, update, or delete records, and then use a Send REST Inbound step to retrieve, update, or delete the test data. Conversely, you can use the Send REST Inbound step to create records, and then use other test step configuration categories to validate that the records were created correctly.
This task steps you through creating the Get Newly Created Resource via REST API Test test.
Procedure
-
Create a test.
-
Create test data.
-
Create the REST request.
-
Create assert steps to verify the REST response.