Forum Discussion
SmartBear_Suppo
Alumni
12 years agoI just ran your project, and I did not see it loop.
Here's how it ran for me:
Test started at 2013-09-26 16:09:01.772
Step 1 [Start] OK: took 91 ms
Step 2 [Properties] OK: took 0 ms
Step 3 [GetInfoByZIP] OK: took 19339 ms
Step 4 [Loop] OK: took 57 ms
Step 5 [GetInfoByZIP] FAILED: took 669 ms
-> [Citi Name Match] Missing token [Bellevue] in Response
Step 6 [Loop] OK: took 3 ms
Step 7 [Finish] OK: took 70 ms
TestCase failed [Failing due to failed test step], time taken = 20229
And the failure makes sense since you are looking for a string "Bellevue" in the response. But your response is:
Thanks,
Michael Giller
SmartBear Software
Here's how it ran for me:
Test started at 2013-09-26 16:09:01.772
Step 1 [Start] OK: took 91 ms
Step 2 [Properties] OK: took 0 ms
Step 3 [GetInfoByZIP] OK: took 19339 ms
Step 4 [Loop] OK: took 57 ms
Step 5 [GetInfoByZIP] FAILED: took 669 ms
-> [Citi Name Match] Missing token [Bellevue] in Response
Step 6 [Loop] OK: took 3 ms
Step 7 [Finish] OK: took 70 ms
TestCase failed [Failing due to failed test step], time taken = 20229
And the failure makes sense since you are looking for a string "Bellevue" in the response. But your response is:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetInfoByZIPResponse xmlns="http://www.webserviceX.NET">
<GetInfoByZIPResult>
<NewDataSet xmlns="">
<Table>
<CITY>San Diego</CITY>
<STATE>CA</STATE>
<ZIP>92122</ZIP>
<AREA_CODE>619</AREA_CODE>
<TIME_ZONE>P</TIME_ZONE>
</Table>
</NewDataSet>
</GetInfoByZIPResult>
</GetInfoByZIPResponse>
</soap:Body>
</soap:Envelope>
Thanks,
Michael Giller
SmartBear Software