# tests-node1_iqmesh.tavern.yaml
---

test_name: Test mqtt message - iqmesh services

includes:
  - !include common.yaml

paho-mqtt: &mqtt_spec
  client:
    transport: tcp
    client_id: tavern-tester
  connect:
    host: "{mqtt_host:s}"
    port: !int "{mqtt_port:d}"
    timeout: 5

#node1 - std tr temp
stages:
  - name: iqmesh enum
    max_retries: 1
    mqtt_publish:
      topic: Iqrf/DpaRequest
      json: !include messages/node1/iqmeshNetwork_EnumerateDevice-request-1-0-0.yaml

    mqtt_response:
      topic: Iqrf/DpaResponse
      json: !include messages/node1/iqmeshNetwork_EnumerateDevice-response-1-0-0.yaml
      timeout: 5
