Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to parse trx file from vstest.console bamboo

We are using 6.6.3. I see that others are using MSTest Parser. But it does not seem to be working for me. The location is where the file is located. and I specified the file name.


26-Apr-2019 14:23:56Starting task 'parse results' of type 'com.atlassian.bamboo.plugin.dotnet:mstest'
26-Apr-2019 14:23:56Parsing test results under C:\bamboo\xml-data\build-dir\xxx-FCT-JOB1...
26-Apr-2019 14:23:56Failing task since test cases were expected but none were found.

2 answers

Well, the servers were rebooted over the weekend, and with no changes, it worked today. I guess something changed, or I don't know what...but it worked. But thanks for your time.

0 votes
Jimmy Seddon Community Leader Apr 29, 2019

Hi Greg,

Something worth looking at, are you sure the test results file exists where you are looking for it? 

I only ask because my development team has moved where test results get output via the msbuild file in the past and I need to update the location the parser is looking, which generates log lines similar to what you have indicated above.

I hope that helps.


I am putting the file in that location and verified the file is in that location....the directory is correct and the file is there..

Jimmy Seddon Community Leader Apr 30, 2019

Hi Greg,

Ok I have two possible routes for you.  If you are using the MSTest Parser, you might be running into the same issue as reported here:

I took a look at my own environment and realized that we aren't acutually using the MSTest Parser task.  I'm using the NUnit Parser task who's configuration looks like this:


I hope one of those two options helps you resolve your issue.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

963 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you