We're running Bamboo 3.4.4, and we can't find a way to get the class/method name information from a failing test via the REST API.
We're using:
, but the most information we get back from this is:
<testResults fixed="0" existingFailed="0" newFailed="46" failed="46" successful="149" all="195" expand="allTests,successfulTests,failedTests,newFailedTests,existingFailedTests,fixedTests"> <allTests size="195" max-result="195" start-index="0"/> <successfulTests size="149" max-result="149" start-index="0"/> <failedTests size="46" max-result="46" start-index="0"/> <newFailedTests size="46" max-result="46" start-index="0"/> <existingFailedTests size="0" max-result="0" start-index="0"/> <fixedTests size="0" max-result="0" start-index="0"/> </testResults>
Are we doing something wrong, or is this the most information that can be exposed from the REST API around test information?
I realise this is an old post. But just in case someone else is having the same problem...
* The expand parameters look incorrect. It should be "testResults.failedTests".
* Also, you can only get test results at the JOB level. Not at the plan level. (The above example is correct, but often a common mistake)
Cheers,
Brydie
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.