cancel
Showing results for 
Search instead for 
Did you mean: 

TestRunner: Supressing error details output

SOLVED
Highlighted
Frequent Visitor

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.

  

1 ACCEPTED SOLUTION

Accepted Solutions
Community Manager

Re: TestRunner: Supressing error details output

Hi @vorokai,

 

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.

---------
Tanya Gorbunova
SmartBear Community Manager

Join the September Hub-bub to show off, learn and win
2 REPLIES 2
Community Manager

Re: TestRunner: Supressing error details output

Hi @vorokai,

 

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.

---------
Tanya Gorbunova
SmartBear Community Manager

Join the September Hub-bub to show off, learn and win
Moderator

Re: TestRunner: Supressing error details output

Hi @vorokai,

 

What stage are you on now? Does the behavior persist with the new version? 

Don't hesitate to contact the support team and let us know your updates.


Olga Terentieva
SmartBear Assistant Community Manager

New Here?
Join us and watch the welcome video:
Join the exciting event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win