Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report portal service launch error #49

Open
vinay-kabbe opened this issue Sep 26, 2024 · 2 comments
Open

Report portal service launch error #49

vinay-kabbe opened this issue Sep 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@vinay-kabbe
Copy link

vinay-kabbe commented Sep 26, 2024

Report portal gives the exception
2024-09-26 16:08:17,483 [main] INFO c.epam.reportportal.service.Launch - Rerun: false
2024-09-26 16:08:18,346 [rp-io-1] ERROR c.epam.reportportal.service.Launch - [21] ReportPortal execution error
retrofit2.adapter.rxjava2.HttpException: HTTP 405
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:57)
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:38)
at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:48)
at io.reactivex.Observable.subscribe(Observable.java:12267)
at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35)
at io.reactivex.Observable.subscribe(Observable.java:12267)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
Steps to Reproduce

  1. Set the cucumber options as below
    @listeners(CucumberTestNGListener.class)
    @CucumberOptions(
    features = {"src/test/resources/features/some_feature_name.feature"},
    glue = {"com.xxxx.stepdefinitions","com.xxxxx.xxxxx.runners.cucumber"},
    plugin = {"pretty", "com.epam.reportportal.cucumber.StepReporter","com.epam.reportportal.cucumber.ScenarioReporter"}
    )
    Expected behavior
    Report portal should generate the necessary output

Actual behavior
It is giving the exception as above

Dependency versions
Include version info of the following libraries: client-java, agent-java-cucumber
java version : openjdk version 18.0.1
testng version : 7.1.0
cucumber version : 7.18.0
report portal maven pom dependency used

		groupId: com.epam.reportportal
		artifactId: agent-java-cucumber6
		version:5.1.0-RC-3

Additional context
used all the reportportal properties from the report portal user profile.

@vinay-kabbe vinay-kabbe added the bug Something isn't working label Sep 26, 2024
@vinay-kabbe
Copy link
Author

this is a blocker for me , please help

Please also let me know here , if you need any more info

@HardNorth HardNorth transferred this issue from reportportal/agent-java-cucumber Nov 19, 2024
@HardNorth
Copy link
Member

@vinay-kabbe I see 2 issues here:

  1. Looks like you are pointing on wrong URL. Please check reportportal.properties file for correct rp.endpoint value.
  2. You are using too old version of the agent, please update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants