How to create the ATF steps for rest API integration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 01:44 AM
Hi All,
I need know how to write a ATF Test case for Rest API integration? Below is the Secnirio
REST API Phantom integration
Step 1:In Navigation go to REST API Explorer
Step 2:Select API Name = Import Set API, Select Create a record (POST)
Step 3:Under "Prepare Request" section, select staging table as "incident.LIST" and goto request body section
STEP 4:- Click Add Field and select UseCase and fill ANY EXISTING value from the use_case table
Click + sign and select correlation id and fill any values
Step 5:Validate, NO NEW record in the use_case have been created
Step 6:Validate, the newly created incident has Use Case = STEP 4 record
This steps are working in manually but this now working in ATF, Any help on this?
Thanks,
Deepika