Can you suggest a software tool (with GPLv license) to perform load testing for a Web server?
相关问题
- Unity3D loading resources after build
- jquery function that load html code into a div and
- Getting a mysql Error Code: 1265. Data truncated f
- Can you save/load a file via Javascript?
- Upload a file through a microsoft webtest
相关文章
- How to test performance / load of a modern angular
- Create and Load Images using a loop in Javascript
- RequestVerificationToken is not idetifying/or gett
- Java- How would I load a black and white image int
- Is there a way to bind to the load() event of an i
- cv2.lbphfacerecognizer has no attribute 'load&
- What is the difference between Android webview'
- How to set CPU load on a Red Hat Linux box?
I would suggest using the "headless" PhantomJS (which is related to Selenium WebDriver) or using the Selenium HTMLUnitDriver. Wrap the load tests in a JUnit class. Fork the tests multi-threaded using either Maven Surefire or Gradle (with a filtering test task using maxParallelForks). Gradle or Maven will create a JUnit report (from a CSS transformation) that shows each test and the time each one took.
If you are using Windows, you can can use my .bat scripts to start a Grid Node and Hub in order to run parallel, using multiple computers to supply the load..
Also look at re purposing Selenium WebDriver functional scripts in a Headless browser environment where you can run multiple instances. This approach has become popular with the availability of VMs from the Cloud.
Tsung is best I have used so far. You can create actual usage pattern.
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.
If you have the production workload, then you could use tcpcopy to copy it to the test system. This kind of testing is more effective and real.
Curl will allow you to run through a sequence of URL quite easily. i.e.
This will make 1000 calls to google i.e.
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
Try one of: