如何将外部jar文件添加到grinder项目

发布于 2024-10-08 11:27:30 字数 238 浏览 0 评论 0 原文

我是 Grinder 负载测试框架的新手。

我使用 tcpproxy 录制了一个grinder脚本。然后我做了一些修改,其中包括使用外部 jar 文件。

在 Eclipse 中使用grinder插件我添加了这些jar文件的依赖项。

但是我如何使用命令行设置类似的东西 - 假设我没有可用的 eclipse..

我是否必须在grinder.properties 中添加任何内容?

谢谢

I am new to Grinder load testing framework.

I recorded a grinder script using tcpproxy. And then I made some modifications which includes use of external jar files.

In eclipse using grinder plugin I added a dependency for those jar files.

But how do I setup similar stuff using command line - assuming I dont have eclipse available to me..

Do I have to add anything in grinder.properties ?

Thanks

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

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

发布评论

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

评论(1

蹲在坟头点根烟 2024-10-15 11:27:30

您可以使用属性文件添加外部 jar 文件。您必须使用grinder.jvm.classpath属性。当您指定此属性时,每次grinder代理启动时都会将其添加到类路径中。

grinder.jvm.classpath=/lib/jyson-1.0.1.jar:/home/lib/my-loadtest-0.0.1-SNAPSHOT.jar

you can add external jar file using properties file. You have to use grinder.jvm.classpath property. When you specify this property, it is added to class path every time grinder agent starts.

grinder.jvm.classpath=/lib/jyson-1.0.1.jar:/home/lib/my-loadtest-0.0.1-SNAPSHOT.jar
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文