[RICPLT-1853] Couple of adjustments.........
[ric-plt/e2mgr.git] / Automation / Tests / ENDC-Setup / ENDC-setup_1_setup_request.robot
1 *** Settings ***
2 Suite Setup     Start dockers
3 Resource   ../Resource/resource.robot
4 Library     OperatingSystem
5 Library    Collections
6 Library     REST        ${url}
7
8
9
10
11 *** Test Cases ***
12 Post Request setup node b endc-setup
13     #${file}=     Get Binary File    ${PATH}
14     #${file}=     Evaluate       json.loads($file)   json
15     #Set To Dictionary   ${file}     ranName=test2
16     Set Headers     ${header}
17     POST        /v1/nodeb/endc-setup    ${json}
18     Integer     response status       200
19
20
21
22 *** Keywords ***
23 Start dockers
24      Run And Return Rc And Output    ${run_script}
25      ${result}=  Run And Return Rc And Output     ${docker_command}
26      Should Be Equal As Integers    ${result[1]}    4
27
28
29