在远程工作站上应该为分布式JMeter测试放置一个CSV配置文件? [英] Where on a remote workstation should I put a CSV-config file for distributed JMeter testing?

查看:1618
本文介绍了在远程工作站上应该为分布式JMeter测试放置一个CSV配置文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让JMeter进行分布式测试。在手册中说,首先我应该在远程节点上启动 jmeter-server ,然后我应该更新 jmeter.config 并在主节点上运行 jmeter

I want to make JMeter distributed testing. It was said in the manual that first I should start jmeter-server on remote nodes, and then I should update jmeter.config and run jmeter on a master node.

我做了所有这些步骤。我的测试计划包括使用CSV配置文件。如果我只是从1(主)节点测试 - 那么一切都作为一个魅力。但是当我尝试分布式测试时,所有测试失败。一些调查显示远程节点发送请求,而不替换 $ {..} -like参数。请求类似

I did all these steps. My test plan includes working with CSV-config files. If I test just from 1 (master) node - then everything works as a charm. But when I try distributed testing all tests fail. Some investigation showed that remote nodes send requests without substitution of ${..}-like parameters. Requests look like


POST数据:
5 | 0 | 6 | http://host.com/portal/ | 67D1C612DCF291DCD0F71AD15E404F37 | host.ui.client.services.LoginService | login | java.lang.String / 2004016611 | $ {ADMIN_LOGIN} | 1 | 2 | 3 | 4 | 3 | 5 | 5 | 5 | 6 | 6 | 1 | p>

POST data: 5|0|6|http://host.com/portal/|67D1C612DCF291DCD0F71AD15E404F37|host.ui.client.services.LoginService|login|java.lang.String/2004016611|${ADMIN_LOGIN}|1|2|3|4|3|5|5|5|6|6|1|

很明显,远程 jmeter-server 找不到CSV文件。我应该放在哪里?

It's obvious that remote jmeter-server cannot find the CSV-file. Where should I put it?

P.S:我有不同操作系统的机器(Windows 7和Ubuntu 10.04)。

P.S: I have machines with different OS (Windows 7 and Ubuntu 10.04).

推荐答案

解决多个操作系统问题的最简单方法是将CSV文件放在所有测试机器上的Jmeter BIN目录中,并且不引用CSV数据集配置组件中的路径。

The easiest way to resolve the multiple OS issue is to put the CSV file in the Jmeter BIN directory on all test machines, and do not reference the path in the CSV Data Set Config component.

这篇关于在远程工作站上应该为分布式JMeter测试放置一个CSV配置文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆