You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.epam.reportportal.service.ReportPortal.Builder.buildEndpointUrl assumes all endpoints should be in v2 when running with async reporting.
This is not true for endpoints such as com.epam.reportportal.service.ReportPortalClient#getLaunchByUuid. Trying to invoke it when com.epam.reportportal.listeners.ListenerParameters#isAsyncReporting is true, results in HTTP error 404, due to the incorrect use of API_V2_BASE.
In my specific scenario, I found a work-around, in the form of creating a separate ReportPortalClient with a clone of my ListenerParameters, where i tweaked setAsyncReporting(false), so i was able to successfully invoke com.epam.reportportal.service.ReportPortalClient#getLaunchByUuid from this dedicated client.
The text was updated successfully, but these errors were encountered:
@amalbaccar-hub, this is V1 only endpoint. So please check how you obtain this UUID. Also, Launch creation is async process, so you have to implement some sort of waiter, if you call for the Launch info on the very start.
PS: Please do not post in to such an old issue. I any case this will be off-topic.
com.epam.reportportal.service.ReportPortal.Builder.buildEndpointUrl assumes all endpoints should be in v2 when running with async reporting.
This is not true for endpoints such as com.epam.reportportal.service.ReportPortalClient#getLaunchByUuid. Trying to invoke it when com.epam.reportportal.listeners.ListenerParameters#isAsyncReporting is true, results in HTTP error 404, due to the incorrect use of API_V2_BASE.
In my specific scenario, I found a work-around, in the form of creating a separate ReportPortalClient with a clone of my ListenerParameters, where i tweaked setAsyncReporting(false), so i was able to successfully invoke com.epam.reportportal.service.ReportPortalClient#getLaunchByUuid from this dedicated client.
The text was updated successfully, but these errors were encountered: