Pure.Krome
Pure.Krome

Reputation: 86937

How do I performance test my ASP.NET MVC website?

I'm wanting to find out how many requests/sec my asp.net mvc site (and asp.net mvc api) can handle. I've googled for some help and stumbled on this great slide show which talks about exactly the things i'm after. They also use a product called ApacheBench to hit the website. That application's website list it as a unix-type product. If it's a perl app, I'm also not going to install perl OR apache.

I'm using Visual Studion 2008 Team Suit edition on Windows 7 RTM.

Does anyone know of any programs I could use to help figure out what are the response times for 'x' number of hits to a url, etc?

thanks :)

Upvotes: 4

Views: 4562

Answers (3)

Glen
Glen

Reputation: 22290

You could use cURL. They've got a windows binary here

You could also check out this page listing open source performance testing tools, including some Windows specific ones, like dieseltest

Edit, added curl example

curl -s "http://example.com/index.html?[1-1000]"

This will retrieve the URL 1000 times. My DOS scripting isn't up to much so I don't know how to time this. If this were a *nix shell I'd just do

time curl -s "http://example.com/index.html?[1-1000]"

Upvotes: 0

Rajeesh
Rajeesh

Reputation: 4485

You could also try JMeter , I found it very useful because of it's feature for recording request.

It also has got advanced features like, sending the requests from multiple machines and controlling it from a centralized location.

Upvotes: 1

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

There's a Windows binary for Apache Bench. You could download Apache Web Server for Windows and extract ab.exe and abs.exe from it.

Upvotes: 3

Related Questions