How to establish the cause of termination of a test through the REST API?
I'm in the process of automating our testing cycle. I would like to implement different (post-run) handling when any test is aborted by a user; it's this scenario that I need to sense.
My tool is currently calling this API every minute, looking for a set of values returned in the RunState field, to sense the end of a test. It works.
What I've just noticed is that the returned JSON object (in my case) also includes a RunSLAStatus field, which is shown in the example on the above page, but isn't documented elsewhere (well, that I can see). I'd have thought it'd be described in this page , but, no.
In the environment I'm working in (incredibly, absent a system to test, for at least another week), my tool currently only captures:
"RunSLAStatus": "Not Completed"
which is the same in the example mentioned above. The thing is, I don't know what other values might appear here, and if this one is actually a reliable indicator of the situation for which I'm looking.
I would truly appreciate assistance here.