- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
I am trying to run a simple atf test case that opens a service portal page, it is working on my personal Pdi perfectly but on another instance it gives this error whenever I try to open any service portal page: This step failed because the client error 'Exception while executing request: stream has already been operated upon or closed: com.glide.rest.util.RESTRuntimeException: Exception while executing request: stream has already been operated upon or closed:
why is that happening although same atf plugins are installed on both instances and I have tried opening a custom service portal on my pdi, it works good but on the other instance any custom or predefined service portal page throws this error, why?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi @bassantaboe
Uncheck Fail on server error and run.
Regards
Shaqeel
***********************************************************************************************************************
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
Monday
Share steps & failed result screenshots.
Regards
Shaqeel
***********************************************************************************************************************
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
Monday
Okay here are the steps I did, trying to open a Service portal page out-of-the-box in ServiceNow. It is the Knowledge Portal
1. First I created the test case as image: my test 1
2. Then test runs in Client test runner and actually opens service portal page for few seconds as in image: opens kb
3. Then client test runner turns white as if it is loading as in image: goes like this
4. Then shows that it failed as in image: fails
5. These are test step results as in images: result 1 & results 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi @bassantaboe
Uncheck Fail on server error and run.
Regards
Shaqeel
***********************************************************************************************************************
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
Thursday
Does this happen due to the rolling back, when rolling back happens, page is closed and that is why stream error occurs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
the solution worked, thank you so much, however, I want to know why the fail on server error should be unchecked?