Forum Discussion

ITAbteilung's avatar
ITAbteilung
Contributor
13 years ago

Save Mockup-Responses externally

Dear Smartbear,

one of our mockups uses a great amount of (very long) responses that are - except of the values - identical. SoapUI stores all of these responses in a single xml file. That leads to bad maintainability, especially when editing merge conflics.
Is there a Option/Plugin/Extension that allows to save and load the responses from single files, i.e. that does not save all responses into the same file?

Otherwise we are forced to split manually (by script) each time before checking in, and unite manually (by script) before loading it in SoapUI.

Thanks in advance,
Pat
  • Hi Erik,

    thanks for you answer. We already use composite projects, but we have a lot of different responses to the same METHOD. Each method is represented as one xml file, and some of these files are getting too large. In other words: the project is "not composite enough".
    Any other ideas?

    Thanks,
    Pat
  • Hi,

    in that case you could create a property-expansion to replace the response xml of your mockresponse;

    ${= new java.io.File( "Response1.xml" ).text }

    Would that work?

    regards!

    /Ole
    SmartBear Software