Forum Discussion

mitchellt's avatar
mitchellt
Occasional Contributor
10 years ago

Setting ratio of requests when load testing

Hi,

Newbie here.

Is there anyway to set the ratio of requests that are sent during load tests?

Some web service methods are called more than others so I am trying to simulate a real load.

Thanks

2 Replies

  • mitchellt's avatar
    mitchellt
    Occasional Contributor
    For Example:

    In 1 minute on average:

    1 request to web method x
    5 requests to web method y
    24 requests to web method z

    So in one minute I would expect 30 requests to be made in total.

    The idea in the long run would be to step up the ratio's by different magnitudes i.e. 1.1, 1.5, 2 times etc ...
  • mitchellt's avatar
    mitchellt
    Occasional Contributor
    Necro my old thread rather than creating a new one.

    ---

    I am still having issues with this and have no idea how to go about it.

    If a load test contains multiple requests, does it choose one at random?

    If this is the case, how would I make my load test simulate a real load as mentioned in my previous post.

    Thanks.