Commit 6d3e969a authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Merge branch '2.7.1-dev-test-ids-fix' into '2.7.1-dev'

SOL002/3/5 Fixes for Test IDs in v2.7.1

See merge request !175
parents be8b9466 b474d5d9
......@@ -38,6 +38,17 @@ Create a duplicated Subscription
Post Create subscription
Check Response for duplicated subscription
Void
[Documentation] Test ID: 6.3.4.4.3
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
GET Subscriptions
[Documentation] Test ID: 6.3.4.4.4
... Test title: GET Subscriptions
......@@ -276,7 +287,7 @@ Get subscriptions with filter "filter.probableCauses"
Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_probableCauses"
POST Create a new Subscription - Unprocessable Entity
[Documentation] Test ID: 6.3.4.4.21
[Documentation] Test ID: 6.3.4.4.22
... Test title: POST Create a new Subscription - Unprocessable Entity
... Test objective: The objective is to test that content type of the payload body is supported and the payload body of a request contains syntactically correct data but the data cannot be processed.
... re-conditions: none
......@@ -511,3 +522,7 @@ Check Response for duplicated subscription
Run Keyword If ${VNFM_ALLOWS_DUPLICATE_SUBS} == 1 Check HTTP Response Status Code Is 201
Run Keyword If ${VNFM_ALLOWS_DUPLICATE_SUBS} == 1 Check HTTP Response Body Json Schema Is FmSubscription
Run Keyword If ${VNFM_ALLOWS_DUPLICATE_SUBS} == 0 Check HTTP Response Status Code Is 303
Void
log do nothing
......@@ -172,7 +172,7 @@ GET status information about multiple VNF LCM Operation OCC - Bad Request Respon
Check HTTP Response Body Json Schema Is ProblemDetails
GET status information about multiple VNF LCM Operation OCC with "exclude_default" and "fields"
[Documentation] Test ID: 7.3.1.11.13
[Documentation] Test ID: 7.3.1.11.14
... Test title: GET status information about multiple VNF LCM Operation OCC with "exclude_default" and "fields"
... Test objective: The objective is to test that GET method retrieve Query status information about multiple VNF lifecycle management operation occurrences.
... Pre-conditions: none
......
......@@ -58,6 +58,17 @@ Get multi file VNFD in Individual VNF Package in Plain or Zip Format
Check HTTP Response Status Code Is 200
Check HTTP Response Header Content-Type Is application/zip
Void
[Documentation] Test ID: 7.3.3.4.5
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Get VNFD in Individual VNF Package with invalid resource identifier
[Documentation] Test ID: 7.3.3.4.6
... Test title: Get VNFD in Individual VNF Package with invalid resource identifier
......@@ -183,6 +194,17 @@ Get multi file VNFD in Individual OnBoarded VNF Package in Plain or Zip Format
Check HTTP Response Status Code Is 200
Check HTTP Response Header Content-Type Is application/zip
Void
[Documentation] Test ID: 7.3.3.4.16
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Get VNFD in Individual OnBoarded VNF Package with invalid resource identifier
[Documentation] Test ID: 7.3.3.4.17
... Test title: Get VNFD in Individual OnBoarded VNF Package with invalid resource identifier
......@@ -281,3 +303,8 @@ Get multi file VNFD in Individual OnBoarded VNF Package with security informatio
Get multi file VNFD in Individual OnBoarded VNF Package with security information
Check HTTP Response Status Code Is 200
Check HTTP Response Header Content-Type Is application/zip
*** Keywords ***
Void
log do nothing
\ No newline at end of file
......@@ -73,7 +73,7 @@ DELETE an individual subscription
Check Postcondition VNF Virtualised Resources Quota Available Notification individual Subscriptions is Deleted
Get Information about an individual subscription - Not Found
[Documentation] Test ID: 7.3.7.2.2
[Documentation] Test ID: 7.3.7.2.6
... Test title: Get Information about an individual subscription - Not Found
... Test objective: The objective is to test that the retrieval of an individual Virtualised Resources Quota Available Notification subscription subscribed by the client fils when resource is not present
... Pre-conditions: The subscription with the given id does not exists
......
......@@ -107,6 +107,17 @@ Enable Individual Network Service Descriptor with HTTP Etag precondition failure
Send PATCH to enable Individual Network Service Descriptor with HTTP Etag precondition failure
Check HTTP Response Status Code Is 412
Void
[Documentation] Test ID: 5.3.1.2.8
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
DELETE Individual Network Service Descriptor
[Documentation] Test ID: 5.3.1.2.9
... Test title: DELETE Individual Network Service Descriptor
......@@ -157,3 +168,8 @@ PUT Individual Network Service Descriptor - Method not implemented
... Post-Conditions: none
Send PUT Request for Individual Network Service Descriptor
Check HTTP Response Status Code Is 405
*** Keywords ***
Void
log do nothing
......@@ -8,6 +8,18 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_veri
Library OperatingSystem
*** Test Cases ***
Void
[Documentation] Test ID: 5.3.1.3.1
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Get NSD Content in Zip Format
[Documentation] Test ID: 5.3.1.3.2
... Test title: Get NSD Content in Zip Format
......@@ -21,6 +33,39 @@ Get NSD Content in Zip Format
Check HTTP Response Status Code Is 200
Check HTTP Response Header Content-Type Is application/zip
Void
[Documentation] Test ID: 5.3.1.3.3
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Void
[Documentation] Test ID: 5.3.1.3.4
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Void
[Documentation] Test ID: 5.3.1.3.5
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Get NSD Content with invalid resource identifier
[Documentation] Test ID: 5.3.1.3.6
... Test title: Get NSD Content with invalid resource identifier
......@@ -101,6 +146,18 @@ Upload NSD Content as Zip file in asynchronous mode
Check HTTP Response Status Code Is 202
Check Post Condition NSD Content has been Uploaded
Void
[Documentation] Test ID: 5.3.1.3.12
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Upload NSD Content as Zip file in synchronous mode
[Documentation] Test ID: 5.3.1.3.13
... Test title: Upload NSD Content as Zip file in synchronous mode
......@@ -114,6 +171,17 @@ Upload NSD Content as Zip file in synchronous mode
Check HTTP Response Status Code Is 204
Check Postcondition NSD Content is uploaded and available in the NFVO
Void
[Documentation] Test ID: 5.3.1.3.14
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Upload NSD Content with conflict due to onboarding state
[Documentation] Test ID: 5.3.1.3.15
... Test title: Upload NSD Content with conflict due to onboarding state
......@@ -162,3 +230,9 @@ DELETE NSD Content - Method not implemented
... Post-Conditions: none
Send DELETE Request for NSD Content
Check HTTP Response Status Code Is 405
*** Keywords ***
Void
log do nothing
\ No newline at end of file
......@@ -112,7 +112,7 @@ GET information about multiple alarms with "exclude_fields" attribute selector
Check HTTP Response Body Json Schema Is alarms
PUT Alarms - Method not implemented
[Documentation] Test ID: 5.3.3.1.5
[Documentation] Test ID: 5.3.3.1.9
... Test title: PUT Alarms - Method not implemented
... Test objective: The objective is to test that PUT method is not allowed for Fault management alarms on NFV
... Pre-conditions: none
......@@ -124,7 +124,7 @@ PUT Alarms - Method not implemented
Check HTTP Response Status Code Is 405
PATCH Alarms - Method not implemented
[Documentation] Test ID: 5.3.3.1.6
[Documentation] Test ID: 5.3.3.1.10
... Test title: PATCH Alarms - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed for Fault management alarms on NFV
... Pre-conditions: none
......@@ -136,7 +136,7 @@ PATCH Alarms - Method not implemented
Check HTTP Response Status Code Is 405
DELETE Alarms - Method not implemented
[Documentation] Test ID: 5.3.3.1.7
[Documentation] Test ID: 5.3.3.1.11
... Test title: DELETE Alarms - Method not implemented
... Test objective: The objective is to test that DELETE method is not allowed for Fault management alarms on NFV
... Pre-conditions: none
......@@ -148,7 +148,7 @@ DELETE Alarms - Method not implemented
Check HTTP Response Status Code Is 405
GET information about multiple alarms as Paged Response
[Documentation] Test ID: 5.3.3.1.8
[Documentation] Test ID: 5.3.3.1.12
... Test title: GET information about multiple alarms as Paged Response
... Test objective: The objective is to retrieve information about the alarm list as paged response.
... Pre-conditions: none
......@@ -161,7 +161,7 @@ GET information about multiple alarms as Paged Response
Check HTTP Response Header Contains Location
GET information about multiple alarms - Bad Request Response too Big
[Documentation] Test ID: 5.3.3.1.9
[Documentation] Test ID: 5.3.3.1.13
... Test title: GET information about multiple alarms - Bad Request Response too Big
... Test objective: The objective is to test that the retrieval of information about the alarm list fails because response is too big, and perform a JSON schema and content validation of the returned problem details data structure
... Pre-conditions: none
......@@ -174,7 +174,7 @@ GET information about multiple alarms - Bad Request Response too Big
Check HTTP Response Body Json Schema Is ProblemDetails
GET information about multiple alarms with filter "id"
[Documentation] Test ID: 5.3.3.1.10
[Documentation] Test ID: 5.3.3.1.14
... Test title: GET information about multiple alarms with filter "id"
... Test objective: The objective is to retrieve information about the alarm list with filter "id" and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
......@@ -188,7 +188,7 @@ GET information about multiple alarms with filter "id"
Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "id"
GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyNestedNsInstanceId"
[Documentation] Test ID: 5.3.3.1.11
[Documentation] Test ID: 5.3.3.1.15
... Test title: GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyNestedNsInstanceId"
... Test objective: The objective is to retrieve information about the alarm list with filter "rootCauseFaultyComponent.faultyNestedNsInstanceId" and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
......@@ -202,7 +202,7 @@ GET information about multiple alarms with filter "rootCauseFaultyComponent.faul
Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "rootCauseFaultyComponent_faultyNestedNsInstanceId"
GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyNsVirtualLinkInstanceId"
[Documentation] Test ID: 5.3.3.1.12
[Documentation] Test ID: 5.3.3.1.16
... Test title: GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyNsVirtualLinkInstanceId"
... Test objective: The objective is to retrieve information about the alarm list with filter "rootCauseFaultyComponent.faultyNsVirtualLinkInstanceId" and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
......@@ -216,7 +216,7 @@ GET information about multiple alarms with filter "rootCauseFaultyComponent.faul
Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "faultyNsVirtualLinkInstanceId"
GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyVnfInstanceId"
[Documentation] Test ID: 5.3.3.1.13
[Documentation] Test ID: 5.3.3.1.17
... Test title: GET information about multiple alarms with filter "rootCauseFaultyComponent.faultyVnfInstanceId"
... Test objective: The objective is to retrieve information about the alarm list with filter "rootCauseFaultyComponent.faultyVnfInstanceId" and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
......@@ -230,7 +230,7 @@ GET information about multiple alarms with filter "rootCauseFaultyComponent.faul
Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "faultyVnfInstanceId"
GET information about multiple alarms with filter "rootCauseFaultyResource.faultyResourceType"
[Documentation] Test ID: 5.3.3.1.14
[Documentation] Test ID: 5.3.3.1.18
... Test title: GET information about multiple alarms with filter "rootCauseFaultyResource.faultyResourceType"
... Test objective: The objective is to retrieve information about the alarm list with filter "rootCauseFaultyResource.faultyResourceType" and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
......@@ -244,7 +244,7 @@ GET information about multiple alarms with filter "rootCauseFaultyResource.fault
Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "faultyResourceType"
GET information about multiple alarms with filter "eventType"
[Documentation] Test ID: 5.3.3.1.15
[Documentation] Test ID: 5.3.3.1.19
... Test title: GET information about multiple alarms with filter "eventType"
... Test objective: The objective is to retrieve information about the alarm list with filter "eventType" and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
......@@ -258,7 +258,7 @@ GET information about multiple alarms with filter "eventType"
Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "eventType"
GET information about multiple alarms with filter "perceivedSeverity"
[Documentation] Test ID: 5.3.3.1.16
[Documentation] Test ID: 5.3.3.1.20
... Test title: GET information about multiple alarms with filter "perceivedSeverity"
... Test objective: The objective is to retrieve information about the alarm list with filter "perceivedSeverity" and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
......@@ -272,7 +272,7 @@ GET information about multiple alarms with filter "perceivedSeverity"
Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "perceivedSeverity"
GET information about multiple alarms with filter "probableCause"
[Documentation] Test ID: 5.3.3.1.17
[Documentation] Test ID: 5.3.3.1.21
... Test title: GET information about multiple alarms with filter "probableCause"
... Test objective: The objective is to retrieve information about the alarm list with filter "probableCause" and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none
......
......@@ -38,6 +38,19 @@ Create a duplicated Subscription
Check Response for duplicated subscription
Check Operation Occurrence Id
Void
[Documentation] Test ID: 5.3.3.3.3
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Retrieve a list of alarm subscriptions
[Documentation] Test ID: 5.3.3.3.4
... Test title: Retrieve a list of alarm subscriptions
......@@ -287,3 +300,8 @@ Create a new alarm subscription - Unprocessable Entity
POST Subscription
Check HTTP Response Status Code Is 422
Check HTTP Response Body Json Schema Is ProblemDetails
*** Keywords ***
Void
log do nothing
\ No newline at end of file
......@@ -72,7 +72,7 @@ PATCH Terminate NSInstance - Method not implemented
Check HTTP Response Status Code Is 405
DELETE Terminate NSInstance - Method not implemented
[Documentation] Test ID: 5.3.2.7.5
[Documentation] Test ID: 5.3.2.7.6
... Test title: DELETE Terminate NSInstance - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
......
......@@ -9,7 +9,7 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
POST API Version - Method not implemented
[Documentation] Test ID: 5.3.4.10.1
[Documentation] Test ID: 5.3.4.9.1
... Test title: POST API version - Method not implemented
... Test objective: The objective is to test that POST method is not implemented
... Pre-conditions: none
......
......@@ -6,6 +6,17 @@ Library JSONLibrary
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
*** Test Cases ***
Void
[Documentation] Test ID: 5.3.5.3.1
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Get VNFD in Individual VNF Package in Zip Format
[Documentation] Test ID: 5.3.5.3.2
... Test title: Get VNFD in Individual VNF Package in Zip Format
......@@ -19,6 +30,40 @@ Get VNFD in Individual VNF Package in Zip Format
Check HTTP Response Status Code Is 200
Check HTTP Response Header Content-Type Is application/zip
Void
[Documentation] Test ID: 5.3.5.3.3
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Void
[Documentation] Test ID: 5.3.5.3.4
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Void
[Documentation] Test ID: 5.3.5.3.5
... Test title: Void
... Test objective: Void
... Pre-conditions: Void
... Reference: Void
... Config ID: Void
... Applicability: Void
... Post-Conditions: Void
Void
Get VNFD in Individual VNF Package with invalid resource identifier
[Documentation] Test ID: 5.3.5.3.6
... Test title: Get VNFD in Individual VNF Package with invalid resource identifier
......@@ -105,3 +150,8 @@ Get VNFD in Individual VNF Package with security information
Get VNFD in Individual VNF Package with security information
Check HTTP Response Status Code Is 200
Check HTTP Response Header Content-Type Is application/zip
*** Keywords ***
Void
log do nothing
\ No newline at end of file
......@@ -50,7 +50,9 @@
7.3.3.7,Individual Subscription Resource Endpoint, IndividualSubscription.robot
7.3.3.8,Notifications, Notifications.robot
7.3.3.9,API Version Resource Endpoint, ApiVersion.robot
7.3.3.10,Notification Endpoint,NotificationEndpoint.robot
7.3.3.10,Manifest In Individual VNF Package Endpoint,ManifestInIndividualVNFPackage.robot
7.3.3.11,VNF Package Artifacts Endpoint,VNFPackageArtifacts.robot
7.3.3.12,Notification Endpoint,NotificationEndpoint.robot
7.3.4,VNF Performance Management Interface, VNFPerformanceManagement-API
7.3.4.1,PM Jobs Resource Endpoint, PMJobs.robot
7.3.4.2,Individual Pm Job Resource Endpoint, IndividualPmJob.robot
......
......@@ -70,4 +70,6 @@
5.3.5.8,Individual Subscription Resource Endpoint, IndividualSubscription.robot
5.3.5.9,Notifications, Notifications.robot
5.3.5.10,API Version Resource Endpoint, ApiVersion.robot
5.3.5.11,Notification Endpoint,NotificationEndpoint.robot
5.3.5.11,Manifest In Individual VNF Package Endpoint,ManifestInIndividualVNFPackage.robot
5.3.5.11,VNF Package Artifacts Endpoint,VNFPackageArtifacts.robot
5.3.5.13,Notification Endpoint,NotificationEndpoint.robot
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment