E2E TS: Open, use and close webtunnel


Prerequisities

  • Version 0.4+ clean deploy
  • One Advantech router or OpenWRT device connected
    • The device must provide web interface on its local IPv4 address 127.0.0.1
  • License allowing at least one webtunnel


Steps

  1. Go to Tunnels -> Web
  2. Click on Actions -> Setup button in the table for free agent row
  3. Select device and click on Create
  4. Verify that Status changes from Free to Setup
  5. Wait a while (5 to 30 seconds)
  6. Verify that:
    1. Status changes from Setup to Waiting for device
    2. Actions is showing red Shutdown button
    3. Waiting time shows time counting down to the maximal expected device pickup of the tunnel (6 minutes at maximum)
  7. Check if autorefresh works and the time countdown updates every 5 seconds
  8. Verify that tunnel is setup and line in table updates to:
    1. Status: Ready
    2. Actions shows: Connect, Shutdown
  9. Connect to the device clicking on Connect - new tab/window is opened on the proxied connection to the correct device
  10. Click on Shutdown, confirm dialogue
  11. Verify that operation briefly (5-30 seconds) sets to SHUTDOWN and then:
    1. Status changes to Shutting down
    2. Countdown time is displayed for the device agent to pick up device shutdown operation
  12. Verify that once countdown expires:
    1. Tunnel status is back to Free
    2. Operation is displaying Setup again