X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=csit%2Ftests%2Fcm-handle-query%2Fcm-handle-query.robot;fp=csit%2Ftests%2Fcm-handle-query%2Fcm-handle-query.robot;h=4941cde0775313473566685c21f7295da42dca07;hb=7e94b26a666907cc97d692b8dda8364bb0a0ef45;hp=3adc25362ce0ce48d52671b5f774a8113001ba9a;hpb=a72a36a338b8c6901e02742af8766baea57b0428;p=cps.git diff --git a/csit/tests/cm-handle-query/cm-handle-query.robot b/csit/tests/cm-handle-query/cm-handle-query.robot index 3adc25362c..4941cde077 100644 --- a/csit/tests/cm-handle-query/cm-handle-query.robot +++ b/csit/tests/cm-handle-query/cm-handle-query.robot @@ -41,17 +41,15 @@ Retrieve CM Handle ids where query parameters Match (module and property query) ${uri}= Set Variable ${ncmpBasePath}/ch/id-searches ${headers}= Create Dictionary Content-Type=application/json Authorization=${auth} ${response}= POST On Session CPS_URL ${uri} headers=${headers} data=${jsonModuleAndPropertyQueryParameters} - ${responseJson}= Set Variable ${response.json()} Should Be Equal As Strings ${response.status_code} 200 - Should Contain ${responseJson} PNFDemo + Should Contain ${response.json()} PNFDemo Retrieve CM Handle ids where query parameters Match (empty query) ${uri}= Set Variable ${ncmpBasePath}/ch/id-searches ${headers}= Create Dictionary Content-Type=application/json Authorization=${auth} ${response}= POST On Session CPS_URL ${uri} headers=${headers} data=${jsonEmptyQueryParameters} - ${responseJson}= Set Variable ${response.json()} Should Be Equal As Strings ${response.status_code} 200 - Should Contain ${responseJson} PNFDemo + Should Contain ${response.json()} PNFDemo Throw 400 when Structure of Request is Incorrect ${uri}= Set Variable ${ncmpBasePath}/ch/id-searches