Forum Discussion

thiruk's avatar
10 years ago

Dynamic execution of test cases

Hi All,
i have a scenario where two test case steps need to sync in a single test case .

1.test case step 1 response contains two values, let us say value 1 ,value 2..etc.
it can be increased to any number of values in the future.

2. test case step 2 need to execute no.of times which is equals to the count of values coming from the test case step 1 response(2 in this case).
test case step 2 input is corresponding value for the current iteration of values (value 1 for 1st iteration ,value 2 for the second iteration)

can we do sync in between these test case steps in a single test case?

ex :

test case step 1 response : value 1,value 2,value 3.(execution completed)
test case step 2 needs to execute 3 times ,
for the first iteration test case step 2 input is value 1 ,
for the second iteration test case step 2 input is value 2 ,
for the third iteration step test step 2 input is value 3 ,...etc.

This solution needs to scalable to any number of values count?

is it possible to develop a solution with soapui?
if yes,plz help me to provide a solution?

Thanks,
Thiru.