How to Run a Performance Test with Burst Load

Tresi supports 3 load strategies for doing a Load Test, Constant, Incrementing and Burst Load. 

  • Constant Load
    • This strategy creates a fixed number of virtual users and repeatedly invokes the Hub method until the test duration is reached.  This is used to simulate a "steady-state" scenario where there is a constant load on the SignalR Hub.
  • Incrementing Load
    • This strategy is used to gradually increase the number of virtual users until a certain (configurable) number of users is reached.  Typically, this is used to find out at which point the will the performance of the SignalR Hub start to degrade.
  • Burst Load
    • This strategy is used to simulate sudden spikes or bursts of load on the Hub.  Burst load testing is done to ensure that the SignalR hub is able to handle such sudden spikes in traffic.

 

To start an Incrementing Load Test follow the steps listed below

1.  Add the signalR URL (See Getting Started)

2.  Select the Hub Method that will be tested.

3.  Click on the Load Test button in the toolbar.  This will open up a load test tab

4.  Select "Incrementing" Load

5. Configure the parameters for the load test

  • Virtual Users
    • number of simulated users
  • Invoke Interval (msec)
    • The interval at which the virtual users will call the Hub.  For example if this is set to 1000 msec, *each* virtual user will call the Hub method every 1 second.
  • Test Duration (sec)
    • total duration of the test
  • Burst Duration (sec)
    • This setting specifies the length of a single burst.  For example, if this is set to 60 seconds, each virtual user will continuously invoke the Hub for seconds, after which it will stop.  It will start calling again the Hub once the Burst Interval (see below) is reached.
  • Burst Interval (msec)
    • The interval between each burst per virtual user.  For example, if this is set to 10,000 msec, a burst will be triggered every 10 seconds
       

        

 

6. Enter the request in the Editor.  

7. Click Start.

 

 The above steps are also shown in the below screenshot.  But this time choose "Burst Load" instead of Constant Load

(click to enlarge)


Site Map | Printable View | © 2008 - 2018 WCFStorm Solutions

Powered by mojoPortal | XHTML 1.0 | CSS | Design by styleshout