JMeter 命令行 - Linux 版本与 Windows 版本

发布于 2024-08-08 23:45:50 字数 776 浏览 1 评论 0原文

我一直在 Linux 机器上的命令行下使用 JMeter。工作正常。

今天,我在 Windows 盒子(新客户端等)上尝试了它,它确实有效,但控制台窗口中的输出却有所不同。

Linux 版本将正在发生的事情的运行评论转储到控制台 ->最小/最大/吞吐量/错误消息等。

在 Windows 上,没有这些..例如..

C:\Users\Administrator>c:\temp\jakarta-jmeter-2.3.4\bin\jmeter -n -t "C:\Users\A
dministrator\Desktop\JMeter Test Files\MyProject.jmx" -Dthrea
ds=10 -Dloop=10 -Drampup=1
Created the tree successfully using C:\Users\Administrator\Desktop\JMeter Test Files\MyProjectjmx
Starting the test @ Fri Oct 23 21:08:37 PDT 2009 (1256357317843)
Waiting for possible shutdown message on port 4445
Tidying up ...    @ Fri Oct 23 21:09:09 PDT 2009 (1256357349008)
... end of run

是否有我需要设置的设置?我在配置文件中遗漏了什么?

注意:请不要告诉我坚持使用 Linux 版本 - 让我们不要讨论任何宗教战争。

I'm been using JMeter on a linux box, under the command line for a little bit. works fine.

Today, I tried it on a windows box (new client, etc) and it does work but the OUTPUT is waay different, in the console window.

The linux version dumps to the console a running commentary of what is going on -> Min/Max/Throughput/Error messages, etc. etc.

On windows, there's non of that.. eg..

C:\Users\Administrator>c:\temp\jakarta-jmeter-2.3.4\bin\jmeter -n -t "C:\Users\A
dministrator\Desktop\JMeter Test Files\MyProject.jmx" -Dthrea
ds=10 -Dloop=10 -Drampup=1
Created the tree successfully using C:\Users\Administrator\Desktop\JMeter Test Files\MyProjectjmx
Starting the test @ Fri Oct 23 21:08:37 PDT 2009 (1256357317843)
Waiting for possible shutdown message on port 4445
Tidying up ...    @ Fri Oct 23 21:09:09 PDT 2009 (1256357349008)
... end of run

Is there a setting i need to set? something i'm missing from the configuration file?

Note: Please don't tell me to stick with the Linux version - lets keep any religious wars out of this discussion.

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

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

发布评论

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

评论(1

北恋 2024-08-15 23:45:50

基本上,当您从 Windows 运行脚本时,您不会提及输出应该存储在哪里。检查您是否正在使用任何侦听器并将结果存储在窗口框的某个位置。
您可以在命令行中再添加一个参数 - -l 来获取帮助

Basically when you are running your script from windows, you are not mentioning where your output should store. Check if you are using any listeners and storing the results somewhere on the windows box.
You can add one more parameter as - -l in the command line to get the help

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