Forum Discussion

karthe's avatar
karthe
Occasional Contributor
12 years ago

Script for Multiple XMLs

Hi Folks

I am using Soap UI Free Version. I have huge regression test cases under Test suites. In our project, Test cases needs to be maintained for reference and tracking... So its tedious to save multiple XML request and response in local.

I have groovy script but it helps to save the response alone and needs to be renamed for every cases.

Can someone please guide me how to save the multiple xml requesst and response in local drive automatically.

Thanks
Karthe

1 Reply

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    Just trying to understand the case.

    I believe that the project contains test suites -> test cases -> test steps. Would it require to separately save the requests xml files?

    As you mentioned in the post, the responses can be saved using groovy script after the soap request test step. To avoid renaming, have a prefix for test response file and add timestamp to filename.

    Hope this helps.