1 <?xml version="1.0" encoding="UTF-8"?>
2 <robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20190730 11:39:09.837" rpa="false">
3 <suite id="s1" name="ENDC-setup 1 setup request" source="/home/ubuntu/PycharmProjects/Oran/ENDC-Setup/ENDC-setup_1_setup_request.robot">
4 <kw name="Start dockers" type="setup">
5 <kw name="Run And Return Rc And Output" library="OperatingSystem">
6 <doc>Runs the given command in the system and returns the RC and output.</doc>
8 <arg>${run_script}</arg>
10 <msg timestamp="20190730 11:39:10.269" level="INFO">Running command '/home/ubuntu/run.sh 2>&1'.</msg>
11 <status status="PASS" starttime="20190730 11:39:10.267" endtime="20190730 11:39:31.104"></status>
13 <kw name="Run And Return Rc And Output" library="OperatingSystem">
14 <doc>Runs the given command in the system and returns the RC and output.</doc>
16 <arg>${docker_command}</arg>
21 <msg timestamp="20190730 11:39:31.106" level="INFO">Running command 'docker ps | grep snapshot | wc --lines 2>&1'.</msg>
22 <msg timestamp="20190730 11:39:31.142" level="INFO">${result} = (0, '4')</msg>
23 <status status="PASS" starttime="20190730 11:39:31.104" endtime="20190730 11:39:31.142"></status>
25 <kw name="Should Be Equal As Integers" library="BuiltIn">
26 <doc>Fails if objects are unequal after converting them to integers.</doc>
28 <arg>${result[1]}</arg>
31 <status status="PASS" starttime="20190730 11:39:31.143" endtime="20190730 11:39:31.143"></status>
33 <status status="PASS" starttime="20190730 11:39:10.267" endtime="20190730 11:39:31.143"></status>
35 <test id="s1-t1" name="Post Request setup node b endc-setup">
36 <kw name="Set Headers" library="REST">
40 <doc>*Sets new request headers or updates the existing.*</doc>
44 <status status="PASS" starttime="20190730 11:39:31.144" endtime="20190730 11:39:31.145"></status>
46 <kw name="Post" library="REST">
50 <doc>*Sends a POST request to the endpoint.*</doc>
52 <arg>/v1/nodeb/endc-setup</arg>
55 <status status="PASS" starttime="20190730 11:39:31.145" endtime="20190730 11:39:31.192"></status>
57 <kw name="Integer" library="REST">
61 <doc>*Asserts the field as JSON integer.*</doc>
63 <arg>response status</arg>
66 <status status="PASS" starttime="20190730 11:39:31.192" endtime="20190730 11:39:31.193"></status>
68 <status status="PASS" starttime="20190730 11:39:31.143" endtime="20190730 11:39:31.194" critical="yes"></status>
70 <status status="PASS" starttime="20190730 11:39:09.838" endtime="20190730 11:39:31.194"></status>
74 <stat pass="1" fail="0">Critical Tests</stat>
75 <stat pass="1" fail="0">All Tests</stat>
80 <stat pass="1" fail="0" id="s1" name="ENDC-setup 1 setup request">ENDC-setup 1 setup request</stat>