X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Flib%2Fsol003_common_lib.robot;h=d23349898412218a3bd953cf43a9e50090df3bf9;hb=9553b6fa14f5e73d8dbf46d31ebcd8a796bfa005;hp=5231e921268afe9ae924d37a8fda0d1b01103286;hpb=b3d11c091bbb6a893bcbac1ef561af632b5a263c;p=osm%2Ftests.git diff --git a/robot-systest/lib/sol003_common_lib.robot b/robot-systest/lib/sol003_common_lib.robot index 5231e92..d233498 100644 --- a/robot-systest/lib/sol003_common_lib.robot +++ b/robot-systest/lib/sol003_common_lib.robot @@ -35,11 +35,11 @@ ${vnf_instance_lcm_ops} /osm/vnflcm/v1/vnf_lcm_op_occs Get Auth Token [Tags] auth_token Get Hostname - Create Session osmhit ${HOST} + Create Session osmhit ${HOST} disable_warnings=1 &{headers} Create Dictionary Content-Type=application/json Accept=application/json &{data} Create Dictionary username=${osm_user} password=${osm_password} project-id=${osm_project} ${resp}= Post On Session osmhit ${auth_token_uri} json=${data} headers=${headers} - log ${resp} + Log ${resp} Pass Execution If ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Set Suite Variable ${token_status_code} ${resp.status_code} ${access_token}= Get Value From Json ${resp.json()} $..id @@ -89,7 +89,7 @@ Update Json Value [Arguments] ${JsonInput} ${key} ${json_path}= Read Directory ${json_obj}= Load JSON From File ${json_path}/${JsonInput} - ${updated_json_obj} JSONLibrary.Update Value To Json ${json_obj} $..${key} ${created_vim_account_id} + ${updated_json_obj}= JSONLibrary.Update Value To Json ${json_obj} $..${key} ${created_vim_account_id} Set Suite Variable ${updated_json_obj} Get Api Request