12 years ago
Dynamic list of test steps in test case
I have a list of soap RequestTypes in file, e.g.:
RetrieveFList
RetrieveSuperUserList
RetrievePower
UpdateNotes
RetrieveColors
RetrieveSuperUserList
RetrievePower
UpdateNotes
...
This list is generated dynamically according to some requirement, so each test can looks differently.
My problem is that this list can be very long, e.g. 1000 requests in particular order, so I cannot just hardcode these requests manualy in the SoapUI GUI and run it, so I ask how can I read the requests from text file or excel and then create Soap requests dynamically from SoapUI? Can the list of test steps be dynamically created?
Each soap request looks similar to this:
My script has to proceed this list of requests and choose proper xml soap request and send it to server. How can I achieve it?
RetrieveFList
RetrieveSuperUserList
RetrievePower
UpdateNotes
RetrieveColors
RetrieveSuperUserList
RetrievePower
UpdateNotes
...
This list is generated dynamically according to some requirement, so each test can looks differently.
My problem is that this list can be very long, e.g. 1000 requests in particular order, so I cannot just hardcode these requests manualy in the SoapUI GUI and run it, so I ask how can I read the requests from text file or excel and then create Soap requests dynamically from SoapUI? Can the list of test steps be dynamically created?
Each soap request looks similar to this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="com.xxx.yyy.zzz">
<soapenv:Header/>
<soapenv:Body>
<com:GetData>
<com:iRequest><![CDATA[<?xml version="1.0" standalone="yes"?>
<RequestsSet>
<Requests>
<RequestType>RetrieveFList</RequestType>
<Parameters>
<Name>LIST1</Name>
</Parameters>
</Requests>
</RequestsSet>
]]></com:iRequest>
</com:GetData>
</soapenv:Body>
</soapenv:Envelope>
My script has to proceed this list of requests and choose proper xml soap request and send it to server. How can I achieve it?