reportportal / agent-java-cucumber6

Cucumber JVM version [6.0.0; ) adapter
Apache License 2.0
9 stars 5 forks source link

Report portal service launch error #49

Open vinay-kabbe opened 2 months ago

vinay-kabbe commented 2 months ago

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 commented 1 month ago

this is a blocker for me , please help

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

HardNorth commented 1 week ago

@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.