Commit d77d4353 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Merge branch 'fix_of_known_issues_and_backlog' into '2.6.1-dev'

Fixes of TST010 Annex A Known Issues and TST010 Backlog

See merge request !88
parents 166b1444 23e060f7
......@@ -3,3 +3,4 @@
/red.xml
build/
dist/
/libspecs/
Copyright 2019 ETSI
Copyright 2019-2020 ETSI
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
......
......@@ -37,7 +37,7 @@ GET information about multiple alarms with attribute-based filter
... Test title: GET information about multiple alarms with attribute-based filter
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Reference: clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
......@@ -50,73 +50,20 @@ GET information about multiple alarms with invalid attribute-based filter
... Test title: GET information about multiple alarms with invalid attribute-based filter
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: clause 7.4.2.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Reference: clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
GET Alarms Task with invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET information about multiple alarms with "all_fields" attribute selector
[Documentation] Test ID: 6.3.4.1.5
... Test title: GET information about multiple alarms with "all_fields" attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
GET Alarms Task with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
GET information about multiple alarms with exclude_default attribute selector
[Documentation] Test ID: 6.3.4.1.6
... Test title: GET information about multiple alarms with "exclude_default" attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
GET Alarms Task with exclude_default attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
GET information about multiple alarms with fields attribute selector
[Documentation] Test ID: 6.3.4.1.7
... Test title: GET information about multiple alarms with fields attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
GET Alarms Task with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
GET information about multiple alarms with "exclude_fields" attribute selector
[Documentation] Test ID: 6.3.4.1.8
... Test title: GET information about multiple alarms with "exclude_fields" attribute selector
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions: none
GET Alarms Task with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarms
PUT Alarms - Method not implemented
[Documentation] Test ID: 6.3.4.1.9
... Test title: PUT Alarms - Method not implemented
... Test objective: The objective is to test that the method is not implemented
... Pre-conditions:
... Reference: clause 7.4.2.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Reference: clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions: none
......@@ -128,7 +75,7 @@ PATCH Alarms - Method not implemented
... Test title: PATCH Alarms - Method not implemented
... Test objective: The objective is to test that the method is not implemented
... Pre-conditions:
... Reference: clause 7.4.2.3.5 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Reference: clause 7.4.2.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions: none
......@@ -140,7 +87,7 @@ DELETE Alarms - Method not implemented
... Test title: DELETE Alarms - Method not implemented
... Test objective: The objective is to test that the method is not implemented
... Pre-conditions:
... Reference: clause 7.4.2.3.6 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Reference: clause 7.4.2.3.5 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions: the alarm is not deleted
......
......@@ -20,7 +20,7 @@ Escalate the perceived severity
GET Escalate the perceived severity - Method not implemented
[Documentation] Test ID: 6.3.4.3.2
... Test title: GET Escalate the perceived severity - Method not implemented
... Test objective: to test that the method is not implemented
... Test objective: The objective is to test that the GET HTTP method not implemented for escalate perceived severity
... Pre-conditions:
... Reference: clause 7.4.4.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
......@@ -32,7 +32,7 @@ GET Escalate the perceived severity - Method not implemented
PUT Escalate the perceived severity - Method not implemented
[Documentation] Test ID: 6.3.4.3.3
... Test title: PUT Escalate the perceived severity - Method not implemented
... Test objective: to test that the method is not implemented
... Test objective: The objective is to test that the PUT HTTP method not implemented for escalate perceived severity
... Pre-conditions:
... Reference: clause 7.4.4.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
......@@ -44,7 +44,7 @@ PUT Escalate the perceived severity - Method not implemented
PATCH Escalate the perceived severity - Method not implemented
[Documentation] Test ID: 6.3.4.3.4
... Test title: PATCH Escalate the perceived severity - Method not implemented
... Test objective: to test that the method is not implemented
... Test objective: The objective is to test that the PATCH HTTP method not implemented for escalate perceived severity
... Pre-conditions:
... Reference: clause 7.4.4.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
......@@ -57,7 +57,7 @@ PATCH Escalate the perceived severity - Method not implemented
DELETE Escalate the perceived severity - Method not implemented
[Documentation] Test ID: 6.3.4.3.5
... Test title: DELETE Escalate the perceived severity - Method not implemented
... Test objective: to test that the method is not implemented
... Test objective: The objective is to test that the DELETE HTTP method not implemented for escalate perceived severity
... Pre-conditions:
... Reference: clause 7.4.4.3.5 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
......
......@@ -41,9 +41,9 @@ GET information about an individual alarm
PUT Alarm - Method not implemented
PUT Individual Alarm - Method not implemented
[Documentation] Test ID: 6.3.4.2.3
... Test title: PUT Alarm - Method not implemented
... Test title: PUT Individual Alarm - Method not implemented
... Test objective: The objective is to test that the method is not implemented
... Pre-conditions:
... Reference: clause 7.4.3.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
......@@ -54,9 +54,9 @@ PUT Alarm - Method not implemented
Check HTTP Response Status Code Is 405
PATCH Alarm
PATCH Individual Alarm
[Documentation] Test ID: 6.3.4.2.4
... Test title: PATCH Alarm
... Test title: PATCH Individual Alarm
... Test objective: The objective is to Modify an individual alarm resource
... Pre-conditions: The related alarm exists
... Reference: clause 7.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
......@@ -67,10 +67,10 @@ PATCH Alarm
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is alarmModifications
PATCH Alarm - Precondition failed
PATCH Individual Alarm - Precondition failed
[Documentation] Test ID: 6.3.4.2.5
... Test title: PATCH Alarm - Precondition failed
... Test objective: The objective is to Modify an individual alarm resource
... Test title: PATCH Individual Alarm - Precondition failed
... Test objective: The objective is to attempt to Modify an individual alarm resource, where the precondition was not met
... Pre-conditions: The related alarm exists
... Reference: clause 7.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
......@@ -80,9 +80,9 @@ PATCH Alarm - Precondition failed
Check HTTP Response Status Code Is 412
Check HTTP Response Body Json Schema Is ProblemDetails
PATCH Alarm - Conflict
PATCH Individual Alarm - Conflict
[Documentation] Test ID: 6.3.4.2.6
... Test title: PATCH Alarm - Conflict
... Test title: PATCH Individual Alarm - Conflict
... Test objective: The objective is to Modify an individual alarm resource
... Pre-conditions: The related alarm exists
... Reference: clause 7.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
......@@ -94,9 +94,9 @@ PATCH Alarm - Conflict
Check HTTP Response Body Json Schema Is ProblemDetails
DELETE Alarm - Method not implemented
DELETE Individual Alarm - Method not implemented
[Documentation] Test ID: 6.3.4.2.7
... Test title: DELETE Alarm - Method not implemented
... Test title: DELETE Individual Alarm - Method not implemented
... Test objective: The objective is to test that the method is not implemented
... Pre-conditions:
... Reference: clause 7.4.3.3.5 - ETSI GS NFV-SOL 002 [2] v2.4.1
......@@ -184,4 +184,4 @@ Check HTTP Response Body Json Schema Is
Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK
\ No newline at end of file
Log Json Schema Validation OK
......@@ -68,7 +68,6 @@ DELETE an individual subscription
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions: the subscription is deleted
Check resource existence
Delete individual subscription
Check HTTP Response Status Code Is 204
......@@ -139,4 +138,4 @@ Check HTTP Response Body Json Schema Is
Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK
\ No newline at end of file
Log Json Schema Validation OK
......@@ -14,10 +14,11 @@ Create a new subscription
... Reference: clause 7.4.5.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions: subscription is created
... Post-Conditions: Resource created successfully
Post Create subscription
Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is FmSubscription
Check resource existence
Create a new Subscription - DUPLICATION
[Documentation] Test ID: 6.3.4.4.2
......@@ -82,60 +83,6 @@ GET subscriptions - Bad Request Invalid attribute-based filtering parameters
Get subscriptions - invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET subscriptions with "all_fields" attribute selector
[Documentation] Test ID: 6.3.4.4.8
... Test title: GET subscriptions with "all_fields" attribute selector
... Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
... Pre-conditions:
... Reference: clause 7.4.5.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
Get subscriptions with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
GET subscriptions with "exclude_default" attribute selector
[Documentation] Test ID: 6.3.4.4.9
... Test title: GET subscriptions with "exclude_default" attribute selector
... Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
... Pre-conditions:
... Reference: clause 7.4.5.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
Get subscriptions with exclude_default attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
GET subscriptions with "fields" attribute selector
[Documentation] Test ID: 6.3.4.4.10
... Test title: GET subscriptions with "fields" attribute selector
... Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
... Pre-conditions:
... Reference: clause 7.4.5.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
Get subscriptions with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
GET subscriptions with "exclude_fields" attribute selector
[Documentation] Test ID: 6.3.4.4.11
... Test title: GET subscriptions with "exclude_fields" attribute selector
... Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
... Pre-conditions:
... Reference: clause 7.4.5.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VNFM
... Applicability:
... Post-Conditions:
Get subscriptions with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
PUT subscriptions - Method not implemented
[Documentation] Test ID: 6.3.4.4.8
......@@ -286,4 +233,11 @@ Check HTTP Response Body Json Schema Is
Should Contain ${response['headers']['Content-Type']} application/json
${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response['body']}
Log Json Schema Validation OK
\ No newline at end of file
Log Json Schema Validation OK
Check resource existence
Set Headers {"Accept":"${ACCEPT}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${response['body']['id']}
Integer response status 200
......@@ -5,7 +5,8 @@ Resource environment/subscriptions.txt
Library OperatingSystem
Library JSONLibrary
Library Process
Library MockServerLibrary
Library MockServerLibrary
Library String
Library REST ${EM-VNF_SCHEMA}://${EM-VNF_HOST}:${EM-VNF_PORT} ssl_verify=false
Suite Setup Create Sessions
Suite Teardown Terminate All Processes kill=true
......@@ -220,9 +221,9 @@ Check Postcondition VNF Indicator Subscription Is Set
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
Log Check Response includes VNF Indicators according to filter
#todo
@{words} = Split String ${POS_FILTER} ,${SEPERATOR}
Should Be Equal As Strings ${response['body'][0]['callbackUri']} @{words}[1]
Create Sessions
Pass Execution If ${VNFM_CHECKS_NOTIF_ENDPOINT} == 0 MockServer not necessary to run
Start Process java -jar ${MOCK_SERVER_JAR} -serverPort ${callback_port} alias=mockInstance
......
......@@ -3,6 +3,7 @@ Documentation This clause defines all the resources and methods provided by
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Library JSONLibrary
Library String
Resource environment/vnfIndicators.txt
Library REST ${EM-VNF_SCHEMA}://${EM-VNF_HOST}:${EM-VNF_PORT} ssl_verify=false
......@@ -269,4 +270,7 @@ Check Postcondition VNF Indicators Exist
Check HTTP Response Body vnfIndicators Matches the requested attribute-based filter
Log Check Response includes VNF Indicators according to filter
#todo
\ No newline at end of file
@{attr} = Split String ${POS_FILTER} ,${VAR_SEPERATOR}
@{var_name} = Split String @{attr}[0] ,${SEPERATOR}
@{var_id} = Split String @{attr}[1] ,${SEPERATOR}
Should Be True "${response['body'][0]['name']}"=="@{var_name}[1]" and "${response['body'][0]['vnfInstanceId']}"=="@{var_id}[1]"
\ No newline at end of file
......@@ -4,6 +4,7 @@ Library JSONSchemaLibrary schemas/
Resource environment/variables.txt # Generic Parameters
Resource environment/vnfIndicatorinVnfInstance.txt
Library JSONLibrary
Library String
Library REST ${EM-VNF_SCHEMA}://${EM-VNF_HOST}:${EM-VNF_PORT} ssl_verify=false
*** Test Cases ***
......@@ -196,12 +197,17 @@ Check HTTP Response Body Json Schema Is
Check HTTP Response Body Includes Requested VNF Instance ID
Log Check Response includes Indicators according to resource identifier
#todo
Should Be Equal As Strings ${response['body']['vnfInstanceId']} ${vnfInstanceId}
Check HTTP Response Body Matches Attribute-Based Filter
Log Check Response includes VNF Indicators according to filter
#todo
@{words} = Split String ${POS_FIELDS} ,${SEPERATOR}
Should Be Equal As Strings ${response['body'][0]['name']} @{words}[1]
Check Postcondition Indicators for VNF instance Exist
Log Check Response includes VNF Indicators according to filter
#todo
Log Check Postcondition Indicators for VNF instance Exist
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/indicators/${vnfInstanceId}
Should Be Equal ${response.status_code} 200
......@@ -7,3 +7,4 @@ ${NEG_FILTER} callback=http://127.0.0.1/subscribe
${response}= httpresponse
${total_polling_time} 2 min
${polling_interval} 10 sec
${SEPERATOR} =
\ No newline at end of file
......@@ -4,3 +4,4 @@ ${erroneousVnfInstanceId} erroneousVnfInstanceId
${POS_FIELDS} name=vnfIndicator
${NEG_FIELDS} wrongName=any_value
${response}= httpresponse
${SEPERATOR} =
\ No newline at end of file
......@@ -2,4 +2,7 @@
${POS_FIELDS} name=vnfIndicator&vnfInstanceId=80b0deba-c398-445b-bef0-ac0fe733e3d0
${NEG_FIELDS} wrongName=wrongValue
${response} some_response_object
${vnfIndicators}
${vnfIndicators} =
${SEPERATOR} =
${VAR_SEPERATOR} &
${POS_FILTER} =
\ No newline at end of file
......@@ -24,7 +24,7 @@ Post Cancel operation task
Post Cancel operation task Conflict
[Documentation] Test ID: 6.3.5.16.2
... Test title: POST Cancel operation task
... Test title: POST Cancel operation task Conflict
... Test objective: The POST method is NOT cancelling an ongoing VNF lifecycle operation due to the fact that the VNF instance resource is not in STARTING, PROCESSING or ROLLING_BACK state
... Pre-conditions: operation is not in STARTING, PROCESSING or ROLLING_BACK state
... Reference: clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
......
......@@ -75,7 +75,7 @@ PUT Change deployment flavour VNFInstance - Method not implemented
PATCH Change deployment flavour VNFInstance - Method not implemented
[Documentation] Test ID: 6.3.5.6.6
... Test title: PATCH Cancel operation task - Method not implemented
... Test title: PATCH Change deployment flavour VNFInstance - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: clause 5.4.7.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
......
......@@ -37,7 +37,6 @@ GET Information about an individual VNF Instance
GET individual vnfInstance
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstance
SET etag
PUT Individual VNFInstance - Method not implemented
[Documentation] Test ID: 6.3.5.2.3
......@@ -68,7 +67,7 @@ PATCH Individual VNFInstance Precondition failed
[Documentation] Test ID: 6.3.5.2.5
... Test title: PATCH Individual VNFInstance Precondition failed
... Test objective: The objective is to create a new VNF instance resource
... Pre-conditions: A precondition given in an HTTP request header is not fulfilled. Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity
... Pre-conditions: VNF Instance is Created
... Reference: clause 5.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VE
... Applicability:
......@@ -80,7 +79,7 @@ PATCH Individual VNFInstance Precondition failed
PATCH Individual VNFInstance Conflict
[Documentation] Test ID: 6.3.5.2.6
... Test title: PATCH Individual VNFInstance Conflict
... Test objective: The objective is to create a new VNF instance resource
... Test objective: The objective is to verify that modification operation cannot be executed currently, due to a conflict with the state of the VNF instance resource because another LCM Operation is ongoing.
... Pre-conditions: none
... Reference: clause 5.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VE
......@@ -104,8 +103,8 @@ DELETE Individual VNFInstance
DELETE Individual VNFInstance Conflict
[Documentation] Test ID: 6.3.5.2.8
... Test title: DELETE Individual VNFInstance
... Test objective: The objective is to verify that The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
... Test title: DELETE Individual VNFInstance Conflict
... Test objective: The objective is to verify that The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
... Pre-conditions: VNF instance resource is in INSTANTIATED state
... Reference: clause 5.4.3.3.5 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VE
......@@ -136,7 +135,4 @@ Launch another LCM operation
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
${body}= Get File jsons/scaleVnfToLevelRequest.json
Post ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${vnfInstanceId}/scale_to_level ${body}
Integer response status 202
SET etag
${etag} Output response headers ETag
Set Suite Variable ${original_etag} ${etag}
Integer response status 202
......@@ -32,7 +32,7 @@ Get status information about multiple VNF instances
PUT status information about multiple VNF instances - Method not implemented
[Documentation] Test ID: 6.3.5.12.3
... Test title: Put Individual VNF LCM OP occurrences - Method not implemented
... Test title: PUT status information about multiple VNF instances - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: clause 5.4.13.3.3 - ETSI GS NFV-SOL 002 [2] v2.4.1
......@@ -44,7 +44,7 @@ PUT status information about multiple VNF instances - Method not implemented
PATCH status information about multiple VNF instances - Method not implemented
[Documentation] Test ID: 6.3.5.12.4
... Test title: Patch Individual VNF LCM OP occurrences - Method not implemented
... Test title: PATCH status information about multiple VNF instances - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: clause 5.4.13.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
......@@ -56,7 +56,7 @@ PATCH status information about multiple VNF instances - Method not implemented
DELETE status information about multiple VNF instances - Method not implemented
[Documentation] Test ID: 6.3.5.12.5
... Test title: Delete Individual VNF LCM OP occurrences - Method not implemented
... Test title: DELETE status information about multiple VNF instances - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: clause 5.4.13.3.5 - ETSI GS NFV-SOL 002 [2] v2.4.1
......@@ -64,4 +64,4 @@ DELETE status information about multiple VNF instances - Method not implemented
... Applicability: none
... Post-Conditions: none
Delete multiple VNF instances
Check HTTP Response Status Code Is 405
\ No newline at end of file
Check HTTP Response Status Code Is 405
......@@ -38,14 +38,14 @@ POST Scale a vnfInstance to level Conflict (Not-Instantiated)
POST Scale a vnfInstance Not Found
[Documentation] Test ID: 6.3.5.5.3
... Test title: POST Scale a vnfInstance Not Found
... Test objective: The objective is to verify that the operation cannot be executed , because the VNF instance resource cannot be found.
... Test objective: The objective is to verify that the VNF Scale operation fails when the VNF instance resource is not present
... Pre-conditions: VNF instance resource is in NOT-INSTANTIATED state
... Reference: clause 5.4.6.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VE
... Applicability:
... Post-Conditions:
POST Scale vnfInstance to level
Check HTTP Response Status Code Is 409
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
......@@ -126,4 +126,4 @@ Launch another LCM operation
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
${body}= Get File jsons/scaleVnfRequest.json
Post ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${vnfInstanceId}/scale ${body}
Integer response status 202
\ No newline at end of file
Integer response status 202
......@@ -16,10 +16,10 @@ POST Create a new subscription
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: in response header Location shall not be null
... POST Cancel operation task
Post Create subscription
Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is Subscription
POST Create a new Subscription - DUPLICATION
[Documentation] Test ID: 6.3.5.17.2
... Test title: POST Create a new subscription - DUPLICATION
......@@ -27,9 +27,8 @@ POST Create a new Subscription - DUPLICATION
... Pre-conditions: none
... Reference: clause 5.4.18.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Applicability: SUT should support duplication of subscription creation
... Post-Conditions: in response header Location shall not be null
... POST Cancel operation task
Post Create subscription - DUPLICATION
Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is Subscription
......@@ -41,9 +40,8 @@ POST Create a new Subscription - NO-DUPLICATION
... Pre-conditions: none
... Reference: clause 5.4.18.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Applicability: SUT should not support duplication of subscription creation
... Post-Conditions: in response header Location shall not be null
... POST Cancel operation task
Post Create subscription - NO-DUPLICATION
Check HTTP Response Status Code Is 303
Check Operation Occurrence Id
......@@ -64,7 +62,7 @@ GET Subscriptions
GET Subscription - Filter
[Documentation] Test ID: 6.3.5.17.5
... Test title: GET Subscriptions - Filter
... Test objective: The objective is Get the list of active subscriptions using a filter
... Test objective: The objective is Get the list of active subscriptions using a "filter"
... Pre-conditions: none
... Reference: clause 5.4.18.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VE
......@@ -170,7 +168,8 @@ DELETE subscriptions - Method not implemented
... Reference: clause 5.4.18.3.5 - ETSI GS NFV-SOL 002 [2] v2.4.1
... Config ID: Config_prod_VE
... Applicability: none
... Post-Conditions: none
... Post-Conditions: check that resources are not deleted
DELETE subscriptions
Check HTTP Response Status Code Is 405
Check Subscription resource exist
\ No newline at end of file
......@@ -922,4 +922,18 @@ GET test endpoint
Create Mock Expectation ${req} ${rsp}
Sleep ${sleep_interval}
Verify Mock Expectation ${req}
Clear Requests ${callback_endpoint}
\ No newline at end of file
Clear Requests ${callback_endpoint}
Check LCM OP OCC resource exist
Set Headers {"Accept":"${ACCEPT}"}