Forum Discussion

Anomander's avatar
Anomander
New Contributor
6 years ago

SOAP UI Open Source/ Sequential xml request

During webservice testing I have met situation that previously was resolving with LoadUI. Now I need to deal with Soapui only.

XML contains static and variable data. I need to submit consecutive requests for approx 100 XMLs.

Variable are for example:

XML#1 has <ID>1</ID>  ; <TYPE>Table</TYPE>

XML#2 has <ID>23</ID> ; <TYPE>APPLE</TYPE>

etc...

other elements of XML request stay unchanged. 

All above values are known upfront can be saved in CSV, copy pasted...

So, how to complete this task?

3 Replies

  • Lucian's avatar
    Lucian
    Community Hero

    Hey,

     

    SoapUI OS doesn't have an in-built CSV/ datasource reader. You will probably need to create a groovy script for it.

    • Anomander's avatar
      Anomander
      New Contributor

      Hello,

      Ok, then I could easily put into text or script, simple copy paste operation. So, groove is the only approach?

      • Lucian's avatar
        Lucian
        Community Hero

        Well... I think it would be the simplest, yes...