Wrong parameter name in GET Network Service Descriptors Information with attribute-based filter test case
SOL005/NSDManagement-API/environment/NSDescriptors.robot
GET Network Service Descriptors Information with attribute-based filter
[Documentation] Test ID: 5.3.1.1.2
... Test title: GET Network Service Descriptors Information with attribute-based filter
... Test objective: The objective is to test the retrieval of Network Service Descriptors information using attribute-based filter, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued attribute-based filter
... Pre-conditions: One or more Network Service Descriptors are onboarded in the NFVO.
... Reference: section 5.4.2.3.2 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Network Service Descriptors Information with attribute-based filter
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is NsdInfos
Check HTTP Response Body NsdInfos Matches the requested attribute-based filter
SOL005/NSDManagement-API/environment/NSDManagementKeywords.robot
GET Network Service Descriptors Information with attribute-based filter
Log The GET method queries multiple NS descriptors using Attribute-based filtering parameters
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/ns_descriptors?${POS_FIELDS}
${output}= Output response
Set Suite Variable ${response} ${output}
SOL005/NSDManagement-API/environment/nsDescriptors.txt
*** Variables ***
${POS_FIELDS} name=nsdOnboardingState
From the standard: All attribute names that appear in the NsdInfo and in data types referenced from it shall be supported in attribute-based filtering parameters.
In the Definition of the NsdInfo data type there is no name attribute, it should be nsdName.