Open source Tool for Stress, Load and Performance

2019-01-16 05:29发布

问题:

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?

回答1:

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!



回答2:

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.



回答3:

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.



回答4:

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.



回答5:

Last days I stumbled upon HttpRider and seems decent for the purpose. Clean UI and easy to configure although I recommend caution since they state it's beta (at the time of the post).



回答6:

If it's for a website/webapp you can go here for some answers: Best way to stress test a website



回答7:

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



回答8:

As you are a C# developer you can easily understand the class structure. So I recommend you to use csunit for its testing and this tool is open source and you can find it easily..



回答9:

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?



回答10:

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)



回答11:

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.



回答12:

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



回答13:

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.



回答14:

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

It seems the perfect thing.

Jaydeep Dave



回答15:

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.



回答16:

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



回答17:

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.



回答18:

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.