sharding- start mongo in sharded mode (7 servers), conflicts withmock_workers,agent_workersmock_workers- start mock in scaled mode (nginx or haproxy as a load balancer and 2-6 workers), conflicts withshardingandagent_workersmock_workers_ct- start each of mocks with defined amount of workers (default = 4)agent_workers- start iot-agent in scaled mode (nginx or haproxy as a load balancer and 2-6 workers), conflicts withshardingandmock_workersproxy- type of proxy for mock and agent, nginx or haproxy (default - nginx)threads- amount of parallel connections (default = 300)duration- time to test (default = 120s)enabler- enabler to testtest- test to executeclinic- special test for agent,doctororflame(default - doctor)
- agent (iot-agent-json)
- clinic (doctor, flame)
- unit
- functional
- performance
- mongo
- performance
- mock
- performance
- orion
- performance
- hosted
agent_wokers,mock_workers,shardingare not available
- cloud
ansible-playbook -e enabler='agent' -e agent_workers=2 -e mock_workers=3 -e test=performance cloud.yml