Search code examples
c#signalrload-testing

How to perform Load testing of SignalR projects


I have created a project using SignalR C#. I wanted to perform the load testing. Suggest some ways to perform the same.


Solution

  • Load Testing assumes putting the system under the anticipated load so you need to

    1. Mimic real life system usage with 1 thread (virtual user)
    2. Add more threads and see how does the system behave in terms of throughput, response time, number of errors, etc.

    If you're looking for the load testing tools you can consider:

    1. Crank, the tool for SignalR performance testing from Microsoft
    2. signalr-tester
    3. Or any other tool which supports WebSockets and Async Requests