ATF test error: Exception while executing request: stream has already been operated upon or closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi
I am dealyng with a erro in a ATF test in a step called Open Service Portal Page.
The error message says:
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: com.glide.rest.handler.impl.ServiceHandlerImpl.handleInvocationTargetException(ServiceHandlerImpl.java:79)
com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:50)
com.glide.rest.processors.RESTAPIProcessor.invokeService(RESTAPIProcessor.java:514)
com.glide.rest.processors.RESTAPIProcessor.processInternal(RESTAPIProcessor.java:496)
com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:480)
com.glide.processors.AProcessor.runProcessor(AProcessor.java:934)
com.glide.processors.AProcessor.processTransaction(AProcessor.java:355)
com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:200)
com.glide.processors.ProcessorRegistry.lambda$processWithRollbackRecording$0(ProcessorRegistry.java:448)
com.glide.rollback.recording.RollbackRecorder.execute(RollbackRecorder.java:67)
com.glide.processors.ProcessorRegistry.processWithRollbackRecording(ProcessorRegistry.java:444)
com.glide.processors.ProcessorRegistry$TracingCallable.call(ProcessorRegistry.java:494)
com.glide.processors.ProcessorRegistry$TracingCallable.call(ProcessorRegistry.java:483)
com.glide.metadata.tracing.MetadataTracer.executeWithTrace(MetadataTracer.java:423)
com.glide.metadata.tracing.MetadataTracer.executeWithTrace(MetadataTracer.java:414)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:181)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:58)
com.glide.sys.Transaction.run(Transaction.java:3307)
com.glide.ui.HTTPTransaction.run(HTTPTransaction.java:76)
com.glide.sys.util.sema.SemaphoreQueueThreadPool$Semaphore.runTransaction(SemaphoreQueueThreadPool.java:374)
com.glide.sys.util.sema.SemaphoreQueueThreadPool$Semaphore.runThreadImpl(SemaphoreQueueThreadPool.java:338)
com.glide.sys.util.sema.SemaphoreQueueThreadPool$Semaphore.runThread(SemaphoreQueueThreadPool.java:159)
java.base/java.lang.Thread.run(Thread.java:1583)
' was detected on the page being tested. See failing Test Logs. To ignore these errors in the next test run, use 'Add all client errors to warning/ignored list' links.
Please, someone can help me to understand that error and how to solve it.
Thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi @RenataN
Validate the solution given in posts against same error:
- https://www.servicenow.com/community/upgrades-and-patching-forum/atf-with-service-portals/m-p/336586...
- https://www.servicenow.com/community/upgrades-and-patching-forum/upgrade-san-diego-quot-stream-has-a...
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti