![](/img/trans.png)
[英]Generating HTML reports using Apache ANT on Distributed Load Testing in Jmeter
[英]Unable to generate JMeter HTML reports for distributed load tests
上下文:我正在嘗試為 JMeter 測試生成 HTML 報告,在主從比為 1:1 的分布式負載系統上,使用以下命令:sh jmeter -n -t test.jmx -l testresult.jtl -R xxxx -e -o /home/ubuntu/報告
我收到以下錯誤:
Configuring remote engine: x.x.x.x
Starting distributed test with remote engines: [x.x.x.x] @ Wed Aug 18 14:24 :47 UTC 2021 (1629296687532)
Warning: Nashorn engine is planned to be removed from a future JDK release
Error in rconfigure() method java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.net.SocketException: Broken pipe (Write failed)
Remote engines have been started:[]
The following remote engines have not started:[x.x.x.x]
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
在本地運行時運行成功,但在通過主服務器觸發到從服務器時則不成功。
你得到的錯誤意味着 JMeter master 無法在 slave 上開始測試,要么你的配置有誤,要么有什么東西阻止了 master 和 slave 之間的雙向連接(防火牆?)
不知道是什么問題很難說。master和slave的網絡接口信息和你連接它們的配置,所以我只能提供一些有用資料的鏈接:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.