Jmeter替代 [英] Jmeter alternative

查看:284
本文介绍了Jmeter替代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找JMeter的免费软件/更简单的替代产品.这是一个非常完整而又复杂的工具,我需要做的是模拟对站点的多个同时调用,获取有关性能(响应时间)的统计信息,并查看它可以承受多少并发调用而不会中断.抛出一些图表会很有用.

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.

谢谢.

推荐答案

使用Apache Benchmark(ab).这是apache Web服务器附带的命令行工具.如果您正在运行* nix,则可能是它已经安装在您的计算机上.例如,如果要使用10个并发线程将1000个请求发送到在localhost上运行的Web服务器,则可以执行以下操作:

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.

这篇关于Jmeter替代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆