You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Initializing the Robot Web Page
The robot container on the Robot VM is initialized with a password protected Web page that should be initialized after all of the ONAP VMs have been started. This page presents some useful information and links for the ONAP instance under test. Use the demo.sh script to initialize the web page and provide a password for the 'test' user required to access the page.
- ssh into the Robot VM
- cd /opt
- ./demo.sh init_robot
./demo.sh init_robot will prompt to enter the password for the user 'test', traditionally 'test' is used as the password as well.
root@vm03-robot:/opt# ./demo.sh init_robot WEB Site Password for user 'test': Starting Xvfb on display :89 with res 1280x1024x24 Executing robot tests at log level TRACE ============================================================================== OpenECOMP ETE ============================================================================== OpenECOMP ETE.Robot ============================================================================== OpenECOMP ETE.Robot.Testsuites ============================================================================== OpenECOMP ETE.Robot.Testsuites.Update Onap Page :: Initializes ONAP Test We... ============================================================================== Update ONAP Page | PASS | ------------------------------------------------------------------------------ OpenECOMP ETE.Robot.Testsuites.Update Onap Page :: Initializes ONA... | PASS | 1 critical test, 1 passed, 0 failed 1 test total, 1 passed, 0 failed ============================================================================== OpenECOMP ETE.Robot.Testsuites | PASS | 1 critical test, 1 passed, 0 failed 1 test total, 1 passed, 0 failed ============================================================================== OpenECOMP ETE.Robot | PASS | 1 critical test, 1 passed, 0 failed 1 test total, 1 passed, 0 failed ============================================================================== OpenECOMP ETE | PASS | 1 critical test, 1 passed, 0 failed 1 test total, 1 passed, 0 failed ============================================================================== Output: /share/logs/demo/UpdateWebPage/output.xml Log: /share/logs/demo/UpdateWebPage/log.html Report: /share/logs/demo/UpdateWebPage/report.html |
---|
Access the robot page with http://<robot_vm_ip>:88. You will be prompted for credentials. Enter user 'test' with the password provided above.
![](/download/attachments/16003882/image2017-10-26_5-2-49.png?version=1&modificationDate=1509008571000&api=v2)
![](/download/attachments/16003882/image2017-10-26_5-4-25.png?version=1&modificationDate=1509008668000&api=v2)
Accessing the Robot Logs
The Robot Logs are best viewed via the browser at http://<robot_vm_init:88/logs/ or via the link in Quicklinks page above.
![](/download/attachments/16003882/image2017-10-26_5-7-39.png?version=1&modificationDate=1509008862000&api=v2)
![](/download/attachments/16003882/image2017-10-26_5-8-26.png?version=1&modificationDate=1509008908000&api=v2)
![](/download/attachments/16003882/image2017-10-26_5-9-5.png?version=1&modificationDate=1509008947000&api=v2)