Newer
Older
*** Settings ***
Resource environment/variables.txt
Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT} ssl_verify=false
Library OperatingSystem
Library JSONLibrary
Library JSONSchemaLibrary schemas/
... Test objective: The objective is to create a new VNF instance resource
... Reference: Clause 5.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Post-Conditions: VNF instance created
POST Create a new vnfInstance
Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is vnfInstance
Check HTTP Response Body vnfInstance content against VNF Descriptor
... Test title: GET information about multiple VNF instances
... Test objective: The objective is to get information about multiples VNF instances
... Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
GET multiple vnfInstances
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
Check HTTP Response Body vnfInstances content against VNF Descriptor
GET information about multiple VNF instances Bad Request Invalid attribute-based filtering parameters
... Test title: GET information about multiple VNF instances Bad Request Invalid attribute-based filtering parameters
... Test objective: The objective is to get information about multiples VNF instances with Invalid attribute-based filtering parameters
... Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
GET multiple vnfInstances with bad attribute
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET information about multiple VNF instances Bad Request Invalid attribute selector
... Test title: GET information about multiple VNF instances Bad Request Invalid attribute selector
... Test objective: The objective is to get information about multiples VNF instances with Invalid attribute-based filtering parameters
... Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
GET multiple vnfInstances with bad filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET information about multiple VNF instances with "all_fields" attribute selector
[Documentation] Test ID: 6.3.5.1.5
... Test title: GET information about multiple VNF instances with "all_fields" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
GET multiple vnfInstances with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
GET information about multiple VNF instances with "exclude_default" attribute selector
[Documentation] Test ID: 6.3.5.1.6
... Test title: GET information about multiple VNF instances with "exclude_default" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
GET multiple vnfInstances with exclude_default attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
GET information about multiple VNF instances with "fields" attribute selector
[Documentation] Test ID: 6.3.5.1.7
... Test title: GET information about multiple VNF instances with "fields" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
GET multiple vnfInstances with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
GET information about multiple VNF instances with "exclude_fields" attribute selector
[Documentation] Test ID: 6.3.5.1.8
... Test title: GET information about multiple VNF instances with "exclude_fields" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Pre-conditions: none
... Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
GET multiple vnfInstances with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
PUT VNFInstances - Method not implemented
... Test title: PUT VNFInstances - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
PUT multiple vnfInstances
Check HTTP Response Status Code Is 405
PATCH VNFInstances - Method not implemented
... Test title: PATCH VNFInstances - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.2.3.4 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Applicability: none
... Post-Conditions: none
PATCH multiple vnfInstances
Check HTTP Response Status Code Is 405
DELETE VNFInstances - Method not implemented
... Test title: DELETE VNFInstances - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 5.4.2.3.5 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Post-Conditions: VNF instance not deleted
Check HTTP Response Status Code Is 405
GET information about multiple VNF instances with "exclude_default" and "fields" attribute selector
[Documentation] Test ID: 6.3.5.1.12
... Test title: GET information about multiple VNF instances with "exclude_default" and "fields" attribute selector
... Test objective: The objective is to query information about multiple VNF instances
... Pre-conditions: none
... Reference: Clause 5.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.8.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
GET multiple vnfInstances with exclude_default and fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances