Loop using DataSource Directory Type Doesn't Seem to Be Working
Hi,
i'm sure you're all sick of reading my posts, especially the questions that appear straightforward. I've been trawling the forum but I can't quite find the answer I need and I'm sure the answer is simple.
My Test Case has the following:
Datasource (Directory) type reading text files from the directory (FileContents property contains the flat files contents) REST POST step (posts the contents of the FileContents property) REST GET step (queries the database checking the POST worked ok) Datasource Loop (Datasource step = Datasource (Directory), TargetStep = REST POST step)
NOW - I have 3 files in my directory, if I run the Datasource (with ZERO rows) - I can see the contents of the 3 files
I was expecting as there are 3 files in my directory, that the loop would execute the test 3 times, once for each file - HOWEVER - this is NOT happening - the test is executing only once.
My reading indicates that what I think I've setup is correct - but I'm failing to see where the problem is - can anyone please advise?
I need to setup my testcase so that it executes for each file found via the Directory Datasource.
Many thanks to all!
richie