TestExecute and Jenkins (Test Result)
Current I'm using the TestComplete plugin on Jenkins to execute a pipeline with tests being executed using TestExecute.
And I use the Jenkins API to get the JSON with the results, parse and store that in a Database, where I want to create a live dashboard.
The API is not getting the error message return from the TestExecute as the image:
I'm wondering if and how it's possible to fix that because the console of Jenkins receives the correct return. Does someone have any clue about that?
Also, I want to know if it is possible to return a "custom" message instead of the TestExecute default messages?
The idea was returning a customized message that makes clear where the test stopped without having to access the test report.
If I understand it properly, the Jenkins plugin for TestComplete/TestExecute is that it builds a wrapper around the command-line execution of tests via TestComplete/TestExecute. The command-line only returns certain exit codes based upon the execution. The actual error message, warning, etc., is not included in that return. So, a short answer to your question, as it stands right now, I don't think there is a way to get the actual error message that caused a failure.