嘗試使用某些遠程計算機運行JMeter測試時遇到一些問題。當我在本地計算機上進行簡單測試時,它確實運行良好。當我嘗試使用我的機器和另外兩個服務器啟動測試時,就會出現問題。當我啟動時它會we起來./jmeter -n -t ../../script.jmx -l ../../results.csv -e -o ../../reports -Jthroughput = 200 -Jduration = 30 -Jvmnb = 3 -q ../../propertiesFile.properties但是如果我這樣做./jmeter -n -t ../../script.jmx -l ../../results.csv -e -o ../../reports.Jthroughput=200 -Jduration = 30 -Jvmnb = 3 -q ../../propertiesFile.properties -r -X或者./jmeter -n -t ../../script.jmx -l ../../results.csv -e -o ../../reports -Jthroughput = 200 -Jduration = 30 -Jvmnb = 3 -q ../../propertiesFile.properties -R127.0.0.1、192.168.1.175、192.168.1.15 -X我有錯誤無法配置以下遠程引擎:[127.0.0.1]如果我拿出本地機器./jmeter -n -t ../../script.jmx -l ../../results.csv -e -o ../../reports -Jthroughput = 200 -Jduration = 30 -Jvmnb = 3 -q ../../propertiesFile.properties -R192.168.1.175,192.168.1.15 -X它也可以在其他兩臺服務器上正常工作(但它會忽略我的propertiesFile.properties文件)。我已經嘗試處理了兩天,我真的不知道該如何繼續。
1 回答

繁華開滿天機
TA貢獻1816條經驗 獲得超4個贊
在運行測試之前,請確保在本地主機上運行jemter-server。
檢查您的jmeter-server.log以查看是否有任何錯誤。
您必須使用-G將屬性發送到遠程服務器。
添加回答
舉報
0/150
提交
取消