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=14d37304d8b83efc099ba19d6f3e7d5d53fead29;hp=3adc25362ce0ce48d52671b5f774a8113001ba9a;hpb=93f2c3ff203d78d8cddae7878d16fe2f55661655;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 3adc25362..4941cde07 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