Want to see whole Json response of API while running through Jenkins
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Want to see whole Json response of API while running through Jenkins
When I do console output, I only see the request URL and Response status code in jenkins. Do I have to do anything more to see full Raw request and Raw response in Jenkins?
Currently, I'm getting. I need the full raw request and raw response.
Sending request: POST xx/xxx/xxx HTTP/1.1
21:18:36,317 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 201 21:18:36,317 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive indefinitely 21:18:36,356 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] has status VALID 21:18:36,358 INFO [SoapUITestCaseRunner] Assertion [Script Assertion] has status VALID
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SoapUI does not dump this info to the console.
I am assuming you are using the Maven plugin? If yes, then you can configure the plugin to generate separate log files for each request; something like:
<configuration>
<outputFolder>${project.basedir}/target/readyapi-reports</outputFolder>
<exportAll>true</exportAll>
...
</configuration>
Alternatively, if you are running the tool from commandline, then you can get the same output by using the -af switches:
testrunner.sh -a -f target/readyapi-reports ...
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
@SiKing, thank you for the great instructions!
@henil_shah, have you had a chance to try the above suggestions? Does this answer your question?
We are looking forward to hearing from you.
Olga Terentieva
SmartBear Assistant Community Manager
