Sometimes i get in junit5 this error: ERROR com.epam.reportportal.service.Launch - ItemID should not be null #2105
-
Hello, i have sometimes this error, if i started the test in Intellij first time. The second test run succeeded almost always. 2023-08-24 21:51:46 [Test worker] INFO de.cenit.phoenix.test.gui.extension.TestCmdExtension - Call beforeAll function... org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: New session attempts retry count exceeded with best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I found the reason. My server with a reportportal ist very slow. The Launch was not created but the api request have been sent. |
Beta Was this translation helpful? Give feedback.
-
@HardNorth I can't find in the com.epam.reportportal:client-java the ReportPortalExtension.class. And my reportportal.properties contains yet this setting with best regards |
Beta Was this translation helpful? Give feedback.
I found the reason. My server with a reportportal ist very slow. The Launch was not created but the api request have been sent.
Response{protocol=http/1.1, code=404, message=Not Found, url=http://smrtcos8srv-4:9080/api/v1/ESM-GUITests/launch/uuid/26e29aae-9abf-48e8-a922-3762a50c0cda}
i set in code sleep 5 seconds and magic it works....