2011-03-30 45 views
1

我在我的一個測試中添加了Java請求採樣器,但Jmeter不區分採樣器,如果它們是非http採樣器,例如,BeanShell採樣器也用名稱「採樣器」,如下所示。有沒有辦法在jmeter中進行自定義,以便我可以在results.xml/output中指定名稱採樣器。如何在Jmeter結果輸出中更改採樣器名稱

我已經在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"/> 

回答

0

這很容易與聽衆範圍處理 - 測試計劃在一個地方,你把你的簡單數據錄入,彙總報告等

的simpliest的情況是連接監聽器作爲採樣器的孩子。這將導致監聽者只聽這個採樣器。

相關問題