English 中文(简体)
benchmarking a asp.net website, can I use jmeter?
原标题:

just looking at jmeter, from what I can I see it is a desktop application, so is it safe to say I can use it to benchmark a windows server running asp.net?

any other recommended tools?

问题回答

I use JMeter to stress test our ASP.NET MVC website. It s easy as pie, once u ve tried it once and know how to use the application.

For example, i have a CSV file which I use as dynamic search data. I then created an HttpRequest thingy in Jmeter and pass in my csv data. (this is simulating me hitting that url for the data i tell to use).

I have a Jmeter Gaussian Timer to similate ebbs and flows (randomises) the hits to the url.

i then finally say ..

C:Tempjakarta-jmeter-2.3.4injmeter -n -t "C:UsersAdministratorDesktopJMeter Test Filesmy_jmeter_config_file.jmx" -Dthreads=50 -Dloops=10 -Drampup=5

which means ... loop 10 time. each single loop will contain 50 threads ... and it builds up to 50 threads in 5 secs.

So yeah, i use it. it s good!

I recommend httperf from HP. As it just sends http requests it works regardless of the server you are testing on. You will need a linux machine to run it though. Another popular tool is Apache Benchmark (AB). I don t recommend it as the best tool available, but lots of benchmarks have been performed using this tool so it is easier to compare results and draw conclusions.

Microsoft offers various other tools for testing, but are not as widely used.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签