From 212024a46549a546b735febc13724a6e7771d315 Mon Sep 17 00:00:00 2001 From: Michele Carignani Date: Fri, 15 Jan 2021 19:12:21 +0100 Subject: [PATCH] fixes RnisQuery_BV --- SRV/RNIS/RnisQuery_BV.robot | 6 +++--- SRV/RNIS/resources/RadioNetworkInformationAPI.robot | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/SRV/RNIS/RnisQuery_BV.robot b/SRV/RNIS/RnisQuery_BV.robot index 2ba3f34..6b0e4cc 100644 --- a/SRV/RNIS/RnisQuery_BV.robot +++ b/SRV/RNIS/RnisQuery_BV.robot @@ -18,7 +18,7 @@ Request RabInfo info ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo Get RabInfo info Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is RabInfos + Check HTTP Response Body Json Schema Is RabInfo Check RabInfo ${response['body']} @@ -30,7 +30,7 @@ Request Plmn info Get PLMN info Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is PlmnInfos - Check PlmnInfo ${response['body']} + Check PlmnInfo ${response['body'][0]} Request S1Bearer info @@ -43,7 +43,7 @@ Request S1Bearer info Check HTTP Response Body Json Schema Is S1BearerInfos #log ${response['body']} Check S1BearerInfo ${response['body']} - + Request L2Meas info [Documentation] TC_MEC_SRV_RNIS_019_OK ... Check that the RNIS service returns the L2 measurements information diff --git a/SRV/RNIS/resources/RadioNetworkInformationAPI.robot b/SRV/RNIS/resources/RadioNetworkInformationAPI.robot index 05edc8f..eaa00f0 100644 --- a/SRV/RNIS/resources/RadioNetworkInformationAPI.robot +++ b/SRV/RNIS/resources/RadioNetworkInformationAPI.robot @@ -27,8 +27,7 @@ Check RabInfo log ${received_value} Should Be Equal As Strings ${received_value['appInstanceId']} ${APP_INS_ID} Should Not Be Empty ${received_value['requestId']} - Should Be Equal As Strings ${received_value['cellUserInfo'][0]['ecgi']['cellId']} ${CELL_ID} - + Run Keyword If 'cellUserInfo' in ${received_value} Should Be Equal As Strings ${received_value['cellUserInfo'][0]['ecgi']['cellId']} ${CELL_ID} Check PlmnInfo [Arguments] ${received_value} -- GitLab