开发者

Load Testing tool for web applications [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by fact开发者_开发百科s, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I am trying to load test a web application, but I am having a hard time finding good tools that are affordable. I cam across Web Performance Load Testing Tool which is pretty cool, but limits you to 10 users and after that it costs thousands.

Does anyone know any good techniques for load testing a web application?

Thanks


JMeter is definitely worth a look:

http://jmeter.apache.org/

Relatively straightforward to learn and pretty easy to get up and running.


We've been using a site called http://loadimpact.com/ - it allows tests from multiple locations and scripted paths. As long as you understand what it's doing and what's it's telling you it's pretty reasonable.

Trying to do Load Testing on a budget is pretty tough to do and achieve meaningful results as you'll run into bottlenecks on networks if you're not using multiple injectors etc to simulate real users.

John


I reviewed here some more tools


I went with Visual Studio


If you want loadtesting to be 100% compatible with your website, i would recommend www.browsermob.com. they use REAL browsers in their load tests. All you need to do is record a selenium script using the firefox selenium-ide addon, upload the script to browsermob, and execute.

However, there are also other tools, that works on different layers. browsermob/selenium works on the gui layer with real browsers, i believe they are the only load testing tool which does this. HP Loadrunner (click and script), Neotys Neoload also works on the gui layer. However they dont use real browsers, they have their own built in browser that really isn't suited for next gen web applications (web2.0/ajax and alike).

On the other hand, you have the tools that works on the http layer (sniffs the http traffic and records the http get and post requests). This toolset includes Grinder, jMeter. HP Loadrunner also has an url based protocol to handle this (which also is the most popular way of using HP Loadrunner afaik). This route however forces you to include application logic in your tests if you are testing a rich internet application (ex ajax push/poll).

So basically it's all about what application you are going to test and what your budget is for a testing tool.

For rich internet applications i would probably recommend browsermob.com which is based on selenium, or roll your own selenium testing platform using selenium-grid (requires alot of hardware). The only downside is that you will have to implement/purchase your own serverside monitoring toolset, as browsermob don't have this atm. And also if you need more monitoring on the client side, you probably want to have a proxy between browsermob/selenium.

Monitoring is where loadrunner really does a good job, they have all kinds of monitors and graphing (client side and server side) where you correlate graphs and data and easily spot patterns and problems in your application and server systems. However HP Loadrunner doesn't come cheap.

Neoload is a tool im not very familiar with, but im guessing it's like the little brother of HP Loadrunner, much cheaper but with less functionality and monitoring.

jMeter and Grinder are opensource tools for loadtesting, they are powerfull tools. But the drawback is that they only work on the http layer. However, it's only a drawback if you have to handle ajax applications. for a basic website with no ajax/web2.0 features where a single http request is a new page load. then this probably is the tool for you.


Disclaimer: I am a founder of Cloud Assault

https://www.cloudassault.com is a service that provides load and scalability testing services for web-sites, APIs, and Internet infrastructure. If you're doing continuous integration check us out. You can drive everything from creating, monitoring, and retrieving results of tests through our API.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜