Testing Inbound Import Set API Request with ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 06:42 AM
I've got a request payload that's a JSON array of objects that will be sent as a post request to the /now/import/{stagingTableName}/insertMultiple endpoint ad-hoc.
I've already built the staging table (extends Import Set Row) and have a step in an ATF to send a request w/ a mock payload to the insertMultiple endpoint of the table. This step was configured with the REST explorer.
To validate that the request is inserting records, I've got a Record Query step in my ATF that validates a unique field from the POST payload exists as a value in the staging table after the "Send REST Request - Inbound" step executes. The test fails at this step and I'm unsure why. I've even set the authentication to "None" in the "Send REST Request - Inbound" step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2025 01:12 AM
Hi @gmorales2
Could you share the steps and failed result screenshots?
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel