网络流量模拟测试

发布于 2024-12-25 04:40:13 字数 142 浏览 8 评论 0原文

我已经启动并运行了一个 PHP 站点,数据库是 mysql。在启动该网站之前,我想测试流量处理。现在我假设有一些软件可以模拟流量并记录我的站点上运行的进程。有什么我应该使用的软件推荐吗?流量不一定是真实的,但尽管如此,我还是想产生高流量来调查网站的阈值。 感谢您的帮助

I've got a PHP site up and running, and the db is mysql. before launching the site, I would like to test the traffic handling. Now am assuming that there are soe softwares that would simulate the traffic and log the processes running on my site. Any recommendation of software I should use? the traffic doesn't have to be real, but nonetheless, I would like to generate a high traffic to investigate the threshold of the site.
Appreciate the help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

装纯掩盖桑 2025-01-01 04:40:13

您可以使用加特林https://github.com/excilys/gadling

它是一个用 Scala 编写的压力工具,旨在比 Jmeter 更高效、更轻量。

基本上,您在网站上记录一个场景,然后并行运行它“n”次。

这是更多信息的 wiki https://github.com/excilys/gadling/wiki/Basic-Usage

You can use Gatling https://github.com/excilys/gatling.

It's a stress tool written in Scala which aims at being more efficient and lighter than Jmeter.

Basically you record a scenario on your website and then run it 'n' times in parallel.

Here is the wiki for more infos https://github.com/excilys/gatling/wiki/Basic-Usage

难以启齿的温柔 2025-01-01 04:40:13

您可以使用 Jmeter:

  • 它是免费的。

  • 很容易从其网站和互联网上的大量文档开始

  • 它具有代理功能,可以从浏览器轻松创建测试计划导航

  • 可以轻松地在其他计算机上启动进程。它远程测试,可以从GUI或控制台完成。

  • 脚本可以用 beanshell、java 或任何 jsr223 语言(groovy、Javascript、scala、jexl ...)编写

  • 它有很多内置采样器,并且由于其插件架构,添加新采样器或使用任何脚本引擎非常容易做缺少的事情

  • 它有很棒的用户邮件列表

  • 它有非常反应性的支持

  • 它现在是顶级 Apache

  • 它可以运行数千个

  • 存在从云运行它的专业解决方案

...

请参阅:

You can use Jmeter:

  • It's free.

  • it's easy to Start with lot of documentation on its Website and on internet

  • it has a proxy feature to easily create test plan from browser navigation

  • It is easy to start up processes on other machines. It remote testing, can be done from GUI or console.

  • The scripts can be written in beanshell, java, or any jsr223 language ( groovy, Javascript, scala, jexl ...)

  • it has a lot of built- in samplers and thanks to its plugin architecture it's very Easy to add new ones or use any scripting engine to do what's missing

  • it has great user mailing list

  • it has very reactive support

  • it's now a top Level Apache

  • it can run thousands of users

  • professional solutions exist to run it from cloud

...

See:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文