E2E TS: Agent profile assignment and update


Prerequisities

  • Version 0.8 deployment with at least two devices registered and running


Steps

  1. Check actual value of device regular push interval (g_time_reg in /opt/adwarfg/settings.ini)
    1. The value must be equal to the Regular interval in the assigned agent profile (DEFAULT profile unless changed)
    2. The default value is 260
  2. Go to selected device details
  3. Switch Agent profile to FASTEST
  4. Wait until device connects to server (you may expedite this via UI or stop/start agent)
  5. Verify the g_time_reg is changed to 60 (and agent provides data to server every 40 seconds)
  6. Open Agent profiles
  7. Click on Edit button to edit the FASTEST profile
  8. Enter a different number instead of the default 60 (e.g. 40)
  9. Click on Save
  10. Wait for another device data push (or expedite it)
  11. Verify the g_time_reg on agent is now set to the tested value (40)
  12. Go to Devices
  13. Select all devices
  14. Use mass action Assign Agent Profile to assign the SLOWEST agent profile to all devices.
  15. Wait for devices next datapush (or expedite)
  16. Verify that selected devices has g_time_reg set to the correct value (86400 unless updated from the default to another value)