TestRunner: Supressing error details output
Hello everyone, I have faced a problem using TestRunner functionality
In short, after executing testcase and printing "TestCaseRunner Summary" report, it also outputs errors that were detected by the testcase during execution.
The problem is that I do not need those errors in main output log.
Searching through ReadyAPI documentation I'v found a description about TestRunner "-I" option:
it will ignore any error during testCase execution, but it does not abort testCase if error occures.
My goal is to supress those errors at the end of the execution.
Version of ReadyAPI is 2.7.0
Visually it looks like this:
INFO [SoapUIProTestCaseRunner] TestCase [T1] finished with status [FAIL] in xxx ms ReadyAPI 2.7.0 TestCaseRunner Summary ----------------------------- Time Taken: xxxxx ms Total TestSuites: 0 Total TestCases: 5 (1 failed) Total TestSteps: 11 Total Request Assertions: 3 Total Failed Assertions: 2 Total Exported Results: 15 //// FROM HERE ERROR DETAILS ARE POSTED BY TESTRUNNER //// [Comparison failed.] Status: FAIL Time Taken: 1142 Size: 129 Timestamp: xxxxxxxx TestStep: Read file 1 ----------------- Messages ------------------------------ [result] Comparison failed. ----------------- Properties ------------------------------ HTTP Version: HTTP/1.1 Endpoint: xxxxxx Method: POST StatusCode: 200 URL: xxxxxxxx ---------------- Request --------------------------- Connection: [Keep-Alive] Host: [xxxxx] ..... POST xxxxxx HTTP/1.1 Accept-Encoding: gzip,deflate ..... ---------------- Response -------------------------- Transfer-Encoding: [chunked] Server: [openresty] Access-Control-Allow-Origin: [*] ..... "some error response"
I need just a summary report but not those errors details.
Hi ihorstep,
Could you please check if you see the same behavior in the latest ReadyAPI version?
https://support.smartbear.com/downloads/readyapi/
If the issue persists, please contact the ReadyAPI Support Team to investigate this behavior.