Test Result : Scenario: Negative scenario when client connects twice with same client id

0 failures
11 tests
Took 28 ms.

All Tests

Test nameDurationStatus
And Client named "client-1-2" is connected0 msPassed
And Client with name "client-1-2" with client id "client-1" user "kapua-broker" password "kapua-password" is connected0 msPassed
And Disconnect client with name "client-1-2"0 msPassed
And I wait 2 seconds0 msPassed
And I wait 2 seconds0 msPassed
And topic "$EDC/kapua-sys/client-1/MQTT/BIRTH" content "/mqtt/rpione3_MQTT_BIRTH.mqtt" is published by client named "client-1-1"0 msPassed
And topic "$EDC/kapua-sys/client-1/MQTT/CONNECT" content "/mqtt/rpione3_MQTT_BIRTH.mqtt" is published by client named "client-1-1"0 msPassed
Given Client with name "client-1-1" with client id "client-1" user "kapua-broker" password "kapua-password" is connected0 msPassed
Scenario: Negative scenario when client connects twice with same client id28 msPassed
Then Client named "client-1-1" is not connected0 msPassed
Then Disconnect client with name "client-1-1"0 msPassed