13 years ago
Functional Testing with SoapUI with Multi-Variable Data
I want to do some testing and want to know if SoapUI can handle generating requests where elements can have more than set of values. For example, if I wanted to send an XML about a list of books (where the number of books can vary), the body might look like:
Sometimes I will want two books, others three, sometimes even none - I just want one template that can cover any number of elements in this list. Is there a way to generate functional testing using Excel or CSV (or, another data format) for situations where there element lists (that can vary in total number of elements)? Either through Groovy or SoapUI pro? I can't seem to find anything on SoapUI's site about this type of situation, although it seems like it would be a common one.
<bookList>
<book>
<title>Little Red Riding Hood</title>
<author>B. B. Wolf</author>
</book>
<book>
<title>Humpty Dumpty</title>
<author>M. Goose</author>
</book>
<book>
<title> Cinderella </title>
<author>F. G. Mother</author>
</book>
</bookList>
Sometimes I will want two books, others three, sometimes even none - I just want one template that can cover any number of elements in this list. Is there a way to generate functional testing using Excel or CSV (or, another data format) for situations where there element lists (that can vary in total number of elements)? Either through Groovy or SoapUI pro? I can't seem to find anything on SoapUI's site about this type of situation, although it seems like it would be a common one.