Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
If test not passed, place its 'responseBody' at the end of output as long as condition is set #1574
Hi. I successfully use newman for testing API. Our tests are placed on ES2 server in TeamCity CI.
We have more than 200 requests.
And when 500 returned, response revealed in build.log directly where this request is placed in the order of all requests blanket, and to see quickly info what happened devs need to scroll and search where exactly this request to see an error log in response json.
Could we place this somehow at the end where located the result table, below with failed asserts?
@connorsadlervelo thanks! But if get you right, just to know:
All I need it's to have response output on the bottom of build.log and in order not to search the resposne body of the failed request in long long stack race
It depends of folder and collection;
and then you see the response body in build log if (for instance) 500 server error occurred