6
我正在尋找使用JMeter在XMPP/HTTP Web服務服務器上執行一些性能和負載測試。我是JMeter的新手,現在我已經開始瞭解基礎知識,但是我希望儘快完成這些測試並儘快運行,以便獲得一些幫助。使用JMeter測試XMPP聊天服務器
我能找到一個樣本JMeter Test Plan,我希望我能夠適應並立即啓動並運行,但是這並沒有真正地實現,使用Wireshark,來自客戶端的消息使用TCP發送。我嘗試使用this yandex plugin,但是當我嘗試使用它時發生錯誤。
這是我的錯誤。
2014/02/10 15:11:18 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2014/02/10 15:11:18 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2014/02/10 15:11:18 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2014/02/10 15:11:19 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2014/02/10 15:11:19 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2014/02/10 15:11:19 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2014/02/10 15:11:19 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2014/02/10 15:11:19 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2014/02/10 15:11:19 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2014/02/10 15:11:19 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2014/02/10 15:11:49 ERROR - ru.yandex.jmeter.XMPPClientImpl: Error reading data java.lang.RuntimeException: Retries more than 1000, aborting read
at ru.yandex.jmeter.XMPPClientImpl.read(XMPPClientImpl.java:116)
at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:414)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Thread.java:744)
2014/02/10 15:11:49 ERROR - jmeter.protocol.tcp.sampler.TCPSampler: java.lang.RuntimeException: Error reading data
at ru.yandex.jmeter.XMPPClientImpl.read(XMPPClientImpl.java:152)
at org.apache.jmeter.protocol.tcp.sampler.TCPSampler.sample(TCPSampler.java:414)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.RuntimeException: Retries more than 1000, aborting read
at ru.yandex.jmeter.XMPPClientImpl.read(XMPPClientImpl.java:116)
... 4 more
2014/02/10 15:11:49 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2014/02/10 15:11:49 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2014/02/10 15:11:49 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
我希望能夠發送聊天消息,狀態更新和組成更新到服務器,並增加用戶數量。這是測試對我們有用的基本要求。
任何幫助或鏈接樣本測試計劃將不勝感激。
謝謝。