And I delete all indices | 0 ms | Passed |
And I refresh all indices | 0 ms | Passed |
And I select account "kapua-sys" | 0 ms | Passed |
And I set the database to device timestamp indexing | 0 ms | Passed |
And I set the following metrics to the message 0 from the list "TestMessages" | 0 ms | Passed |
And I set the following metrics to the message 0 from the list "TestMessages2" | 0 ms | Passed |
And I set the following metrics to the message 1 from the list "TestMessages" | 0 ms | Passed |
And The device "test-device-1" | 0 ms | Passed |
And The metric info items "Client1Metrics" match the prepared messages in "TestMessages" | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Scenario: MetricsInfo client ID and topic data based on the client id | 4 ms | Passed |
Then I prepare a number of messages with the following details and remember the list as "TestMessages" | 0 ms | Passed |
Then I prepare a number of messages with the following details and remember the list as "TestMessages2" | 0 ms | Passed |
Then I store the messages from list "TestMessages" and remember the IDs as "StoredMessageIDs" | 0 ms | Passed |
Then I store the messages from list "TestMessages2" and remember the IDs as "StoredMessageIDs2" | 0 ms | Passed |
Then There are exactly 4 metrics in the list "Client1Metrics" | 0 ms | Passed |
When I query for the metrics from client "test-client-1" and store them as "Client1Metrics" | 0 ms | Passed |