When SpecFlow client connects to the ReportPortal it cannot pass authorization. The exception is following:
System.AggregateException: One or more errors occurred. ---> System.Exception: Cannot finish launch due inner items failed to finish. ---> System.AggregateException: One or more errors occurred. ---> System.Exception: Cannot finish test item due starting item failed. ---> System.AggregateException: One or more errors occurred. ---> System.Exception: Cannot start a test item due parent failed to start. ---> System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: Unexpected response status code. POST http://{redacted url}/api/v1/bbsw_aonia/launch
Response Body: {"error":"invalid_token","error_description":"7853c7a9-7f27-43ea-835a-cab01355fd17"} ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at ReportPortal.Client.Extentions.HttpResponseMessageExtension.VerifySuccessStatusCode(HttpResponseMessage httpResponseMessage) in C:\projects\client-net\ReportPortal.Client\Extentions\HttpResponseMessageExtension.cs:line 10
--- End of inner exception stack trace ---
at ReportPortal.Client.Extentions.HttpResponseMessageExtension.VerifySuccessStatusCode(HttpResponseMessage httpResponseMessage) in C:\projects\client-net\ReportPortal.Client\Extentions\HttpResponseMessageExtension.cs:line 19
at ReportPortal.Client.Service.<StartLaunchAsync>d__14.MoveNext() in C:\projects\client-net\ReportPortal.Client\Service.Launch.cs:line 58
The URL is accessible from the client machine.
I followed the Specflow client setup instructions and the token 7853c7a9-7f27-43ea-835a-cab01355fd17 is the one listed there. Can you advice how can find what access token I should use for a specific project?
When SpecFlow client connects to the ReportPortal it cannot pass authorization. The exception is following:
The URL is accessible from the client machine.
I followed the Specflow client setup instructions and the token
7853c7a9-7f27-43ea-835a-cab01355fd17
is the one listed there. Can you advice how can find what access token I should use for a specific project?Current ReportPortal versions:
Specflow client version: 1.5.1