Get test fail details

Hello. Question is: Hot to get text from screenshot below using API?

1
2 comments

Hi,

To get all the text in failing tests of a build you can use the URL http://<server>/app/rest/testOccurrences?locator=build(id:<build_id>),status:FAILURE&fields=testOccurrence(details)

To get only that specific text of that specific test, simply adapt the locator to search for that specific test.

1
Avatar
Permanently deleted user

Thank you!

0

Please sign in to leave a comment.