Xray - mstest / VSTest compatibility

Thomas Fresneau April 17, 2019

Hi,

We have a suite of C# tests that are run with vstest.console.exe. I'm wondering if XRay can parse the trx result files generated? I've tried setting up the TeamCity plugin and created a build step "Results Import Task", but cannot find any format that would match.

If I select Xray JSON and give a trx file path in the build step configuration, I get the following error during execution:

java.util.concurrent.ExecutionException: com.xpandit.xray.exception.XrayClientCoreGenericException: Unable to confirm Result of the upload..... Upload Failed! Status:400 Response:{"error":"Server Error - Unexpected token < in JSON at position 0"}

Thank,

Thom

 

 

1 answer

0 votes
Inês Silva
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.
May 14, 2019

Hi Thomas,

Sorry, but Xray only supports the formats described here. To be able to import the results to Xray, you should convert to one of the expected formats.

Best Regards,

Xray Team

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events