Jmeter替代品 [英] Jmeter alternative

查看:58
本文介绍了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 网络服务器附带的命令行工具.如果您正在运行 *nix,很可能它已经安装在您的机器上.例如,如果您想使用 10 个并发线程向在 localhost 上运行的 Web 服务器发送 1000 个请求,您可以这样做:

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天全站免登陆