Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

web server Load testing tool [closed]

Can you suggest a software tool (with GPLv license) to perform load testing for a Web server?

like image 682
rak Avatar asked Feb 28 '11 09:02

rak


People also ask

Which is a server performance testing tool?

Apache JMeter JMeter is a popular open-source load and performance testing tool. It can examine and benchmark a wide variety of software, including networks and servers. It is usually used to test web service applications for the load. Incorporate JMeter, a Java platform application.

How do I test a server load?

Load Testing BasicsDoes the server have enough resources (CPU, memory, etc.) to handle the anticipated load? Does the server respond quickly enough to provide a good user experience? Is our application running efficiently? Do we need to scale up our server hardware, or scale out to multiple servers?

Is LoadNinja open source?

LoadNinja is powered by Selenium, an open-source framework for testing web applications.


4 Answers

Curl will allow you to run through a sequence of URL quite easily. i.e.

curl -s "http://google.com?[1-1000]"

This will make 1000 calls to google i.e.

http://google.com?1  
http://google.com?2
etc... 

You can then add these calls to a script and run them consecutively as background jobs. There's a full explanation of this http://servermonitoringhq.com/blog/how_to_quickly_stress_test_a_web_server

like image 192
Ian Purton Avatar answered Oct 27 '22 16:10

Ian Purton


  1. Tsung is best I have used so far. You can create actual usage pattern.

  2. apache benchmark is easiest to use and comes along with apache. Simpler to use,but is not flexible in terms of urls to hit for testing and creating more realistic load patterns.

like image 25
Zimbabao Avatar answered Oct 27 '22 16:10

Zimbabao


Try one of:

  • httperf (http://code.google.com/p/httperf/)
  • ab (http://httpd.apache.org/docs/2.0/programs/ab.html)
like image 29
Konrad Garus Avatar answered Oct 27 '22 14:10

Konrad Garus


If you need to do some performance/load testing also to web pages/apps, try Apache JMeter http://jmeter.apache.org/

like image 20
Harri Avatar answered Oct 27 '22 15:10

Harri