11 years ago
Referencing a list
Hello *,
I am new to SoapUI and having to teach myself on the job (no one else knows it here). Currently I have a basic program for deleting an object in my system:
The "Delete Folder" stage can delete one defined object at a time:
I have comma delimited list of folder names to go inside the "folderName" parameter, but i'm not sure how to automate this and there are too many to keep manually replacing this parameter (the call can only delete one at a time)!
Is it possible to somehow have this parameter automatically changed and run through the list until empty? I did search around, but I couldn't find anything specific to what I wanted to do...
Thank you all!
I am new to SoapUI and having to teach myself on the job (no one else knows it here). Currently I have a basic program for deleting an object in my system:
Properties
Login (soap)
Groovy script (grabs session headers)
Property transfer
Delete Folder (soap)
Logout (soap)
The "Delete Folder" stage can delete one defined object at a time:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:ws.domain.com">
<soapenv:Header>
<urn:SessionHeader>
<urn:sessionId>${Properties#session}</urn:sessionId>
</urn:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<urn:deleteFolder>
<urn:folderName>ee_p15601_tues_wk02</urn:folderName>
</urn:deleteFolder>
</soapenv:Body>
</soapenv:Envelope>
I have comma delimited list of folder names to go inside the "folderName" parameter, but i'm not sure how to automate this and there are too many to keep manually replacing this parameter (the call can only delete one at a time)!
Is it possible to somehow have this parameter automatically changed and run through the list until empty? I did search around, but I couldn't find anything specific to what I wanted to do...

Thank you all!