对asp.net网站进行基准测试,我可以使用jmeter吗?

时间:2023-01-08 08:09:55

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?

只是看着jmeter,我可以看到它是一个桌面应用程序,所以可以说我可以用它来对运行asp.net的Windows服务器进行基准测试吗?

any other recommended tools?

任何其他推荐的工具?

3 个解决方案

#1


12  

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

是的,我成功地将JMeter用于我的ASP.NET(而不是MVC)网站。

These two tutorials were a godsend:

这两个教程是天赐之物:

#2


6  

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.

我使用JMeter来压力测试我们的ASP.NET MVC网站。一旦你尝试了一次并知道如何使用该应用程序,它就像馅饼一样简单。

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).

例如,我有一个CSV文件,我用它作为动态搜索数据。然后我在Jmeter中创建了一个HttpRequest thingy并传入我的csv数据。 (这是模拟我点击我告诉使用的数据的URL)。

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

我有一个Jmeter高斯计时器来模拟ebbs和流(随机)命中到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.

这意味着......循环10次。每个单独的循环将包含50个线程......并且它在5秒内构建多达50个线程。

So yeah, i use it. it's good!

所以是的,我用它。这很好!

#3


3  

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.

我推荐HP的httperf。由于它只是发送http请求,因此无论您正在测试的服务器如何,它都能正常工作你需要一台linux机器才能运行它。另一个流行的工具是Apache Benchmark(AB)。我不建议将其作为可用的最佳工具,但是使用此工具已经执行了许多基准测试,因此更容易比较结果并得出结论。

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

Microsoft提供了各种其他测试工具,但并未广泛使用。

#1


12  

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

是的,我成功地将JMeter用于我的ASP.NET(而不是MVC)网站。

These two tutorials were a godsend:

这两个教程是天赐之物:

#2


6  

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.

我使用JMeter来压力测试我们的ASP.NET MVC网站。一旦你尝试了一次并知道如何使用该应用程序,它就像馅饼一样简单。

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).

例如,我有一个CSV文件,我用它作为动态搜索数据。然后我在Jmeter中创建了一个HttpRequest thingy并传入我的csv数据。 (这是模拟我点击我告诉使用的数据的URL)。

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

我有一个Jmeter高斯计时器来模拟ebbs和流(随机)命中到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.

这意味着......循环10次。每个单独的循环将包含50个线程......并且它在5秒内构建多达50个线程。

So yeah, i use it. it's good!

所以是的,我用它。这很好!

#3


3  

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.

我推荐HP的httperf。由于它只是发送http请求,因此无论您正在测试的服务器如何,它都能正常工作你需要一台linux机器才能运行它。另一个流行的工具是Apache Benchmark(AB)。我不建议将其作为可用的最佳工具,但是使用此工具已经执行了许多基准测试,因此更容易比较结果并得出结论。

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

Microsoft提供了各种其他测试工具,但并未广泛使用。