Forum Discussion
Hi,
I've finally worked out what I was doing wrong.
The relevant help page is here for anyone else that hits this - but it doesn't mention an important point (that I think it's worth mentioning for anyone else who is SoapUI challenged.
I've found what I was doing wrong. My hierarchy is as follows:
Datasource (Directory) - fileContents property POST Request (publishing fileContents property) to the webservice Datasource Loop
NOW - my directory has 3 files in it currently. When I ran the Datasource, I'd specified '0' as the number of rows to get (where 0=maximum number of rows). So it returned 3 rows. When I'd specified '0', the loop didn't appear to work (the testcase only executed once).
When I set the number of rows to be returned in the Datasource as '1' (each file has 1 line) - then the testcase executed 3 times!
Sorry for wasting anyone's time - but hopefully this will help anyone else that is struggling with this.
Thanks,
richie
Glad you got it figured out and posted the solution!
Related Content
- 6 years agosanj
- 3 years agoMoUddin
- 3 years agoLucian
- 4 years agoMarkSchofer