Forum Discussion

stephen346's avatar
stephen346
Occasional Contributor
14 years ago

Fixed Rate Generator - seem to be sending too many requests

Hello,

Maybe I have a major miss understanding of how to set the rate to a vaild number for requests per second.

I am wanting to send 2 requests per second, I have the Fixed Rate Generator set to 2/sec. If seems to be send a much larger number of requests to the webservice.

I have a very simple test

This is just a test to test a login to a site and if it is vaild it returns a True.
Steps in the SoapUI world are as follows
Validate ( a single request)
Datasource - points to an excel file with 3000 vaild logins.
Test Request - this uses that datasource noted above
DataSource Loop - grabs the next login to try.

This is the test that I have pulled into LoadUI I do not have a postive number on the requests sent to the service, am I missing a counter that LoadUI may have to display this?

My Web guys are having some issues in giving me a postive way of seeing the requests that they are seeing but at rough quess 50 per sec or more.

What is it that I am not understanding?

Thanks for any help that you can provide.

Stephen

1 Reply

  • Hi,

    You should keep the DataSource TestStep (but make sure it is set to shared in its settings), and disable the Loop TestStep. Otherwise, each request made by the soapUI Runner will run through the whole soapUI TestCase, with loops and everything. Disabling the Loop TestStep will instead make each soapUI Runner request run one iteration of the loop (next soapUI Runner request will run the next iteration of the loop, and so on).

    Does my explanation make any sense?

    Regards

    Henrik
    SmartBear Software