Load Testing Blazor

1 Answer 268 Views
Load Testing
Ed
Top achievements
Rank 1
Ed asked on 02 Dec 2022, 03:42 PM

So I'm trying out Test Studio and it's very nice.

Super easy to create web tests for my Blazor application and apply various checks/validations etc.

But when I checked out the load testing it seems like it is an HTTP load testing tool similar to JMeter where it only makes HTTP calls to the application.  I created the profile from my web test which appears to have captured all HTTP traffic.

But Blazor is using SignalR so I'm wondering if I can truly load test my Blazor application using Test Studio?

Thanks,

Ed

1 Answer, 1 is accepted

Sort by
0
Accepted
Elena
Telerik team
answered on 05 Dec 2022, 02:56 PM

Hello Ed,

Thank you for the thorough description of the encountered issue. 

I have to admit that Test Studio load testing supports only HTTP(S) traffic. So, that means the SignalR traffic will not be captured if it uses WebSocket transport communication. 

However, as far as I am familiar, there is an option that the SignalR communication is transported over HTTP only. And since you mentioned all traffic was captured, you might be able to cover the load testing for this specific application. 

If you are not sure how the Blazor page is setup, you can contact the application development team on your end and discuss the matter further with them. I hope the provided information is useful for you to address your doubts.

I remain available in case you need additional assistance on the topic. Thank you for your cooperation in advance. 

Regards,
Elena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
Ed
Top achievements
Rank 1
commented on 07 Dec 2022, 10:41 AM

Thanks for the information.

I'm not familiar with SignalR over HTTP since at its core SignarlR uses WebSockets which enable bidirectional communications whereas with HTTP you can't do that, but I'll check it out.

Ed

Elena
Telerik team
commented on 07 Dec 2022, 03:05 PM

Hi Ed, 

Thank you for your follow up. To be honest, I am not proficient in that topic as well - I only went through some documentation and noticed there is such an option. Thus I decided to mention it. 

If any further questions pop up, don't hesitate to contact us again! 

Regards,
Elena

Tags
Load Testing
Asked by
Ed
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or