Forum Discussion

debanjan's avatar
debanjan
Occasional Contributor
8 years ago

How can I send multiple requests (same request) by a for loop to the same WebService through SoapUI?

Hi Everyone,

I am pretty new to SoapUI tool. I am using SoapUI version 5.3.0 My Application have a couple of RESTful APIs. I have to send a request to the WebService in the form of a json request as below:

 

{
"app_key":"i8gAVDwcAq40n2kAv6Ox+w==",
"targetDB":"100",
"createNew": "true"
}

 

As of now I am able to send single request in each step and get back a satisfactory response as below:

 

<StartDataExtractResult xmlns="http://schemas.datacontract.org/2004/07/AriaTechCore" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<StatusCode>1</StatusCode>
<StatusText>success</StatusText>
<RequestNumber>68</RequestNumber>
</StartDataExtractResult>

 

My question is how can I send multiple requests (50, 100, 500) requests in a loop to the Web Server in 3 second time gap?

Any help/pointers will be very helpful.