views:

5192

answers:

17

Possible Duplicate:
How do you stress test a web application?

Currently I have configured a project with cc.net, watin and nunit and now I want to do stress, load, and performance testing of my .net projects. Any idea which opensource tool should I use or cani achive it with same working tools and if yes then how?

+2  A: 

If it's for a website/webapp you can go here for some answers: http://stackoverflow.com/questions/340564/best-way-to-stress-test-a-website/340588#340588

fmsf
Then please use "close -> exact duplicate" (you have enough rep)
Marc Gravell
+1  A: 

We use Grinder to run load/stress and functional tests against web services. We've never used it for web pages but its supposed to do that as well. You can really beat your servers up by installing the Grinder "agents" on a few machines that then spawn a bunch of processes to hit your site to simulate multiple connections.

The documentation is just OK, but what do you expect for an open source project?

+11  A: 

I've used Apache JMeter with pretty decent success in the past. The interface is pretty easy to use and it supports remote agents to help with load testing with many hosts.

Andy
Wouldn't agree with the "easy" interface :/
willem
+1  A: 

WebLOAD is an open source load tester. I believe it was initially developed by the same guy that first developed Mercury LoadRunner.

They also have a commercial version: WebLOAD Editions Comparison

If you're on a Windows platform and you have the Visual Studio Enterprise Edition you can use the Application Center Test tool as well.

And last, but not least, there's Homer: Microsoft Web Application Stress tool (aka WAS, predecessor to Application Center Test)

Patrick Cuff
Btw, WebLOAD isn't open source anymore. At least they sent an email stating that the OS-version will be ended and people should upgrade to their commercial version. I think that WebLOAD OS was just a marketing stunt.
Kaitsu
@Kaitsu; thanks for the heads up. That's unfortunate, it looked like a promising open source alternative to LoadRunner.
Patrick Cuff
Seems like it's Open Source again (GPL'd) according to their web site.
fbonnet
A: 

The service my company provides is not open source, but it's pretty cool and builds on open source. It's a load testing service that uses real browsers to play back load (as opposed to simulated HTTP/virtual users). We use Selenium as the playback engine, which should be somewhat familiar for WatiN users.

The best part about our service (or the general idea of using a real browser) is that .NET stuff like ViewState is handled automatically. You don't have to do any trickery like parsing the request out with regex's to make it work. Instead, the browser just does what a normal browser does.

I apologize if this post seems too commercial, but since the question is about open source (we leverage open source and have a free trial) and .NET (one of our great features is seamless .NET support) I figured I'd give it a mention.

Good luck!

Patrick Lightbody
A: 

Oh, and if you're looking for 100% open source (though I strongly recommend you use a combination of external load testing and internal testing), Pylot is pretty great too. I find it a bit easier to use than JMeter or OpenSTA.

Patrick Lightbody
A: 

I have used webload but it is not supporting popups. I mean my application has to wait to bring up some data from server but at that point webloader give error and stops execution. My application deals with booking and ticketing stuff.

Kind Regards Sam

sam
+1  A: 

I used Jmeter to load test my application along with Selenium. I enhanced Jmeter code to call selenium engine to simulate the load test.

Bhushan
Any idea what can I use to run my test with NUnit and WatiN or cc.net
sam
+1  A: 

I've used openSTA.

This uses a relatively simple script language.

You can easily test web services and write your own scripts.

It allows you to put scripts together in a test in any way you want and configure the number of iterations, the number of users in each iteration, the ramp up time to introduce each new user and the delay between each iteration. Tests can also be scheduled in the future.

It's open source and free.

It produces a number of reports which can be saved to a spreadsheet. We then use a pivot table to easily analyse and graph the results.

nzpcmad
A: 

When developing for MS Windows platform I use typeperf. Uses MS Windows built-in WMI counters (almost every kind of information you would like to track is there) so you don't need to install a "server application" on the target machines.

It is extremely useful when testing client/server applications or multiple machines at the same time. It can generate CSV files, which I use then for generating reports and charts. Moreover WMI provides special counters for NET applications.

If typeperf command line client is not enough for you can can code your own using MS provided apis.

http://technet.microsoft.com/en-us/library/cc753182.aspx

knoopx
A: 

Since you're allready familiar with c#. you can try this tool fwptt.sourceforge.net. It basically generates a test class in C# that you can modify as you wish and than run your test with that class.

+2  A: 

Jmeter hands down. It's the only tool I've ever used that has produced reliable results over and over. Once you get the hang of it, it's an absolute joy to work with and you can simulate a large load with a relatively small number of threads.

Chris
A: 

Hi,

Try this : http://sourceforge.net/projects/dieseltest/

It seems the perfect thing.

Jaydeep Dave

Jaydeep DAve
A: 

For web service testing, soap rest or WCF (including WebHttpBinding), try out SOA Cleaner. Can be downloded from:http://xyrow.com. There is a free version, and it doesn't require any installation. It can also perform load tests.

Clangon
A: 

Open STA is the open source de-facto tool for Load Testing.

But it can support only Http protocol.

Regards Kimberly Free LoadRunner Video Tutorials

A: 

Having the same problem and I'm using NTime - early days yet but it looks pretty good. Can run multiple threads for tests and other good features will report back here if anyone is interested.

I note that most answers here are for the Java/Web World neither of which match my requirements.

MrTelly
A: 

I would vote for JMeter. Totally free and pretty easy to set up and get started. Here are some links on how to do it Stress testing your application with Jmeter

We also have described the process as to how we are testing , different parameters and metrics.

vsingh