fix go mod and change tag version to 1.0.3
[ric-plt/e2mgr.git] / Automation / Tests / X2-Setup / X2-setup_1_send_request.robot
1 *** Settings ***
2 Suite Setup     Start dockers
3 Resource   ../Resource/resource.robot
4 Library     OperatingSystem
5 Library     REST      ${url}
6
7
8
9
10
11 *** Test Cases ***
12 Post Request setup node b x-2
13     #${file}=     Get Binary File    ${PATH}
14     #${file}=     Evaluate       json.loads($file)   json
15     Set Headers     ${header}
16     POST        /v1/nodeb/x2-setup    ${json}
17     Integer     response status       200
18
19
20 *** Keywords ***
21 Start dockers
22      Run And Return Rc And Output    ${run_script}
23      ${result}=  Run And Return Rc And Output     ${docker_command}
24      Should Be Equal As Integers    ${result[1]}    4
25
26
27
28
29