How to Run a Performance Test with Increasing 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
  • User Creation Interval (msec)
    • This is the interval at which the number of users is gradually increased.  For example, if this is set to 1000 msec, a new virtual user will be created every 1 second
  • 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




6. Enter the request in the Editor.  

7. Click Start.


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

(click to enlarge)

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

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