Forum Discussion

travislaborde's avatar
14 years ago

noob question about testing the speed of a web page

Hello, I'm a new user of loadUI and it looks like a really great tool. I am struggling with the basics.

I can't seem to find how to simply measure "how many hits per second/minute/whatever" a page can reliably serve. Probably I'm not understanding the available generators or satistics.

I have created two pages locally. One simply returns "OK" while the other waits for 10 seconds and then returns "OK." So that of course one page would be able to handle 10x the load in a given time.

I'm trying to setup a scenario like this:

1) run the test for a predefined period of time (say 5 minutes)
2) one load generator forked to two web page runners. one hitting the fast page and one hitting the slow page
3) see that the fast page served many more requests during that time period than the slow page did.

Currently, the only indication I have that one page is faster than the other is that I can look at the "Average" statistic and see that one is much higher than the other. And even though both start and stop at the same time, loadUI makes it look to me like both pages had the same number of requests and the same number of completed responses. This seems to me like it cannot be.

Any help or advice would be greatly appreciated.
Travis
  • Hi Travis!

    The Statistic that you want to look at is probably Completed Requests per second .

    A Generator Component will send trigger messages until the test is stopped, but a Runner Component will continue to process any running requests after the test has been stopped.

    Does this make sense to you?


    Regards

    Henrik
    SmartBear Software