知道如何使用 Jmeter 进行独立 Java 应用程序的性能测试吗?

发布于 2024-08-06 13:32:35 字数 55 浏览 2 评论 0原文

知道如何使用 Jmeter 进行独立 Java 应用程序的性能测试吗???

谢谢

Any idea how to use Jmeter for performance testing of Standalone Java app???

thanks

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

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

发布评论

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

评论(4

久随 2024-08-13 13:32:35

JMeter 用于模拟到服务器的网络流量并测试另一端在重负载情况下的响应能力。如果您的应用程序公开网络接口(HTTP、TCP、FTP、SOAP),那么它将对您有用。然后,您可以添加一个“采样器”并配置一个场景,其中将同时发送大量请求。

JMeter is used for simulating network traffic to a server and testing the responsiveness of the other end in heavy loads situations. It will be of some use for you, if your application exposes a network interface (HTTP, TCP, FTP, SOAP). Then you could add a "Sampler" and configure a scenario, where a lot of requests will be sent at the same time.

阳光的暖冬 2024-08-13 13:32:35

一种简单的方法是在 jmeter 中使用 junit 测试

One easy way is to use a junit test in jmeter.

一笔一画续写前缘 2024-08-13 13:32:35

如果您的独立应用程序发出任何 HTTP 请求,那么您可以使用 JMeter 进行性能测试。您可以找出您的应用程序发出的 HTTP 请求,并将它们添加到 Jmeter 测试计划中的 HTTP 请求采样器中,并向其中添加必要的数据,然后您可以为其生成负载。

If you standalone app makes any HTTP Requests, then yes you can use JMeter to do a performance test for that. You can find out the HTTP Requests your app makes and add them in HTTP Request Sampler in Jmeter Test Plan and also add necessary data to it and then you can generate the load for that.

多彩岁月 2024-08-13 13:32:35

我在对独立应用程序进行基准测试时遇到了这个 - https://github.com/openjdk/jmh

I came across this for benchmarking standalone applications - https://github.com/openjdk/jmh

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