One REST request step for running multiple variations
Hi, I'm pretty new to SoapUI Pro, been using it for about 2 months now. I like it but I'm sad to say I'm already staring to feel a little limited by it. Hopefully it's just me not utilizing the tool well enough, so here's the question:
Is it possible to have a single REST request test step run multiple variations of a given request, by passing it the variables needed for headers, attribute fields in the request body each?
The idea behind this is that I would only have one test step to edit if and when the developers changes some structure or functionality in the api. As right now I have quite a few very similar test steps with only small alterations between them, but if there where to come a change in the API I risk having to edit over 100 tests manually if not more.
Thanks!
- You should be able to use data driven approach by using the variables as you requested. The same request step can be repeated for different data by having Datasource and loop it thru.
You should be able to find videos, say:
https://www.youtube.com/results?search_query=ready+api+data+driven+testing