Forum Discussion
omatzura
17 years agoSuper Contributor
Hi Li,
Just so I understand your setup: do you want to run a request for each row in your data-file? In that case you are on the right track;
1) Create a DataSource with the 3 properties, then create rows in your file containing these 3 values separated with a comma.. for example:
John,Doe,John the Doe
Max,Roach,Cockroach
etc..
2) Create a request that contains property expansions for these properties.. for example if your request xml contains
..
..
..
Then you could enter
${DataSource#firstName}
${DataSource#lastName}
${DataSource#displayName}
(or create these with the corresponding wizards in the outline editor: http://www.soapui.org/userguide/functio ... zards.html)
3) Create a DataSource loop step with the DataSource step set to the one created above and the Target Step set to the request step
-> For each row in your external file, soapUI Pro will execute the request with the values from the file..
Hope I understood you correctly, just post again otherwise :-)
regards!
/Ole
eviware.com
Just so I understand your setup: do you want to run a request for each row in your data-file? In that case you are on the right track;
1) Create a DataSource with the 3 properties, then create rows in your file containing these 3 values separated with a comma.. for example:
John,Doe,John the Doe
Max,Roach,Cockroach
etc..
2) Create a request that contains property expansions for these properties.. for example if your request xml contains
Then you could enter
(or create these with the corresponding wizards in the outline editor: http://www.soapui.org/userguide/functio ... zards.html)
3) Create a DataSource loop step with the DataSource step set to the one created above and the Target Step set to the request step
-> For each row in your external file, soapUI Pro will execute the request with the values from the file..
Hope I understood you correctly, just post again otherwise :-)
regards!
/Ole
eviware.com
Related Content
- 4 years agoryanterronez
- 3 years agoMoUddin
- 3 years agoLucian
- 4 years agobflynnbyx
- 8 years agoAman85