1 <?xml version="1.0" encoding="UTF-8"?>
2 <robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20190806 16:38:12.696" rpa="false">
3 <suite id="s1" name="Health" source="/home/ubuntu/oran_repo/LF-e2mgr/Automation/Tests/Health">
4 <suite id="s1-s1" name="Get Health Check" source="/home/ubuntu/oran_repo/LF-e2mgr/Automation/Tests/Health/get_health_check.robot">
5 <kw name="Start dockers" type="setup">
6 <kw name="Run And Return Rc And Output" library="OperatingSystem">
7 <doc>Runs the given command in the system and returns the RC and output.</doc>
9 <arg>${run_script}</arg>
11 <msg timestamp="20190806 16:38:13.043" level="INFO">Running command '/home/ubuntu/run.sh 2>&1'.</msg>
12 <status status="PASS" starttime="20190806 16:38:13.040" endtime="20190806 16:38:48.862"></status>
14 <kw name="Run And Return Rc And Output" library="OperatingSystem">
15 <doc>Runs the given command in the system and returns the RC and output.</doc>
17 <arg>${docker_command}</arg>
22 <msg timestamp="20190806 16:38:48.867" level="INFO">Running command 'docker ps | grep 1.0 | wc --lines 2>&1'.</msg>
23 <msg timestamp="20190806 16:38:48.950" level="INFO">${result} = (0, '4')</msg>
24 <status status="PASS" starttime="20190806 16:38:48.863" endtime="20190806 16:38:48.950"></status>
26 <kw name="Should Be Equal As Integers" library="BuiltIn">
27 <doc>Fails if objects are unequal after converting them to integers.</doc>
29 <arg>${result[1]}</arg>
32 <status status="PASS" starttime="20190806 16:38:48.951" endtime="20190806 16:38:48.952"></status>
34 <status status="PASS" starttime="20190806 16:38:13.040" endtime="20190806 16:38:48.953"></status>
36 <test id="s1-s1-t1" name="Get Health">
37 <kw name="Get" library="REST">
41 <doc>*Sends a GET request to the endpoint.*</doc>
45 <status status="PASS" starttime="20190806 16:38:48.954" endtime="20190806 16:38:48.990"></status>
47 <kw name="Integer" library="REST">
51 <doc>*Asserts the field as JSON integer.*</doc>
53 <arg>response status</arg>
56 <status status="PASS" starttime="20190806 16:38:48.991" endtime="20190806 16:38:48.993"></status>
58 <status status="PASS" starttime="20190806 16:38:48.953" endtime="20190806 16:38:48.993" critical="yes"></status>
60 <status status="PASS" starttime="20190806 16:38:12.728" endtime="20190806 16:38:48.994"></status>
62 <doc>ORAN health check</doc>
63 <status status="PASS" starttime="20190806 16:38:12.698" endtime="20190806 16:38:48.995"></status>
67 <stat pass="1" fail="0">Critical Tests</stat>
68 <stat pass="1" fail="0">All Tests</stat>
73 <stat pass="1" fail="0" id="s1" name="Health">Health</stat>
74 <stat pass="1" fail="0" id="s1-s1" name="Get Health Check">Health.Get Health Check</stat>