Newer
Older
Resource environment/variables.txt
Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT} ssl_verify=false
Library JSONLibrary
Library JSONSchemaLibrary schemas/
POST Scale a vnfInstance
[Documentation] Test ID: 7.3.1.4.1
... Test title: POST Scale a vnfInstance
... Test objective: The objective is to scale a VNF instance
Giacomo Bernini
committed
... Pre-conditions: none
... Reference: Clause 5.4.5.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Applicability: none
... Post-Conditions: none
POST Scale a vnfInstance Conflict (Not-Instantiated)
[Documentation] Test ID: 7.3.1.4.2
... Test title: POST Scale a vnfInstance Conflict (Not-Instantiated)
... Test objective: The objective is to verify that the scale operation cannot be executed
... Pre-conditions: VNF instance resource is in NOT-INSTANTIATED state
... Reference: Clause 5.4.5.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Applicability: none
... Post-Conditions: none
POST Scale vnfInstance with VNF NOT-INSTANTIATED
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
POST Scale a vnfInstance Not Found
[Documentation] Test ID: 7.3.1.4.3
... Test title: POST Scale a vnfInstance Not Found
... Test objective: The objective is to verify that the operation cannot be executed currently, because the VNF instance resource is not found.
... Reference: Clause 5.4.5.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Applicability: none
... Post-Conditions: none
POST Scale vnfInstance with not existing VNF
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
[Documentation] Test ID: 7.3.1.4.4
... Test title: GET Scale VNFInstance - Method not implemented
... Test objective: The objective is to verify that the method is not implemented
... Reference: Clause 5.4.5.3.2 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Applicability: none
... Post-Conditions: none
GET Scale vnfInstance
Check HTTP Response Status Code Is 405
[Documentation] Test ID: 7.3.1.4.5
... Test title: PUT Scale VNFInstance - Method not implemented
... Test objective: The objective is to verify that the method is not implemented
... Reference: Clause 5.4.5.3.3 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Applicability: none
... Post-Conditions: none
PUT Scale vnfInstance
Check HTTP Response Status Code Is 405
... Test title: PATCH Scale VNFInstance - Method not implemented
... Test objective: The objective is to verify that the method is not implemented
... Reference: Clause 5.4.5.3.4 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Applicability: none
... Post-Conditions: none
PATCH Scale vnfInstance
Check HTTP Response Status Code Is 405
... Test title: DELETE Scale VNFInstance - Method not implemented
... Test objective: The objective is to verify that the method is not implemented
... Reference: Clause 5.4.5.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Post-Conditions: none
DELETE Scale vnfInstance
Check HTTP Response Status Code Is 405
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}
Integer response status 200