Forum Discussion

biiincheeen's avatar
biiincheeen
Occasional Contributor
14 years ago

[Res.] Same execution time, same AVG, but different count

Dear Loadui community,

I am recently testing a webservice and a REST (OData) service with equal functionality concerning their performance.
I did the test for the WS and the REST service simultaneously (so one Project, with 2 Testcases: One for the WS and one for the REST service).

The Load and the execution time are the same.
Nevertheless Loadui send a lot more requests to the Webservice, than to the REST-Service. As far as I got the function of the fixed Load component right, it is ensuring, that loadui send a constant load to the service. Due to this, I would have expected, that the RESt service is just a lot slower than the Webservice.

However, whatching my report, it displayed that the Min, Max and AVG response time of the Webservice and the REST-service are not outstanding different.
I repeat the test several times with the same result. I also executed the Webservice and the OData service serperatly, nevertheless, the webservice could get a lot higher count with similar response time and same load.
I am very confused, how is it possible, that the count can be so different, but the response time is similar? It seems to me, that I missunderstood some concept of the loadui enviroment. Can somebody see my error in reasoning?

2 Replies

  • Hi!

    The Fixed Load Component does maintain a constant load on the server, if we define load as number of simultaneous requests. As a consequence, the Fixed Load Generator will trigger requests more frequently if the server can handle them fast (and vice versa).

    It seems that what you really want to use is one of the other components, for example the Fixed Rate Generator, which will trigger X number of requests per second/minute no matter what.

    Read more on these generators and the concept of load generation here:
    Fixed Load Generator
    Fixed Rate Generator
    Load Testing the Post Office

    Hope this answers your concerns

    Henrik
    SmartBear Software