Answered by:
Does VS supports web sockets to record performance test?

Question
-
Hi
We need to load test an application which uses web sockets.
Is it possible to record web sockets performance tests using the VS ?
Thanks
Thursday, May 19, 2016 11:16 AM
Answers
-
Hi Sathish Selliah,
As far as I know, the websockets is TCP-based communication between client side and server side. But according to the description for Web Performance Test engine in Visual Studio, it should work on HTTP layer.
https://msdn.microsoft.com/en-us/library/ff520100(v=vs.110).aspx
So I'm afraid that we could not record web sockets performance test using Visual Studio Web Test Recorder directly.
Please try use Fiddler to capture the web sockets request and the import these request into Visual Studio to check whether they can playback in Visual Studio Web Performance.
Best Regards,
WeiweiWe are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by Weiwei Cai Wednesday, May 25, 2016 9:07 AM
- Marked as answer by Weiwei Cai Friday, May 27, 2016 8:45 AM
Saturday, May 21, 2016 3:43 AM -
Hi Sathish
Out of the box there's support for anything on the http stack. If you want to test another protocol do it in a unit test and then load test the unit tests. I have done this to performance test smtp & pop3 servers in the past.
HTH
- Proposed as answer by Weiwei Cai Wednesday, May 25, 2016 9:07 AM
- Marked as answer by Weiwei Cai Friday, May 27, 2016 8:45 AM
Tuesday, May 24, 2016 2:33 PM
All replies
-
Hi Sathish Selliah,
As far as I know, the websockets is TCP-based communication between client side and server side. But according to the description for Web Performance Test engine in Visual Studio, it should work on HTTP layer.
https://msdn.microsoft.com/en-us/library/ff520100(v=vs.110).aspx
So I'm afraid that we could not record web sockets performance test using Visual Studio Web Test Recorder directly.
Please try use Fiddler to capture the web sockets request and the import these request into Visual Studio to check whether they can playback in Visual Studio Web Performance.
Best Regards,
WeiweiWe are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by Weiwei Cai Wednesday, May 25, 2016 9:07 AM
- Marked as answer by Weiwei Cai Friday, May 27, 2016 8:45 AM
Saturday, May 21, 2016 3:43 AM -
Hi Sathish
Out of the box there's support for anything on the http stack. If you want to test another protocol do it in a unit test and then load test the unit tests. I have done this to performance test smtp & pop3 servers in the past.
HTH
- Proposed as answer by Weiwei Cai Wednesday, May 25, 2016 9:07 AM
- Marked as answer by Weiwei Cai Friday, May 27, 2016 8:45 AM
Tuesday, May 24, 2016 2:33 PM