【发布时间】:2011-03-30 03:00:47
【问题描述】:
我在我的一个测试中添加了一个 Java 请求采样器,但是如果它们是非 http 采样器,Jmeter 不会区分采样器,例如,BeanShell 采样器也使用名称“sampler”记录,如下所示。有没有办法在 jmeter 中自定义它,以便我可以在 results.xml/output 中指定名称 sampler。
我在 jmeter 文档中找到了这个,但没有找到配置它的方法。
Java 请求采样器:
<sample t="1755" lt="0" ts="1301026564783" s="true" lb="get Connections for Current User" rc="200" rm="Total connections fetched: 30" tn="Thread Group 1-2" dt="" by="0"/>
<sample t="1980" lt="0" ts="1301026564640" s="true" lb="get Connections for Current User" rc="200" rm="Total connections fetched: 248" tn="Thread Group 1-1" dt="" by="0"/>
【问题讨论】:
标签: jmeter