Baharul
6 years agoOccasional Contributor
Loop over testStep in soapUi testSuite
Hi All,
I makingone testSuite where I need to repeat one testStep multiple time. Again repeat count depends on output of previous step where getting response in some JSON string. Need to get the iteration count of of response document and loop-over for 2nd testStep.
Kindly help ifyou can get something.
As per below pic I needto do loopover policyList based on the response of Add step
Thanks
Baharul Islam
Hi Baharul,
In your K Loop, where you are running the Request, just after the execution, write your code to save the response somewhere so that you can use in future, either in Properties step or excel file.
Refer link on how to store Response to Excel file or notepad How to save response data in Excel