Closed ansonliao closed 2 years ago
Hi @ansonliao
Are you trying to send data to the demo report portal server or is it one of your own (hosted) report portal servers?
You should see error messages in the console. Try searching the console for Courgette Report Portal Service
Hi @prashant-ramcharan ,
I tried to bot of demo report portal server
and my company's private report portal service (so I can't display it public).
Actually, the Intellij console has no error output with the Courgette Report Portal Service
, that's my confusing issue, otherwise I can provide some error log here to check.
I assume you already have this in your Courgette runner and the spelling of reportportal
is correct?
@CourgetteOptions(
...
plugin = { "reportportal" },
cucumberOptions = @CucumberOptions(
// cucumber options here
)
)
And the data is sent fine to your companies report portal server?
Hi @prashant-ramcharan
@CourgetteOptions
.@ansonliao Just tried on https://demo.reportportal.io
and it worked.
What version of Courgette are you using?
Hi @prashant-ramcharan
My Courgette version is 5.12.0
implementation('io.github.prashant-ramcharan:courgette-jvm:5.12.0')
For my another JS testing project also can send the data to https://demo.reportportal.io
, the snippet of the reportportal.properties
is:
token: process.env.RP_TOKEN || "{RP_ACCESS_TOKEN}",
endpoint: process.env.RP_ENDPOINT || "https://demo.reportportal.io/api/v1",
launchName: "xxxxxx",
projectName: "xxxxxx",
@ansonliao I suggest try adding your reportportal.properties
to src/test/resources
in the example project: https://github.com/prashant-ramcharan/courgette-jvm-example
Please provide a Github link or project if you want me to look into this further for you as I cannot replicate the issue with sending data to report portal (https://demo.reportportal.io)
Hi @prashant-ramcharan , I will update you when I upload my project to GitHub. Thanks.
Hi @prashant-ramcharan
I tried the same code in another Mac machine without any code change (just updated the UUID of reportportal.properties
), it's working to send the data to the report portal (I am now using the https://demo.reporportal.io),
I will try the machine which keep out of work before and keep the update to you.
Hi Ram, I would like to send the testing data to the ReportPortal, the tests are completed, but no data send to the ReportPortal. By the sam configuration of
reportportal.properties
in others projects can send the data to the ReportPortal.The
reportportal.properties
is:Could you help to advise how to solve the problem?
Thanks.