Loading SOL005/NSPerformanceManagement-API/IndividualPmJob.robot +19 −5 Changes for SOL005/NSPerformanceManagement-API/IndividualPmJob.robot: 19 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -70,17 +70,18 @@ PUT Individual NS Performance Job - Method not implemented Send Put request for individual NS Performance Job Check HTTP Response Status Code Is 405 PATCH Individual NS Performance Job - Method not implemented PATCH Individual NS Performance Job [Documentation] Test ID: 5.3.4.2.6 ... Test title: PATCH Individual NS Performance Job - method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existing new NS Performance Monitoring Job ... Test title: PATCH Individual NS Performance Job ... Test objective: The objective is to test that PATCH method modify an existing new NS Performance Monitoring Job ... Pre-conditions: A NS instance is instantiated. One or more NS performance jobs are set in the NFVO. ... Reference: Clause 6.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none ... Post-Conditions: Resource modified Send Patch request for individual NS Performance Job Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is PmJobModifications DELETE Individual NS Performance Job [Documentation] Test ID: 5.3.4.2.7 Loading @@ -94,3 +95,16 @@ DELETE Individual NS Performance Job Send Delete request for individual NS Performance Job Check HTTP Response Status Code Is 204 Check Postcondition NS Pm Job is Deleted PATCH Individual NS Performance Job - Precondition failed [Documentation] Test ID: 5.3.4.2.8 ... Test title: PATCH Individual NS Performance Job - Precondition failed ... Test objective: The objective is to attempt to Modify an individual NS Performance job fails, where the precondition was not met ... Pre-conditions: The related job already exsisit ... Reference: Clause 7.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The resource is not modified Send Patch request for individual NS Performance Job Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails No newline at end of file SOL005/NSPerformanceManagement-API/IndividualSubscription.robot −102 File deleted. Show changes SOL005/NSPerformanceManagement-API/IndividualThreshold.robot +22 −9 Changes for SOL005/NSPerformanceManagement-API/IndividualThreshold.robot: 22 added lines, 9 removed lines. Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ GET Individual Threshold with invalid resource identifier ... Post-Conditions: none GET individual NS performance Threshold with invalid resource identifier Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails DELETE Individual Threshold with invalid resource identifier [Documentation] Test ID: 5.3.4.5.3 Loading @@ -55,10 +56,9 @@ POST Individual Threshold - Method not implemented ... Reference: Clause 7.4.6.3.1 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The NS performance Threshold is not created on the NFVO ... Post-Conditions: none Send Post request for individual NS performance Threshold Check HTTP Response Status Code Is 405 Check Postcondition NS performance Threshold is not Created PUT Individual Threshold - Method not implemented [Documentation] Test ID: 5.3.4.5.5 Loading @@ -68,22 +68,22 @@ PUT Individual Threshold - Method not implemented ... Reference: Clause 7.4.6.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The NS performance Threshold is not modified by the operation ... Post-Conditions: none Send Put request for individual NS performance Threshold Check HTTP Response Status Code Is 405 Check Postcondition NS performance Threshold is Unmodified (Implicit) PATCH Individual Threshold - Method not implemented PATCH Individual Threshold [Documentation] Test ID: 5.3.4.5.6 ... Test title: PATCH Individual Threshold - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existing NS performance threshold ... Test title: PATCH Individual Threshold ... Test objective: The objective is to test that PATCH method modify an existing NS performance threshold ... Pre-conditions: A NS instance is instantiated. One or more NS performance thresholds are set in the NFVO. ... Reference: Clause 7.4.6.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The NS performance Threshold is not modified by the operation ... Post-Conditions: The NS performance Threshold is modified by the operation Send Patch request for individual NS performance Threshold Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ThresholdModifications Check Postcondition NS performance Threshold is Unmodified (Implicit) DELETE Individual Threshold Loading @@ -99,3 +99,16 @@ DELETE Individual Threshold Check HTTP Response Status Code Is 204 Check Postcondition NS performance Threshold is Deleted PATCH Individual Threshold - Precondition failed [Documentation] Test ID: 5.3.4.5.8 ... Test title: PATCH Individual Threshold - Precondition failed ... Test objective: The objective is to attempt to Modify an individual NS Performance threshold fails, where the precondition was not met ... Pre-conditions: A NS instance is instantiated. One or more NS performance thresholds are set in the NFVO. ... Reference: Clause 7.4.6.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The NS performance Threshold is not modified by the operation Send Patch request for individual NS performance Threshold Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check Postcondition NS performance Threshold is Unmodified (Implicit) No newline at end of file SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot +8 −16 Changes for SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot: 8 added lines, 16 removed lines. Original line number Diff line number Diff line Loading @@ -236,10 +236,12 @@ Send Put request for individual NS Performance Job Set Suite Variable ${response} ${output} Send Patch request for individual NS Performance Job Log Trying to perform a PATCH (method should not be implemented) Log Trying to perform a PATCH Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} PATCH ${apiRoot}/${apiName}/${apiVersion}/pm_jobs/${pmJobId} ${body}= Get File jsons/PmJobModifications.json PATCH ${apiRoot}/${apiName}/${apiVersion}/pm_jobs/${pmJobId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading Loading @@ -380,7 +382,7 @@ Send Post Request Create new Performance Threshold Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} ${template}= Get File jsons/CreateThresholdRequest.json ${body}= Format String ${template} pmJobId=${pmJobId} POST ${apiRoot}/${apiName}/${apiVersion}/thresholds ${request} POST ${apiRoot}/${apiName}/${apiVersion}/thresholds ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading Loading @@ -480,11 +482,10 @@ Send Put request for individual NS performance Threshold Send Patch request for individual NS performance Threshold Log Trying to PUT threshold Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/thresholds/${thresholdId} ${origOutput}= Output response Set Suite Variable ${origResponse} ${origOutput} PATCH ${apiRoot}/${apiName}/${apiVersion}/thresholds/${thresholdId} ${body}= Get File jsons/ThresholdModifications.json PATCH ${apiRoot}/${apiName}/${apiVersion}/thresholds/${thresholdId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading @@ -496,15 +497,6 @@ Check Postcondition NS performance Threshold is Unmodified (Implicit) Should Be Equal ${origresponse['body']['id']} ${threshold.id} Should Be Equal ${origresponse['body']['criteria']} ${threshold.criteria} Check Postcondition NS performance Threshold is not Created Log Trying to get a new Threshold Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/thresholds/${newThresholdId} ${output}= Output response Set Suite Variable ${response} ${output} Check HTTP Response Status Code Is 404 Check Postcondition NS performance Threshold is Deleted Log Check Postcondition Threshold is deleted GET individual NS performance Threshold Loading SOL005/NSPerformanceManagement-API/Subscriptions.robot −182 File deleted.Preview size limit exceeded, changes collapsed. Show changes Loading
SOL005/NSPerformanceManagement-API/IndividualPmJob.robot +19 −5 Changes for SOL005/NSPerformanceManagement-API/IndividualPmJob.robot: 19 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -70,17 +70,18 @@ PUT Individual NS Performance Job - Method not implemented Send Put request for individual NS Performance Job Check HTTP Response Status Code Is 405 PATCH Individual NS Performance Job - Method not implemented PATCH Individual NS Performance Job [Documentation] Test ID: 5.3.4.2.6 ... Test title: PATCH Individual NS Performance Job - method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existing new NS Performance Monitoring Job ... Test title: PATCH Individual NS Performance Job ... Test objective: The objective is to test that PATCH method modify an existing new NS Performance Monitoring Job ... Pre-conditions: A NS instance is instantiated. One or more NS performance jobs are set in the NFVO. ... Reference: Clause 6.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none ... Post-Conditions: Resource modified Send Patch request for individual NS Performance Job Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is PmJobModifications DELETE Individual NS Performance Job [Documentation] Test ID: 5.3.4.2.7 Loading @@ -94,3 +95,16 @@ DELETE Individual NS Performance Job Send Delete request for individual NS Performance Job Check HTTP Response Status Code Is 204 Check Postcondition NS Pm Job is Deleted PATCH Individual NS Performance Job - Precondition failed [Documentation] Test ID: 5.3.4.2.8 ... Test title: PATCH Individual NS Performance Job - Precondition failed ... Test objective: The objective is to attempt to Modify an individual NS Performance job fails, where the precondition was not met ... Pre-conditions: The related job already exsisit ... Reference: Clause 7.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The resource is not modified Send Patch request for individual NS Performance Job Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails No newline at end of file
SOL005/NSPerformanceManagement-API/IndividualThreshold.robot +22 −9 Changes for SOL005/NSPerformanceManagement-API/IndividualThreshold.robot: 22 added lines, 9 removed lines. Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ GET Individual Threshold with invalid resource identifier ... Post-Conditions: none GET individual NS performance Threshold with invalid resource identifier Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails DELETE Individual Threshold with invalid resource identifier [Documentation] Test ID: 5.3.4.5.3 Loading @@ -55,10 +56,9 @@ POST Individual Threshold - Method not implemented ... Reference: Clause 7.4.6.3.1 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The NS performance Threshold is not created on the NFVO ... Post-Conditions: none Send Post request for individual NS performance Threshold Check HTTP Response Status Code Is 405 Check Postcondition NS performance Threshold is not Created PUT Individual Threshold - Method not implemented [Documentation] Test ID: 5.3.4.5.5 Loading @@ -68,22 +68,22 @@ PUT Individual Threshold - Method not implemented ... Reference: Clause 7.4.6.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The NS performance Threshold is not modified by the operation ... Post-Conditions: none Send Put request for individual NS performance Threshold Check HTTP Response Status Code Is 405 Check Postcondition NS performance Threshold is Unmodified (Implicit) PATCH Individual Threshold - Method not implemented PATCH Individual Threshold [Documentation] Test ID: 5.3.4.5.6 ... Test title: PATCH Individual Threshold - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existing NS performance threshold ... Test title: PATCH Individual Threshold ... Test objective: The objective is to test that PATCH method modify an existing NS performance threshold ... Pre-conditions: A NS instance is instantiated. One or more NS performance thresholds are set in the NFVO. ... Reference: Clause 7.4.6.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The NS performance Threshold is not modified by the operation ... Post-Conditions: The NS performance Threshold is modified by the operation Send Patch request for individual NS performance Threshold Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ThresholdModifications Check Postcondition NS performance Threshold is Unmodified (Implicit) DELETE Individual Threshold Loading @@ -99,3 +99,16 @@ DELETE Individual Threshold Check HTTP Response Status Code Is 204 Check Postcondition NS performance Threshold is Deleted PATCH Individual Threshold - Precondition failed [Documentation] Test ID: 5.3.4.5.8 ... Test title: PATCH Individual Threshold - Precondition failed ... Test objective: The objective is to attempt to Modify an individual NS Performance threshold fails, where the precondition was not met ... Pre-conditions: A NS instance is instantiated. One or more NS performance thresholds are set in the NFVO. ... Reference: Clause 7.4.6.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: The NS performance Threshold is not modified by the operation Send Patch request for individual NS performance Threshold Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check Postcondition NS performance Threshold is Unmodified (Implicit) No newline at end of file
SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot +8 −16 Changes for SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot: 8 added lines, 16 removed lines. Original line number Diff line number Diff line Loading @@ -236,10 +236,12 @@ Send Put request for individual NS Performance Job Set Suite Variable ${response} ${output} Send Patch request for individual NS Performance Job Log Trying to perform a PATCH (method should not be implemented) Log Trying to perform a PATCH Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} PATCH ${apiRoot}/${apiName}/${apiVersion}/pm_jobs/${pmJobId} ${body}= Get File jsons/PmJobModifications.json PATCH ${apiRoot}/${apiName}/${apiVersion}/pm_jobs/${pmJobId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading Loading @@ -380,7 +382,7 @@ Send Post Request Create new Performance Threshold Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} ${template}= Get File jsons/CreateThresholdRequest.json ${body}= Format String ${template} pmJobId=${pmJobId} POST ${apiRoot}/${apiName}/${apiVersion}/thresholds ${request} POST ${apiRoot}/${apiName}/${apiVersion}/thresholds ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading Loading @@ -480,11 +482,10 @@ Send Put request for individual NS performance Threshold Send Patch request for individual NS performance Threshold Log Trying to PUT threshold Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/thresholds/${thresholdId} ${origOutput}= Output response Set Suite Variable ${origResponse} ${origOutput} PATCH ${apiRoot}/${apiName}/${apiVersion}/thresholds/${thresholdId} ${body}= Get File jsons/ThresholdModifications.json PATCH ${apiRoot}/${apiName}/${apiVersion}/thresholds/${thresholdId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading @@ -496,15 +497,6 @@ Check Postcondition NS performance Threshold is Unmodified (Implicit) Should Be Equal ${origresponse['body']['id']} ${threshold.id} Should Be Equal ${origresponse['body']['criteria']} ${threshold.criteria} Check Postcondition NS performance Threshold is not Created Log Trying to get a new Threshold Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/thresholds/${newThresholdId} ${output}= Output response Set Suite Variable ${response} ${output} Check HTTP Response Status Code Is 404 Check Postcondition NS performance Threshold is Deleted Log Check Postcondition Threshold is deleted GET individual NS performance Threshold Loading
SOL005/NSPerformanceManagement-API/Subscriptions.robot −182 File deleted.Preview size limit exceeded, changes collapsed. Show changes