- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 02:55 PM
The below Record Query test steps fail roughly 80% of the time for no discernible reason. The test successfully orders a catalog item (apparently) but then cannot find it, even with a 60 second timeout. Occasionally it will find it, but then it's unable to find the RITM associated with the request (test step 9).
How do I go about resolving/troubleshooting this?
I then duplicated step 8, and here you see it succeeds, but then step 9 fails
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2022 02:16 PM
I ended up using creating a HI ticket for this and it was resolved earlier today. The test step which I had generated via script was missing an associated record in the sys_element_mapping table. Inserting that record when creating the test step allowed the test runner to successfully complete the test step.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2022 03:51 PM
Hi Brad,
Increasing the timeout is the change that I would suggest, but you've already done that.
In your description you say that you are looking for the RITM, if that's the case then on the sc_req_item table, you'd need to search the request > sys_id field, rather than the sys_id field using the result from your Order a Catalog Item (SP) step, since that step returns the sys_id of the sc_request record.
Hope this helps.
Thanks,
Cody
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2022 02:16 PM
I ended up using creating a HI ticket for this and it was resolved earlier today. The test step which I had generated via script was missing an associated record in the sys_element_mapping table. Inserting that record when creating the test step allowed the test runner to successfully complete the test step.