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