Jmeter分布式壓測布署

來源:互聯網
上載者:User

Q../jmeter_server 在linux中出現 “Server failed to start: java.rmi.RemoteException:cannot start. linux-lizn is a loopback address. 或者出現 "Server failed to start: java.rmi.RemoteException:cannot start.unable to get local ip address.

A.檢查 ./etc/hosts檔案,刪除127.0.0.2項,添加本機IP  hostname 項

Q.負載機修改連接埠

A.1.修改jmeter.properties檔案中的 Server.rmi.port = 11234

    2.$SERVER_PORT=11234 ./jmeter-server,啟動jmeter server

    3.修改 master 機器的jmeter.properties ,將remote_hosts項指定連接埠,eg. remote_hosts=10.6.57.117:11234

    4.windows負載機改連接埠如下:(啟動jmeter server)

        c:\jmeter>set SERVER_PORT=11234

        c:\jmeter>jmeter-server

※ jmeter's classpath

JMETER_HOME/lib                -  used for utility jars

JMETER_HOME/lib/ext          -  used for jmeter components and add-ons

※ Non-Gui Mode

eg. jmeter -n -t my_test.jmx -l log.jtl -H my.proxy.server -p 8000

-r Run the test in the Servers specified by the jmeter property "remote_hosts"

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.