Powershell to import TestNG results in Xray using Rest

Krishnanand Nayak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2018

Need help with the powershell that we are using to update a test execution after selenium execution is complete on bamboo

We use the example here : https://confluence.xpand-it.com/display/XRAY/Tutorial%3A+using+PowerShell+scripts+for+Continuous+Integration#Tutorial:usingPowerShellscriptsforContinuousIntegration-SubmitJUnitresults

Xray Rest API: /rest/raven/1.0/import/execution/testng

gives the following error:

"The remote server returned an error: (401) Unauthorized."

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2019

Meanwhile, have you fixed that error?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events