Forum Discussion

666666's avatar
666666
Occasional Contributor
11 years ago

maven-soapui-plugin: Can I log server responses

Hello all,

I am running a set of test cases using SoapUI's maven plugin. I am combining SoapUI tests with Selenium WebDriver ones. For some steps I need to verify the server response contains a certain string.

Is there a way for this to be achieved using the plugin? Outputting server responses in either the console or some log file would suffice.

Kind regards,
IG

4 Replies

  • In my experience with using the Maven plugin, the test result and output also gets logged to a .txt file in the workspace. I am using the PRO version of soapui though and that might explain why, since I use the maven plugin option: <exportAll>true</exportAll> , which may or may not be a PRO option ( I am unsure).
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    hi, the exportAll parameter is also available in the open source maven plugin
    when set to false, only details of failing steps are stored in the txt file (attachment of soap response are also stored)
    when set to true, all step are logged
  • 666666's avatar
    666666
    Occasional Contributor
    Thank you all. Indeed, the exportAll parameter causes generation of text files that contain the server response.