reportportal / agent-net-vstest

Logger extension for VsTest
Apache License 2.0
8 stars 10 forks source link

Cannot start test item with empty name #37

Closed nvborisenko closed 3 years ago

nvborisenko commented 4 years ago

From slack https://reportportal.slack.com/archives/C2X65AXFB/p1579749857003500:

The results are showing up in RP but the test execution is not finishing, and I'm getting the below error message. I'm using NUnit 3.12 and NUnit3TestAdapter 3.16.1 and ReportPortal.VSTest.TestLogger 2.3.9. Is it possible that the agent is not compatible with RP5? Thanks!

Finishing to send results to Report Portal...System.AggregateException: Cannot finish launch due finishing of child items failed. (One or more errors occurred. (Cannot finish test item due starting item failed.))
 ---> System.AggregateException: One or more errors occurred. (Cannot finish test item due starting item failed.)
 ---> System.Exception: Cannot finish test item due starting item failed.
 ---> System.AggregateException: One or more errors occurred. (Unexpected response status code. POST https://reportportal.platform.wx-d.net/api/v1/dotnet-samples/item
Response Body: {"errorCode":4001,"message":"Incorrect Request. [Field 'name' should not contain only white spaces and shouldn't be empty. Field 'name' should have size from '1' to '1,024'.] "})
nvborisenko commented 3 years ago

Cannot reproduce.