How to perform stress / stress testing of wcf services hosted on a windows service?

We have about 15 wcf services hosted on a Windows service. Some of them relate to .NET 4.0 and some of them in .NET 3.5.

I would like to know how to perform load / stress / performance testing of wcf services hosted in a windows service. The client uses the .net tcp binding to communicate with the services. In addition, most of the API returns a stream to improve performance.

I managed to find some wcf service testing tools hosted in IIS, but don’t know how to perform load / stress / performance testing for services hosted on a window service.

Any help is appreciated. Thanks.

+8
performance wcf windows-services stress-testing load-testing
source share
3 answers

You can specify simple steps here to test the load and performance of the WCF service.

+4
source share

What about 6 different ways to test a web service ?

Here's a quick practical implementation of WS testing using jmeter .

And take a look at these 2 posts - they seem to relate to your problem:
1. WCF with tcp.net binding testing using JMeter
2. How to check WCF web service with JMeter?

+2
source share

Testing should be done using Visual Studio 2010 Ultimate. The main process is to simulate HTTP requests.

The easiest way I can create an image is to create an application to call the web service that you want to test in a template similar to what you would expect from regular applications. Use Fiddler2 to record an https session. Save the session as a visual studio web test. Download the website in Visual Studio and convert it to an encoded web test. This allows you to manage security, etc. that are used against the web service.

Stress tests require a version of Visual Studio 2010 Ultimate, but web tests can be created with regular versions. In fact, rigorous testing also requires a license for virtual user packages, but the Ultimate version allows testing of up to 250 virtual users with a single processor. This is enough to get an idea of ​​the web service performance profile.

+1
source share

All Articles