From e1a6043bd0997b5c96642162764340b3e2faefeb Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Thu, 3 Sep 2020 10:20:58 +0200 Subject: [PATCH] Fixe typos on NFVMANOCIM API tests --- .../ChangeStateOperationOccurance.robot | 100 +++++++++--------- .../NFVMANOCimKeywords.robot | 64 +++++------ .../NFVMANOServiceInterface.robot | 100 +++++++++--------- 3 files changed, 132 insertions(+), 132 deletions(-) diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeStateOperationOccurance.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeStateOperationOccurance.robot index f3bbd69d..388272b5 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeStateOperationOccurance.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeStateOperationOccurance.robot @@ -8,181 +8,181 @@ Library REST ${NFVMANO_SCHEMA}://${NFVMANO_HOST}:${NFVMANO_PORT} Library MockServerLibrary *** Test Cases *** -POST Change State Operation Occurance - Method not implemented +POST Change State Operation Occurrence - Method not implemented [Documentation] Test ID: 8.3.1.3.1 - ... Test title: POST Change State Operation Occurance - Method not implemented + ... Test title: POST Change State Operation Occurrence - Method not implemented ... Test objective: The objective is to test that POST method is not implemeted. ... Pre-conditions: none ... Reference: clause 5.5.8.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Send Post request for Change State Operation Occurance + Send Post request for Change State Operation Occurrence Check HTTP Response Status Code Is 405 -GET Change State Operation Occurance +GET Change State Operation Occurrence [Documentation] Test ID: 8.3.1.3.2 - ... Test title: GET Change State Operation Occurance + ... Test title: GET Change State Operation Occurrence ... Test objective: The objective is to query status information about multiple change state operation occurrences. ... Pre-conditions: none ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get Change State OpOcc + Get Change State Operation Occurrence Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ChangeStateOpOccs -GET Change State Operation Occurance - invalid attribute-based filter +GET Change State Operation Occurrence - invalid attribute-based filter [Documentation] Test ID: 8.3.1.3.3 - ... Test title: GET Change State Operation Occurance - invalid attribute-based filter - ... Test objective: The objective is to test that the retrieval of Change State Operation Occurance fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. + ... Test title: GET Change State Operation Occurrence - invalid attribute-based filter + ... Test objective: The objective is to test that the retrieval of Change State Operation Occurrence fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get Change State OpOcc with invalid filter + Get Change State Operation Occurrence with invalid filter Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails -GET Change State Operation Occurance - invalid attribute selector +GET Change State Operation Occurrence - invalid attribute selector [Documentation] Test ID: 8.3.1.3.4 - ... Test title: GET Change State Operation Occurance - invalid attribute selector - ... Test objective: The objective is to test that the retrieval of Change State Operation Occurance fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. + ... Test title: GET Change State Operation Occurrence - invalid attribute selector + ... Test objective: The objective is to test that the retrieval of Change State Operation Occurrence fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get Change State OpOcc with invalid selector + Get Change State Operation Occurrence with invalid selector Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails -GET Change State Operation Occurance - Bad Request Response too Big +GET Change State Operation Occurrence - Bad Request Response too Big [Documentation] Test ID: 8.3.1.3.5 - ... Test title: GET Change State Operation Occurance - Bad Request Response too Big - ... Test objective: The objective is to test that the retrieval of Change State Operation Occurance fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. + ... Test title: GET Change State Operation Occurrence - Bad Request Response too Big + ... Test objective: The objective is to test that the retrieval of Change State Operation Occurrence fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get Change State OpOcc + Get Change State Operation Occurrence Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails -GET Change State Operation Occurance with attribute-based filter +GET Change State Operation Occurrence with attribute-based filter [Documentation] Test ID: 8.3.1.3.6 - ... Test title: GET Change State Operation Occurance with attribute-based filter + ... Test title: GET Change State Operation Occurrence with attribute-based filter ... Test objective: The objective is to query status information about multiple change state operation occurrences with attribute filters ... Pre-conditions: none ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get Change State OpOcc with filter + Get Change State Operation Occurrence with filter Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ChangeStateOpOcc -GET Change State Operation Occurance with "all_fields" attribute selector +GET Change State Operation Occurrence with "all_fields" attribute selector [Documentation] Test ID: 8.3.1.3.7 - ... Test title: GET Change State Operation Occurance with "all_fields" attribute selector - ... Test objective: The objective is to retrieve Change State Operation Occurance with "all_fields" attribute selector + ... Test title: GET Change State Operation Occurrence with "all_fields" attribute selector + ... Test objective: The objective is to retrieve Change State Operation Occurrence with "all_fields" attribute selector ... Pre-conditions: none ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get Change State OpOcc with all_fields attribute selector + Get Change State Operation Occurrence with all_fields attribute selector Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ChangeStateOpOcc -GET Change State Operation Occurance with "exclude_default" attribute selector +GET Change State Operation Occurrence with "exclude_default" attribute selector [Documentation] Test ID: 8.3.1.3.8 - ... Test title: GET Change State Operation Occurance with "exclude_default" attribute selector - ... Test objective: The objective is to retrieve Change State Operation Occurance with "exclude_default" attribute selector + ... Test title: GET Change State Operation Occurrence with "exclude_default" attribute selector + ... Test objective: The objective is to retrieve Change State Operation Occurrence with "exclude_default" attribute selector ... Pre-conditions: ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: - Get Change State OpOcc with all_fields attribute selector + Get Change State Operation Occurrence with all_fields attribute selector Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ChangeStateOpOcc -GET Change State Operation Occurance with "fields" attribute selector +GET Change State Operation Occurrence with "fields" attribute selector [Documentation] Test ID: 8.3.1.3.9 - ... Test title: GET Change State Operation Occurance with "fields" attribute selector - ... Test objective: The objective is to retrieve Change State Operation Occurance with fields attribute selector + ... Test title: GET Change State Operation Occurrence with "fields" attribute selector + ... Test objective: The objective is to retrieve Change State Operation Occurrence with fields attribute selector ... Pre-conditions: ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: - Get Change State OpOcc with fields attribute selector + Get Change State Operation Occurrence with fields attribute selector Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ChangeStateOpOcc -GET Change State Operation Occurance with "exclude_fields" attribute selector +GET Change State Operation Occurrence with "exclude_fields" attribute selector [Documentation] Test ID: 8.3.1.3.10 - ... Test title: GET Change State Operation Occurance with "exclude_fields" attribute selector - ... Test objective: The objective is to retrieve Change State Operation Occurance with "exclude_fields" attribute selector + ... Test title: GET Change State Operation Occurrence with "exclude_fields" attribute selector + ... Test objective: The objective is to retrieve Change State Operation Occurrence with "exclude_fields" attribute selector ... Pre-conditions: ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: none - Get Change State OpOcc with exclude_fields attribute selector + Get Change State Operation Occurrence with exclude_fields attribute selector Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ChangeStateOpOcc -GET Change State Operation Occurance with Paged Response +GET Change State Operation Occurrence with Paged Response [Documentation] Test ID: 8.3.1.3.11 - ... Test title: GET Change State Operation Occurance with Paged Response - ... Test objective: The objective is to query Change State Operation Occurance to get Paged Response. + ... Test title: GET Change State Operation Occurrence with Paged Response + ... Test objective: The objective is to query Change State Operation Occurrence to get Paged Response. ... Pre-conditions: ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: - Get Change State OpOcc + Get Change State Operation Occurrence Check HTTP Response Status Code Is 200 Check LINK in Header -PUT Change State Operation Occurance - Method not implemented +PUT Change State Operation Occurrence - Method not implemented [Documentation] Test ID: 8.3.1.3.12 - ... Test title: PUT Change State Operation Occurance - Method not implemented + ... Test title: PUT Change State Operation Occurrence - Method not implemented ... Test objective: The objective is to test that PUT method is not implemeted. ... Pre-conditions: ... Reference: clause 5.5.8.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: - Send Put request for Change State Operation Occurance + Send Put request for Change State Operation Occurrence Check HTTP Response Status Code Is 405 -PATCH Change State Operation Occurance - Method not implemented +PATCH Change State Operation Occurrence - Method not implemented [Documentation] Test ID: 8.3.1.3.13 - ... Test title: PATCH Change State Operation Occurance - Method not implemented + ... Test title: PATCH Change State Operation Occurrence - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemeted. ... Pre-conditions: ... Reference: clause 5.5.8.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: - Send Patch request for Change State Operation Occurance + Send Patch request for Change State Operation Occurrence Check HTTP Response Status Code Is 405 -DELETE Change State Operation Occurance - Method not implemented +DELETE Change State Operation Occurrence - Method not implemented [Documentation] Test ID: 8.3.1.3.14 - ... Test title: DELETE Change State Operation Occurance - Method not implemented + ... Test title: DELETE Change State Operation Occurrence - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemeted. ... Pre-conditions: ... Reference: clause 5.5.8.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: - Send Delete request for Change State Operation Occurance + Send Delete request for Change State Operation Occurrence Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot index f2a01f2a..a6a71fa4 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot @@ -120,7 +120,7 @@ Send Delete request for NFV-MANO functional entity application state change ${output}= Output response Set Suite Variable ${response} ${output} -Send Post request for Change State Operation Occurance +Send Post request for Change State Operation Occurrence Log Trying to perform a POST (method should not be implemented) Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -128,7 +128,7 @@ Send Post request for Change State Operation Occurance ${output}= Output response Set Suite Variable ${response} ${output} -Get Change State OpOcc +Get Change State Operation Occurrence Log Query to GET information about multiple change state operation occurrences. Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -137,7 +137,7 @@ Get Change State OpOcc ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Get Change State OpOcc with invalid filter +Get Change State Operation Occurrence with invalid filter Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response @@ -145,7 +145,7 @@ Get Change State OpOcc with invalid filter ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Get Change State OpOcc with invalid selector +Get Change State Operation Occurrence with invalid selector Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response @@ -153,7 +153,7 @@ Get Change State OpOcc with invalid selector ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Get Change State OpOcc with filter +Get Change State Operation Occurrence with filter Log Query information about multiple change state operation occurrences with attribute filters. Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -162,7 +162,7 @@ Get Change State OpOcc with filter ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Get Change State OpOcc with all_fields attribute selector +Get Change State Operation Occurrence with all_fields attribute selector Log Queries information about multiple change state operation occurrences, using all_fields Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -170,7 +170,7 @@ Get Change State OpOcc with all_fields attribute selector ${output}= Output response Set Suite Variable ${response} ${output} -Get Change State OpOcc with fields attribute selector +Get Change State Operation Occurrence with fields attribute selector Log Queries information about multiple change state operation occurrences, using fields Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -178,7 +178,7 @@ Get Change State OpOcc with fields attribute selector ${output}= Output response Set Suite Variable ${response} ${output} -Get Change State OpOcc with exclude_fields attribute selector +Get Change State Operation Occurrence with exclude_fields attribute selector Log Queries information about multiple change state operation occurrences, using fields Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -190,7 +190,7 @@ Check LINK in Header ${linkURL}= Get Value From Json ${response['headers']} $..Link Should Not Be Empty ${linkURL} -Send PUT request for Change State Operation Occurance +Send PUT request for Change State Operation Occurrence log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -198,7 +198,7 @@ Send PUT request for Change State Operation Occurance ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send PATCH request for Change State Operation Occurance +Send PATCH request for Change State Operation Occurrence log Trying to perform a PATCH. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -206,7 +206,7 @@ Send PATCH request for Change State Operation Occurance ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send DELETE request for Change State Operation Occurance +Send DELETE request for Change State Operation Occurrence log Trying to perform a DELETE. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -214,7 +214,7 @@ Send DELETE request for Change State Operation Occurance ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send Post request for Individual Change State Operation Occurance +Send Post request for Individual Change State Operation Occurrence Log Trying to perform a POST (method should not be implemented) Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -222,7 +222,7 @@ Send Post request for Individual Change State Operation Occurance ${output}= Output response Set Suite Variable ${response} ${output} -Get Individual Change State OpOcc +Get Individual Change State Operation Occurrence Log Query to GET information about individual change state operation occurrences. Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -231,7 +231,7 @@ Get Individual Change State OpOcc ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send PUT request for Individual Change State Operation Occurance +Send PUT request for Individual Change State Operation Occurrence log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -239,7 +239,7 @@ Send PUT request for Individual Change State Operation Occurance ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send PATCH request for Individual Change State Operation Occurance +Send PATCH request for Individual Change State Operation Occurrence log Trying to perform a PATCH. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -247,7 +247,7 @@ Send PATCH request for Individual Change State Operation Occurance ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send DELETE request for Individual Change State Operation Occurance +Send DELETE request for Individual Change State Operation Occurrence log Trying to perform a DELETE. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -255,7 +255,7 @@ Send DELETE request for Individual Change State Operation Occurance ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send Post request for NFV-MANO Serive Interface +Send Post request for NFV-MANO Service Interface Log Trying to perform a POST (method should not be implemented) Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -263,7 +263,7 @@ Send Post request for NFV-MANO Serive Interface ${output}= Output response Set Suite Variable ${response} ${output} -Get NFV-MANO Serive Interface +Get NFV-MANO Service Interface Log Query to GET information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity. Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -272,7 +272,7 @@ Get NFV-MANO Serive Interface ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Get NFV-MANO Serive Interface with invalid filter +Get NFV-MANO Service Interface with invalid filter Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response @@ -280,7 +280,7 @@ Get NFV-MANO Serive Interface with invalid filter ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Get NFV-MANO Serive Interface with invalid selector +Get NFV-MANO Service Interface with invalid selector Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response @@ -288,7 +288,7 @@ Get NFV-MANO Serive Interface with invalid selector ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Get NFV-MANO Serive Interface with filter +Get NFV-MANO Service Interface with filter Log Query information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity with attribute filters. Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -297,7 +297,7 @@ Get NFV-MANO Serive Interface with filter ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Get NFV-MANO Serive Interface with all_fields attribute selector +Get NFV-MANO Service Interface with all_fields attribute selector Log Queries information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity, using all_fields Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -305,7 +305,7 @@ Get NFV-MANO Serive Interface with all_fields attribute selector ${output}= Output response Set Suite Variable ${response} ${output} -Get NFV-MANO Serive Interface with fields attribute selector +Get NFV-MANO Service Interface with fields attribute selector Log Queries information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity, using fields Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -313,7 +313,7 @@ Get NFV-MANO Serive Interface with fields attribute selector ${output}= Output response Set Suite Variable ${response} ${output} -Get NFV-MANO Serive Interface with exclude_fields attribute selector +Get NFV-MANO Service Interface with exclude_fields attribute selector Log Queries information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity, using fields Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -321,7 +321,7 @@ Get NFV-MANO Serive Interface with exclude_fields attribute selector ${output}= Output response Set Suite Variable ${response} ${output} -Send PUT request for NFV-MANO Serive Interface +Send PUT request for NFV-MANO Service Interface log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -329,7 +329,7 @@ Send PUT request for NFV-MANO Serive Interface ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send PATCH request for NFV-MANO Serive Interface +Send PATCH request for NFV-MANO Service Interface log Trying to perform a PATCH. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -337,7 +337,7 @@ Send PATCH request for NFV-MANO Serive Interface ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send DELETE request for NFV-MANO Serive Interface +Send DELETE request for NFV-MANO Service Interface log Trying to perform a DELETE. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -345,7 +345,7 @@ Send DELETE request for NFV-MANO Serive Interface ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send Post request for Individual NFV-MANO Serive Interface +Send Post request for Individual NFV-MANO Service Interface Log Trying to perform a POST (method should not be implemented) Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} @@ -353,7 +353,7 @@ Send Post request for Individual NFV-MANO Serive Interface ${output}= Output response Set Suite Variable ${response} ${output} -Get Individual NFV-MANO Serive Interface +Get Individual NFV-MANO Service Interface Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Log Execute Query and validate response @@ -361,7 +361,7 @@ Get Individual NFV-MANO Serive Interface ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send Put request for Individual NFV-MANO Serive Interface +Send Put request for Individual NFV-MANO Service Interface log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} @@ -369,7 +369,7 @@ Send Put request for Individual NFV-MANO Serive Interface ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send Patch request for Individual NFV-MANO Serive Interface +Send Patch request for Individual NFV-MANO Service Interface log Trying to modify an NFV-MANO Entity Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} @@ -379,7 +379,7 @@ Send Patch request for Individual NFV-MANO Serive Interface ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} -Send Delete request for Individual NFV-MANO Serive Interface +Send Delete request for Individual NFV-MANO Service Interface log Trying to perform a DELETE. This method should not be implemented Set Headers {"Accept":"${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOServiceInterface.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOServiceInterface.robot index 3c88c58d..4badcf11 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOServiceInterface.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOServiceInterface.robot @@ -8,181 +8,181 @@ Library REST ${NFVMANO_SCHEMA}://${NFVMANO_HOST}:${NFVMANO_PORT} Library MockServerLibrary *** Test Cases *** -POST NFV-MANO Serive Interface - Method not implemented +POST NFV-MANO Service Interface - Method not implemented [Documentation] Test ID: 8.3.1.5.1 - ... Test title: POST NFV-MANO Serive Interface - Method not implemented + ... Test title: POST NFV-MANO Service Interface - Method not implemented ... Test objective: The objective is to test that POST method is not implemeted. ... Pre-conditions: none ... Reference: clause 5.5.10.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Send Post request for NFV-MANO Serive Interface + Send Post request for NFV-MANO Service Interface Check HTTP Response Status Code Is 405 -GET NFV-MANO Serive Interface +GET NFV-MANO Service Interface [Documentation] Test ID: 8.3.1.5.2 - ... Test title: GET NFV-MANO Serive Interface + ... Test title: GET NFV-MANO Service Interface ... Test objective: The objective is to query status information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity. ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface + Get NFV-MANO Service Interface Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ManoServiceInterfaces -GET NFV-MANO Serive Interface - invalid attribute-based filter +GET NFV-MANO Service Interface - invalid attribute-based filter [Documentation] Test ID: 8.3.1.5.3 - ... Test title: GET NFV-MANO Serive Interface - invalid attribute-based filter - ... Test objective: The objective is to test that the retrieval of NFV-MANO Serive Interface fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. + ... Test title: GET NFV-MANO Service Interface - invalid attribute-based filter + ... Test objective: The objective is to test that the retrieval of NFV-MANO Service Interface fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface with invalid filter + Get NFV-MANO Service Interface with invalid filter Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails -GET NFV-MANO Serive Interface - invalid attribute selector +GET NFV-MANO Service Interface - invalid attribute selector [Documentation] Test ID: 8.3.1.5.4 - ... Test title: GET NFV-MANO Serive Interface - invalid attribute selector - ... Test objective: The objective is to test that the retrieval of NFV-MANO Serive Interface fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. + ... Test title: GET NFV-MANO Service Interface - invalid attribute selector + ... Test objective: The objective is to test that the retrieval of NFV-MANO Service Interface fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface with invalid selector + Get NFV-MANO Service Interface with invalid selector Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails -GET NFV-MANO Serive Interface - Bad Request Response too Big +GET NFV-MANO Service Interface - Bad Request Response too Big [Documentation] Test ID: 8.3.1.5.5 - ... Test title: GET NFV-MANO Serive Interface - Bad Request Response too Big - ... Test objective: The objective is to test that the retrieval of NFV-MANO Serive Interface fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. + ... Test title: GET NFV-MANO Service Interface - Bad Request Response too Big + ... Test objective: The objective is to test that the retrieval of NFV-MANO Service Interface fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface + Get NFV-MANO Service Interface Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails -GET NFV-MANO Serive Interface with attribute-based filter +GET NFV-MANO Service Interface with attribute-based filter [Documentation] Test ID: 8.3.1.5.6 - ... Test title: GET NFV-MANO Serive Interface with attribute-based filter + ... Test title: GET NFV-MANO Service Interface with attribute-based filter ... Test objective: The objective is to query status information about multiple NFV-MANO service interfaces of the NFV-MANO functional entities with attribute filters ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface with filter + Get NFV-MANO Service Interface with filter Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ManoServiceInterfaces -GET NFV-MANO Serive Interface with "all_fields" attribute selector +GET NFV-MANO Service Interface with "all_fields" attribute selector [Documentation] Test ID: 8.3.1.5.7 - ... Test title: GET NFV-MANO Serive Interface with "all_fields" attribute selector - ... Test objective: The objective is to retrieve NFV-MANO Serive Interface with "all_fields" attribute selector + ... Test title: GET NFV-MANO Service Interface with "all_fields" attribute selector + ... Test objective: The objective is to retrieve NFV-MANO Service Interface with "all_fields" attribute selector ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface with all_fields attribute selector + Get NFV-MANO Service Interface with all_fields attribute selector Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ManoServiceInterfaces -GET NFV-MANO Serive Interface with "exclude_default" attribute selector +GET NFV-MANO Service Interface with "exclude_default" attribute selector [Documentation] Test ID: 8.3.1.5.8 - ... Test title: GET NFV-MANO Serive Interface with "exclude_default" attribute selector - ... Test objective: The objective is to retrieve NFV-MANO Serive Interface with "exclude_default" attribute selector + ... Test title: GET NFV-MANO Service Interface with "exclude_default" attribute selector + ... Test objective: The objective is to retrieve NFV-MANO Service Interface with "exclude_default" attribute selector ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface with all_fields attribute selector + Get NFV-MANO Service Interface with all_fields attribute selector Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ManoServiceInterfaces -GET NFV-MANO Serive Interface with "fields" attribute selector +GET NFV-MANO Service Interface with "fields" attribute selector [Documentation] Test ID: 8.3.1.5.9 - ... Test title: GET NFV-MANO Serive Interface with "fields" attribute selector - ... Test objective: The objective is to retrieve NFV-MANO Serive Interface with fields attribute selector + ... Test title: GET NFV-MANO Service Interface with "fields" attribute selector + ... Test objective: The objective is to retrieve NFV-MANO Service Interface with fields attribute selector ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface with fields attribute selector + Get NFV-MANO Service Interface with fields attribute selector Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ManoServiceInterfaces -GET NFV-MANO Serive Interface with "exclude_fields" attribute selector +GET NFV-MANO Service Interface with "exclude_fields" attribute selector [Documentation] Test ID: 8.3.1.5.10 - ... Test title: GET NFV-MANO Serive Interface with "exclude_fields" attribute selector - ... Test objective: The objective is to retrieve NFV-MANO Serive Interface with "exclude_fields" attribute selector + ... Test title: GET NFV-MANO Service Interface with "exclude_fields" attribute selector + ... Test objective: The objective is to retrieve NFV-MANO Service Interface with "exclude_fields" attribute selector ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface with exclude_fields attribute selector + Get NFV-MANO Service Interface with exclude_fields attribute selector Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is ManoServiceInterfaces -GET NFV-MANO Serive Interface with Paged Response +GET NFV-MANO Service Interface with Paged Response [Documentation] Test ID: 8.3.1.5.11 - ... Test title: GET NFV-MANO Serive Interface with Paged Response - ... Test objective: The objective is to query NFV-MANO Serive Interface to get Paged Response. + ... Test title: GET NFV-MANO Service Interface with Paged Response + ... Test objective: The objective is to query NFV-MANO Service Interface to get Paged Response. ... Pre-conditions: none ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Get NFV-MANO Serive Interface + Get NFV-MANO Service Interface Check HTTP Response Status Code Is 200 Check LINK in Header -PUT NFV-MANO Serive Interface - Method not implemented +PUT NFV-MANO Service Interface - Method not implemented [Documentation] Test ID: 8.3.1.5.12 - ... Test title: PUT NFV-MANO Serive Interface - Method not implemented + ... Test title: PUT NFV-MANO Service Interface - Method not implemented ... Test objective: The objective is to test that PUT method is not implemeted. ... Pre-conditions: none ... Reference: clause 5.5.10.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Send Put request for NFV-MANO Serive Interface + Send Put request for NFV-MANO Service Interface Check HTTP Response Status Code Is 405 -PATCH NFV-MANO Serive Interface - Method not implemented +PATCH NFV-MANO Service Interface - Method not implemented [Documentation] Test ID: 8.3.1.5.13 - ... Test title: PATCH NFV-MANO Serive Interface - Method not implemented + ... Test title: PATCH NFV-MANO Service Interface - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemeted. ... Pre-conditions: none ... Reference: clause 5.5.10.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Send Patch request for NFV-MANO Serive Interface + Send Patch request for NFV-MANO Service Interface Check HTTP Response Status Code Is 405 -DELETE NFV-MANO Serive Interface - Method not implemented +DELETE NFV-MANO Service Interface - Method not implemented [Documentation] Test ID: 8.3.1.5.14 - ... Test title: DELETE NFV-MANO Serive Interface - Method not implemented + ... Test title: DELETE NFV-MANO Service Interface - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemeted. ... Pre-conditions: none ... Reference: clause 5.5.10.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none - Send Delete request for NFV-MANO Serive Interface + Send Delete request for NFV-MANO Service Interface Check HTTP Response Status Code Is 405 \ No newline at end of file -- GitLab