问题
I'm looking for a freeware / simpler alternative to JMeter. It is a very complete yet complex tool and all I need is to simulate a number of simultaneous calls to a site, grab stats about performance (time to the response) and see how many concurrent calls it can endure without breaking. Some chart thrown in would be useful.
Thanks.
回答1:
Use Apache Benchmark (ab). It's a command line tool that ships with apache web server. If you're running *nix, chances are it's already installed on your machine. For example, if you want to send 1000 requests to a web server running on localhost using 10 concurrent threads you would do this:
$ ab -n 1000 -c 10 http://localhost/
It'll spit out a nice report giving you interesting stats such as requests per second, number of failures, and much more.
回答2:
Maybe you could try Gatling .
It provides a GUI, recorders, reports (response time distribution, requests per second over time,..),...
I think that the biggest difference between gatling and jmeter is that gatling does not use 1 thread for 1 user, but uses async IO. It could be interesting if you have performance issues whith jmeter (and if you cannot use jmeter in a distributed mode)
回答3:
Try Grinder, it's reasonably simple to use, and can be scripted.
回答4:
Try FunkLoad, a functional and performance testing tool for web apps, written in Python.
回答5:
Try jmeter + jmeter plugins code.
It should be as simple as others.
回答6:
Grinder, Funkload, SoapUI (only for Soap Services), Neoload (for load test), Charles Proxy
来源:https://stackoverflow.com/questions/1754427/jmeter-alternative