[RICPLT-1960] - Update rmr to v1.3.0
[ric-plt/e2mgr.git] / Automation / Tests / ENDC-Setup / ENDC-setup_2_get_nodeb_gnb.robot
1 *** Settings ***
2 Resource   ../Resource/resource.robot
3 #Suite Setup     Start dockers
4 Library     OperatingSystem
5 Library    Collections
6 Library     REST        ${url}
7
8
9
10 *** Test Cases ***
11 Get request gnb
12     Sleep    1s
13     GET      /v1/nodeb/test1
14     Integer  response status  200
15     String   response body ranName    test1
16     String   response body ip    10.0.2.15
17     String   response body connectionStatus    CONNECTED
18     Integer  response body port     5577
19     String   response body nodeType     GNB
20     Integer  response body gnb servedNrCells 0 servedNrCellInformation nrPci  99
21     String   response body gnb servedNrCells 0 servedNrCellInformation cellId  02f829:0007ab0120
22     String   response body gnb servedNrCells 0 servedNrCellInformation servedPlmns 0   "02f829"
23     String   response body gnb servedNrCells 0 servedNrCellInformation nrMode  FDD
24     String   response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd ulFreqInfo nrArFcn   100
25     Integer  response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd ulFreqInfo frequencyBands 0 nrFrequencyBand       9
26     Integer  response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd ulFreqInfo frequencyBands 0 supportedSulBands 0    9
27     String   response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd dlFreqInfo nrArFcn   100
28     Integer  response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd dlFreqInfo frequencyBands 0 nrFrequencyBand        9
29     Integer  response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd dlFreqInfo frequencyBands 0 supportedSulBands 0     9
30     String   response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd ulTransmissionBandwidth nrscs   SCS15
31     String  response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd ulTransmissionBandwidth ncnrb   NRB11
32     String  response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd dlTransmissionBandwidth nrscs   SCS15
33     String  response body gnb servedNrCells 0 servedNrCellInformation choiceNrMode fdd dlTransmissionBandwidth ncnrb   NRB11
34
35
36
37
38 #*** Keywords ***
39 #Start dockers
40      #Run And Return Rc And Output    ${run_script}
41      #${result}=  Run And Return Rc And Output     ${docker_command}
42      #Should Be Equal As Integers    ${result[1]}    4
43