Closed plokeshwar closed 9 months ago
what value are you passing in rp.attributes in report portal properties file?
You should go to your Report Portal instance and read logs from API-gateway and find requests with data that produce this error. Look like you start sending data with the size of more than 128 chars in attributes. This is not a problem with Report Portal or serenity-reportportal-integration. This is a sudden limitation and you should fix your data on tests execution.
You could also try this option in your code:
ReportIntegrationConfig.get().truncateNames(true)
what value are you passing in rp.attributes in report portal properties file?
I am not passing any attributes from reportportal.properties.
You could also try this option in your code:
ReportIntegrationConfig.get().truncateNames(true)
Let me try this.
@Invictum this looks to be occurring for Scenario Outlines with long scenario descriptions.
@plokeshwar I know it is been a while, but I cannot replicate the issue with the latest version 1.6.0. More likely it was ReportPortal limitation which is lifted now...
abandoned.
Suddenly, I started getting this error. Any help would be greatly appreciated.
19:30:16.058 [rp-io-63] ERROR c.e.r.utils.SubscriptionUtils - [109] ReportPortal Finish test item execution error com.epam.reportportal.exception.ReportPortalException: Report Portal returned error Status code: 400 Status message: Error Message: Incorrect Request. [Field 'attributes[].value' should have size from '1' to '128'.] Error Type: INCORRECT_REQUEST