Invictum / serenity-reportportal-integration

Serenity TAF integration with Report Portal
Apache License 2.0
20 stars 19 forks source link

Record data with Serenity.recordReportData().withTitle().andContents(); #180

Closed sumanguduru closed 1 month ago

sumanguduru commented 4 months ago

I'm seeking assistance with recording data into ReportPortal. I've been attempting to use the following steps to record some data into a report, but it doesn't seem to be transferring to ReportPortal:

Serenity.recordReportData() .withTitle("Request Decrypted") .andContents(decryptedRequest);

I am using version: 1.6.0 serenity version: 4.1.0

grey-rain commented 3 months ago

hi @sumanguduru ! it seems like you're trying to log data in a wrong way. Usually common logger is used without a need to call to static Serenity classes. I found the following on ReportPortal website: https://github.com/reportportal/client-java/wiki/Nested-steps

I hope it helps.

grey-rain commented 1 month ago

Closed, as it is abandoned.