← Back to team overview

mosquitto-dev team mailing list archive

[Question #150008]: How about this test case?

 

New question #150008 on mosquitto:
https://answers.launchpad.net/mosquitto/+question/150008

I test mosquitto with this environment.

server : mosquitto-0.8.3
mosquitto setting:
  retry_interval 30
  store_clean_interval 1
  max_inflight_messages 1000
  max_queued_messages 0

  autosave_interval 10
  persistence 1


receivers : 
   execute 100 mosquitto_sub by bash script in one PC.

sender : using wmqtt.jar, written in Java. in one PC, but different with receivers.
  send 30 message each receiver. (total messages count is 3000)



I Test with this flow

1. Execure mosquitto.
2. Receivers connect to server with QoS 2, clean-session is false. And subscribe.
3. Disconnect all receiver. Don't unsubscribe.
4. Sender send 30 messages each receiver.
5. Reconnect all receiver when sending message is completed.


Result.
  38 Receivers fail to connect after test flow 5.
  1710 message receive successful.
  150 message retain on server.

  (38*30)+1710+150 = 3000


I want to know how to get good results.

-- 
You received this question notification because you are a member of
Mosquitto Dev, which is an answer contact for mosquitto.