Loading SOL005/NSPerformanceManagement-API/IndividualPmJob.robot +1 −1 Original line number Original line Diff line number Diff line Loading @@ -108,7 +108,7 @@ PATCH Individual NS Performance Job - Precondition failed ... Config ID: Config_prod_NFVO ... Config ID: Config_prod_NFVO ... Applicability: none ... Applicability: none ... Post-Conditions: none ... Post-Conditions: none Send Patch request for individual NS Performance Job Send Patch request for individual NS Performance Job - Etag mismatch Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Loading SOL005/NSPerformanceManagement-API/IndividualThreshold.robot +1 −1 Original line number Original line Diff line number Diff line Loading @@ -111,7 +111,7 @@ PATCH Individual Threshold - Precondition failed ... Config ID: Config_prod_NFVO ... Config ID: Config_prod_NFVO ... Applicability: none ... Applicability: none ... Post-Conditions: The NS performance Threshold is not modified by the operation ... Post-Conditions: The NS performance Threshold is not modified by the operation Send Patch request for individual NS performance Threshold Send Patch request for individual NS performance Threshold - Etag mismatch Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Check Postcondition NS performance Threshold is Unmodified (Implicit) Check Postcondition NS performance Threshold is Unmodified (Implicit) Loading SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot +25 −1 Original line number Original line Diff line number Diff line Loading @@ -269,6 +269,18 @@ Send Patch request for individual NS Performance Job Set Suite Variable ${response} ${output} Set Suite Variable ${response} ${output} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint} Send Patch request for individual NS Performance Job - Etag mismatch Log Trying to perform a PATCH Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Set Headers {"If-Match": "${invalid_etag}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/PmJobModifications.json ${body}= Format String ${template} callbackUri=${callback_uri} callbackEndpoint=${callback_endpoint} callbackPort=${callback_port} PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Send Patch request for individual NS Performance Job with Unprocessable Entity Send Patch request for individual NS Performance Job with Unprocessable Entity Log Trying to perform a PATCH Log Trying to perform a PATCH Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Accept": "${ACCEPT_JSON}"} Loading Loading @@ -525,6 +537,18 @@ Send Patch request for individual NS performance Threshold Set Suite Variable ${response} ${output} Set Suite Variable ${response} ${output} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint} Send Patch request for individual NS performance Threshold - Etag mismatch Log Trying to PUT threshold Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Set Headers {"If-Match": "${invalid_etag}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/ThresholdModifications.json ${body}= Format String ${template} callbackUri=${callback_uri} callbackEndpoint=${callback_endpoint} callbackPort=${callback_port} PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Send Patch request for individual NS performance Threshold with Unprocessable Entity Send Patch request for individual NS performance Threshold with Unprocessable Entity Log Trying to PUT threshold Log Trying to PUT threshold Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Accept": "${ACCEPT_JSON}"} Loading SOL005/NSPerformanceManagement-API/environment/variables.txt +2 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,8 @@ ${sleep_interval} 20s ${total_polling_time} 2 min ${total_polling_time} 2 min ${polling_interval} 10 sec ${polling_interval} 10 sec ${invalid_etag} invalid etag ${performanceMetric} cpu_util ${performanceMetric} cpu_util ${thresholdType} SIMPLE ${thresholdType} SIMPLE ${thresholdValue} 10 ${thresholdValue} 10 Loading Loading
SOL005/NSPerformanceManagement-API/IndividualPmJob.robot +1 −1 Original line number Original line Diff line number Diff line Loading @@ -108,7 +108,7 @@ PATCH Individual NS Performance Job - Precondition failed ... Config ID: Config_prod_NFVO ... Config ID: Config_prod_NFVO ... Applicability: none ... Applicability: none ... Post-Conditions: none ... Post-Conditions: none Send Patch request for individual NS Performance Job Send Patch request for individual NS Performance Job - Etag mismatch Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Loading
SOL005/NSPerformanceManagement-API/IndividualThreshold.robot +1 −1 Original line number Original line Diff line number Diff line Loading @@ -111,7 +111,7 @@ PATCH Individual Threshold - Precondition failed ... Config ID: Config_prod_NFVO ... Config ID: Config_prod_NFVO ... Applicability: none ... Applicability: none ... Post-Conditions: The NS performance Threshold is not modified by the operation ... Post-Conditions: The NS performance Threshold is not modified by the operation Send Patch request for individual NS performance Threshold Send Patch request for individual NS performance Threshold - Etag mismatch Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Check Postcondition NS performance Threshold is Unmodified (Implicit) Check Postcondition NS performance Threshold is Unmodified (Implicit) Loading
SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot +25 −1 Original line number Original line Diff line number Diff line Loading @@ -269,6 +269,18 @@ Send Patch request for individual NS Performance Job Set Suite Variable ${response} ${output} Set Suite Variable ${response} ${output} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint} Send Patch request for individual NS Performance Job - Etag mismatch Log Trying to perform a PATCH Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Set Headers {"If-Match": "${invalid_etag}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/PmJobModifications.json ${body}= Format String ${template} callbackUri=${callback_uri} callbackEndpoint=${callback_endpoint} callbackPort=${callback_port} PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Send Patch request for individual NS Performance Job with Unprocessable Entity Send Patch request for individual NS Performance Job with Unprocessable Entity Log Trying to perform a PATCH Log Trying to perform a PATCH Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Accept": "${ACCEPT_JSON}"} Loading Loading @@ -525,6 +537,18 @@ Send Patch request for individual NS performance Threshold Set Suite Variable ${response} ${output} Set Suite Variable ${response} ${output} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint} Send Patch request for individual NS performance Threshold - Etag mismatch Log Trying to PUT threshold Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Set Headers {"If-Match": "${invalid_etag}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/ThresholdModifications.json ${body}= Format String ${template} callbackUri=${callback_uri} callbackEndpoint=${callback_endpoint} callbackPort=${callback_port} PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Send Patch request for individual NS performance Threshold with Unprocessable Entity Send Patch request for individual NS performance Threshold with Unprocessable Entity Log Trying to PUT threshold Log Trying to PUT threshold Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Accept": "${ACCEPT_JSON}"} Loading
SOL005/NSPerformanceManagement-API/environment/variables.txt +2 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,8 @@ ${sleep_interval} 20s ${total_polling_time} 2 min ${total_polling_time} 2 min ${polling_interval} 10 sec ${polling_interval} 10 sec ${invalid_etag} invalid etag ${performanceMetric} cpu_util ${performanceMetric} cpu_util ${thresholdType} SIMPLE ${thresholdType} SIMPLE ${thresholdValue} 10 ${thresholdValue} 10 Loading