- 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
a week ago
In one community thread, a user experienced this error when running ATFs that open portal pages. The advice was:
Use the “Open a Catalog Item (SP)” step instead of a generic “Open a Page” or “Open Portal Page” step.
Essentially, ATF may be mishandling the initial GET/REST request when invoking portal pages via certain steps. ([turn0search0])
Shashank Jain – Software Engineer | Turning issues into insights
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
I tried this solution but it actually did not work cause The page in service portal I want to open does not have any catalog items, and the catalog item is a mandatory field when I try to select any one, the whole table is empty. Is there any other way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Use “Open a URL” step instead
ATF has a generic step called Open a URL (available in Browser tests).
Provide the direct URL of your Service Portal page (/sp?id=your_page_id).
This bypasses the “catalog item” requirement.
Shashank Jain – Software Engineer | Turning issues into insights
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
no this test step is not available