Astr0x
16 years agoOccasional Contributor
How to do a iteration of a set of elements in a test request xml using SoapUIPRO
Hi, I am currently evaluating on the features of SOAP UI PRO 3.5.
Currently , I have a scenario here that I would like to seek advise on iteration on a set of elements in a test request xml file.
Please refer to the scenario below:
Example, I have retrieved a set of records using the datasource steps.
For now, let's just say we have 3 records.
These records contain employeename, companyname and company address fields values.
Now, I would need to transfer this values to my test request.
Assuming, my test request will only have a set of elements as shown below:
employeename1 value
companyname1 value
company address1 value
How do I do a iteration for my 2nd and 3rd record with the same set of elements as shown above in the same test request dymanically? Any SOAPUI PRO features I can use from?
The full test request xml should look like this after iteration to fire a request to the service provider:
//record 1
employeename1 value
companyname1 value
company address1 value
//record 2
employeename2 value
companyname2 value
company address2 value
//record 3
employeename3 value
companyname3 value
company address3 value
Please advise. Thanks
Currently , I have a scenario here that I would like to seek advise on iteration on a set of elements in a test request xml file.
Please refer to the scenario below:
Example, I have retrieved a set of records using the datasource steps.
For now, let's just say we have 3 records.
These records contain employeename, companyname and company address fields values.
Now, I would need to transfer this values to my test request.
Assuming, my test request will only have a set of elements as shown below:
How do I do a iteration for my 2nd and 3rd record with the same set of elements as shown above in the same test request dymanically? Any SOAPUI PRO features I can use from?
The full test request xml should look like this after iteration to fire a request to the service provider:
//record 1
//record 2
//record 3
Please advise. Thanks