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 1 from the list "TestMessages" | 0 ms | Passed |
And The device "test-device-1" | 0 ms | Passed |
And The metric info items "AccountMetrics" 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: Account wide metrics check | 5 ms | Passed |
Then I prepare a number of messages with the following details and remember the list as "TestMessages" | 0 ms | Passed |
Then I store the messages from list "TestMessages" and remember the IDs as "StoredMessageIDs" | 0 ms | Passed |
Then There are exactly 4 metrics in the list "AccountMetrics" | 0 ms | Passed |
When I query for the current account metrics and store them as "AccountMetrics" | 0 ms | Passed |