- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2025 05:27 PM
HI Community
I'm trying to test incident SLAs using ATF. We are asked to create 294 SLAs for incident that is from BMC system. It's very time consuming to test each SLAs. So I'm trying to use ATF to test. Now I have created a Test and added test steps as 1, impersonate user, 2, open a new form, 3 set Field values, 4, Submit a Form, 5, ......。 The test always failed at step 4 when submitting the incident. with the error message: This step failed because the client error 'Invalid query string received:null: java.lang.NullPointerException: Invalid query string received:null: java.lang.NullPointerException: Invalid query string received:null: java.lang.NullPointerException: Invalid query string received:null: java.lang.NullPointerException: Invalid query string received:null: java.lang.NullPointerException: ' was dected on the page being tested. See failing Test logs. ......
Please give some insights why the error occurs, how to solve this error. It's simply to submit the incident with all mandatory fields.
BTW, is there other automatic method to test SLAs?
Thank you so much
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2025 09:13 PM
Hello @ShuRiseUp2023
I suspect that the test is interrupted by an error on the client side caused by client script.
Please refer to the following KB and try to put it in the exception temporarily.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0725054
Of course, but I recommend that you investigate separately why the error is occurring.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2025 11:52 PM
@ShuRiseUp2023 - Are you creating Incident from Native UI or from Portal? Can you check if the user you are impersonating is having right roles? and still you are getting this same error then please reach out to your developer to check if the script written behind UI button is failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 08:04 AM
@Sardash , I use ATF to create incident from Native UI. the person I impersonating has the right role. I tried to add errors to warning/ignore list, then the problem solved. Now I am able to use ATF to test my SLAs. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2025 01:49 AM
Uncheck the below fields and try adding the error to ignore list in the failed result.
Regards
Shql
***********************************************************************************************************************
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 08:06 AM
@Shaqeel Thanks for your response. I added the errors to the warning list and now the ATF is working successfully.