对 wicket 框架进行负载测试的最佳工具?

发布于 2024-09-10 06:54:53 字数 234 浏览 6 评论 0 原文

您能为使用 Wicket 框架开发的 Web 应用程序推荐一个简单/最好的工具吗?

挑战是接口 ID 每次都会更改,因此录制和播放可能无法正常工作。这个链接解释了一些解决方法,但它实施起来并不简单。

Can you recommend a simple/best tool for an web application developed using Wicket framework?

The challenge is interface id is changed every time so record and playback may not work. This link explains some work around but it is not simple to implement.

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

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

发布评论

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

评论(4

慢慢从新开始 2024-09-17 06:54:53

除了 JMeter 你还可以尝试 Selenium 用于测试 Web 应用程序。如果您使用 Selenium,您还可以检查 Selenium Inspector,它构建在其之上并提供方便的断言方法。

在线服务BrowserMob提供基于selenium的基于云的负载测试。

Besides JMeter you can try Selenium to test web applications. If you use Selenium you show also check Selenium Inspector which is build on top of it and provides convenient assertion methods.

Online service BrowserMob offers cloud based load testing based on selenium.

冷血 2024-09-17 06:54:53

因为像 wicket 这样的 Web 框架位于服务器端,但负载测试工具在客户端运行,所以几乎任何负载测试工具都可以完成这项工作。

根据您的需求,可能值得一看:

Apache AB - 第一代负载测试工具。它只是请求定义的 url。然而,它的速度非常快,您可以轻松地从普通计算机创建高负载。它是一个控制台应用程序

JMeter - 第一个脚本负载测试工具之一。您可以使用 swing 界面通过点击一些基本操作/验证来编写测试。或者您可以使用代理记录器来节省一些工作量。
但是,说实话,现在这个工具已经不能令我满意了。

Grinder - 一个不错的工具 - 您可以通过 python(实际上是 jython)对测试用例进行编程。这使得复杂的测试场景变得容易成为可能。这肯定适用于 wicket,但这个工具也已经过时了。

Deja Click - 一个 Firefox 插件,允许记录和重放网络操作。故意不是为 Web 测试和负载测试编写的,但可能值得一看

Selenium - 第三代 Web 负载测试工具背后有一个大社区。您可以通过 Firefox 插件记录和编辑测试用例。由于浏览器集成,可以在更短的时间内记录更复杂的测试用例。
您确实应该看看这个,但请记住,Selenium 是一个验收测试工具,并不是为负载测试而设计的,但如果您的硬件允许,您可以这样做。但是,如果您的应用程序不在 Firefox 中运行,您可能会在记录测试时遇到麻烦。

LoadRunner - HP 的一款商业且知名的负载测试工具。还没试过这个。

WebLOAD - 另一种商业替代方案。

Because the web framework like wicket is on the server side but the load testing tool operates on the client side almost any load testing tools should do the job.

What may be worth a look, depending on your needs:

Apache AB - The 1st generation load testing tool. It just requests defined urls. However, it's very fast you can easily create a high load from a regular computer. It's a console application

JMeter - One of the first script load testing tools. You can program a test via clicks from some basic actions/validations using a swing interface. Or you can use the proxy recorder to save some amount of work.
But, to be honest, the tool doesn't satisfy me anymore these days.

The Grinder - A nice tool - you program the test case via python (in fact jython). This makes complex testing scenarios easily possible. This should defnitly work with wicket, but this tool is also getting old.

Deja Click - A firefox plugin which allows recording and replaying web actions. Intentionally not written for web tests and load tests, but it may be worth a look

Selenium - The 3rd generation of web load testing tools with a big community behind it. You record and edit your test cases via a firefox plugin. Because of the browser integration, more complex tests cases can be recorded in a shorter period of time.
You should really have a look at this, but keep in mind that Selenium is a acceptance testing tool, and not designed for load testing, but you can do it, if your hardware allows ist. However, you might be in troubles recording the tests if your application does not run in firefox.

LoadRunner - A commercial and well-known load testing tool by HP. Haven't tried this yet.

WebLOAD - Another commercial alternative.

太阳公公是暖光 2024-09-17 06:54:53

从经验来看,上述这些乍一看都不好。

根据应用程序的复杂性,您可能需要与所列出的工具不同的工具,并且没有简单的答案。

如果您想要一个易于记录和关联的脚本 - LoadRunner 的 TruClient - 昂贵的解决方案。

接下来是 Selenium ,但通常很难用它进行任何负载测试,除非您拥有巨大的硬件资源,或者您的应用程序不需要 100% 的客户端(负载生成计算机的 CPU 或其他资源),除非您想要使你的测试无效。

Wicket 非常动态,虽然对于开发人员来说它似乎是一个简单的工具,但要进行正确的测试却有点困难。

None of the above-mentioned is good at first sight, speaking from experience.

Depending on the complexity of your app, you may need different tools than the ones enlisted and there's no straightforward answer.

If you want an easily recorded and correlated scripts - TruClient by LoadRunner - expensive solution.

Next comes Selenium , but it is generally hard to do any load testing with it, unless you have enormous hardware resources, or your app doesn't require the 100% of the client (load generating machine's CPU or other resource) unless you want to invalidate your test.

Wicket is very dynamic and although it may seem like easy tool for developers, it's kind of hard to be properly tested.

与酒说心事 2024-09-17 06:54:53

如果您不想牺牲自己的长子来获得许可证,那么 JMeter 就是您正在寻找的工具。

JMeter 提供了一个代理,您可以使用它来记录您所做的一切。
然后可以修改和回放记录的 HTTP-Actions。
在大多数情况下,您将能够避免自己构建 Wicket-URL。
在所有其他情况下,您必须做什么是非常明显的(增加计数器......)

此外,您还可以获得生成有用统计数据所需的一切。

JMeter is the tool you are looking for if you don't want to sacrifice your firstborn to get a license.

JMeter provides a proxy you can use to record everything you do.
The record HTTP-Actions can then be tinkered with and played back.
In most cases you will be able to avoid building Wicket-URLs on your own.
In all other cases it's quite obvious what you have to do (increment a counter ...)

Additionally you get everything you need to generate useful statistics.

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