Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 666
mrblah Avatar asked Dec 06 '09 14:12

mrblah


People also ask

Does JMeter support .NET application?

NET apps with JMeter. As you've seen, JMeter is a powerful tool that comes with many built-in functionalities for various scenarios. Apart from that, JMeter's community provides you with an enormous amount of open-source plugins that you can add to give even more flexibility and power to your load tests.

How will you test the performance of ASP Net web application?

Step 1: Copy web site URL that need to be tested and that can be your local machine url e.g.http://localhost:16260/Account/Login. Note down all the steps and input data that need to capture during performance test. Step 3: Open . webtest file and select Add Recording.


2 Answers

Yes, I successfully used JMeter with my ASP.NET (not MVC) website.

These two tutorials were a godsend:

  • http://blog.technicallyworks.com/2009/06/load-testing-aspnet-sites-with-jmeter.html
  • http://blog.technicallyworks.com/2009/06/load-testing-aspnet-with-jmeter.html
like image 169
Bill Paetzke Avatar answered Oct 17 '22 04:10

Bill Paetzke


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:\Temp\jakarta-jmeter-2.3.4\bin\jmeter -n -t "C:\Users\Administrator\Desktop\JMeter Test Files\my_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!

like image 37
Pure.Krome Avatar answered Oct 17 '22 04:10

Pure.Krome