Apology of being confusing. I am sure I am not using the right terminologies.
Question1. You have some multiple testdata records helds in either a single file or multiple files (one record in each testdata file) on your laptop. Is that right?
[MIS3]
Yes. In my SoapUI, I have multiple API calls (XML scripts) to update tables in several external systems. Each API has it own endpoint. If there is a project which I have to update more than one external system, I would execute the XML scripts one after the other.
For now, I have a project which I have to send the same XML script to the same endpoint 1,000 times with only one variable (subscriber-ID). I am hoping there is a way so SoapUI will read a external file and sends the XML request 1,000 times.
Question2. You have a single api endpoint which you want to send the content in these testdata files. Is that right?
[MIS3] Yes, one single endpoint in this new project.
Question3. Youve been given a wsdl file to help you setup the required tests. Is that right?
[MIS3]
This is what I did. I created a new project in SoapUI, then enter the wsdl. SoapUI will then create all the API calls under this project. I would see a lot of "Request 1" in each API. I would modify the Request 1 for my purpose.
All these calls (mostly XML but a few are in JSONS) are working.
Question4.
You mention a wsdl, so this is a SOAP request. Is that right?
[MIS3] I think so. Please refer to my response of Question3 above.
Question5. The content of your testdata defined records. Is it whole xml instances (which youve been told is the payload for you SOAP requests) or have you just got a list of attribute values in your testdata that has been mapped to xml tags within a predefined payload?
[MIS3]
Not sure what is an instance. If you are referring to the payload (XML script), they are all working. I would just replace the variable (in this case, subscriber-ID) and click Send.
Question6. What level of setup and automation is required? Do you want a single testcase to loop through your testdata (which requires groovyscript) or is it acceptable for individual testcases, 1 testcase for each testdata permutation defined?
[MIS3]
Yes, a single testcase to loop through my testdata.
If there are 5 records I have to update, I would execute the XML script 5 times. However, this time I have to update 1000 records, so, I am hoping that there is a way (a loop) to do this more efficiently.
I will research on Groovyscript. Is there any online tutorial for this?