Skip to content
Snippets Groups Projects
Commit 18d1aadc authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

bugs fix added

parent 25df0c3e
No related branches found
No related tags found
3 merge requests!199Merge "3.3.1 dev" into "release 3" master,!193Merge 2.7.1 dev into Master, for TST010ed271 publication,!135SOL005 VNF Package Management - Implementation of deltas between v2.7.1 and v2.6.1
......@@ -32,6 +32,7 @@ GET Individual VNF Package Subscription with invalid resource identifier
... Post-Conditions: none
GET individual VNF Package Subscription with invalid resource identifier
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
DELETE Individual VNF Package Subscription with invalid resource identifier
[Documentation] Test ID: 5.3.5.8.3
......
......@@ -31,6 +31,7 @@ GET Individual VNF Package with invalid resource identifier
... Post-Conditions: none
GET Individual VNF Package with invalid resource identifier
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
POST Individual VNF Package - Method not implemented
[Documentation] Test ID: 5.3.5.2.3
......@@ -149,6 +150,4 @@ DELETE Individual VNF Package used for instantiated VNF instances
Send DELETE Request for Individual VNF Package used for instantiated VNF instances
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
Check Postcondition VNF Package Exists
Check Postcondition VNF Package Exists
\ No newline at end of file
......@@ -80,6 +80,7 @@ GET Individual VNF Package Artifact with invalid resource identifier
... Post-Conditions: none
GET Individual VNF Package Artifact with invalid resource identifier
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
GET Individual VNF Package Artifact with conflict due to onboarding state
[Documentation] Test ID: 5.3.5.6.7
......@@ -138,7 +139,6 @@ DELETE Individual VNF Package Artifact - Method not implemented
... Reference: Clause 9.4.7.3.5 - ETSI GS NFV-SOL 005 [3] v2.7.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The VNF Package artifact is not deleted by the failed operation
... Post-Conditions: none
Send DELETE Request for individual VNF Package Artifact
Check HTTP Response Status Code Is 405
Check Postcondition VNF Package Artifact Exist
\ No newline at end of file
Check HTTP Response Status Code Is 405
\ No newline at end of file
......@@ -24,7 +24,6 @@ Get All VNF Package Subscriptions
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PkgmSubscriptions
Get VNF Package Subscriptions with attribute-based filter
[Documentation] Test ID: 5.3.5.7.2
... Test title: Get VNF Package Subscriptions with attribute-based filter
......@@ -39,7 +38,6 @@ Get VNF Package Subscriptions with attribute-based filter
Check HTTP Response Body Json Schema Is PkgmSubscriptions
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
Get VNF Package Subscriptions with invalid attribute-based filter
[Documentation] Test ID: 5.3.5.7.3
... Test title: Get VNF Package Subscriptions with attribute-based filters
......@@ -64,6 +62,7 @@ GET VNF Package Subscription with invalid resource endpoint
... Post-Conditions: none
Get VNF Package Subscriptions with invalid resource endpoint
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
Create new VNF Package subscription
[Documentation] Test ID: 5.3.5.7.5
......@@ -135,8 +134,7 @@ PATCH VNF Package Subscriptions - Method not implemented
... Post-Conditions: none
Send Patch Request for VNF Package Subscriptions
Check HTTP Response Status Code Is 405
DELETE VNF Package Subscriptions - Method not implemented
[Documentation] Test ID: 5.3.5.7.10
... Test title: DELETE VNF Package Subscriptions - Method not implemented
......@@ -144,10 +142,9 @@ DELETE VNF Package Subscriptions - Method not implemented
... Pre-conditions: At least one VNF package subscription is available in the NFVO.
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The VNF package subscriptions are not deleted by the failed operation
... Post-Conditions: none
Send Delete Request for VNF Package Subscriptions
Check HTTP Response Status Code Is 405
Check Postcondition VNF Package Subscriptions Exists
Get All VNF Package Subscriptions as Paged Response
[Documentation] Test ID: 5.3.5.7.11
......@@ -160,7 +157,7 @@ Get All VNF Package Subscriptions as Paged Response
... Post-Conditions: none
Get all VNF Package Subscriptions
Check HTTP Response Status Code Is 200
Check LINK in Header
Check HTTP Response Header Contains Location
Get VNF Package Subscriptions - Bad Request Response too Big
[Documentation] Test ID: 5.3.5.7.12
......
......@@ -71,6 +71,7 @@ GET Individual VNF Package Content with invalid resource identifier
... Post-Conditions: none
GET Individual VNF Package Content with invalid resource identifier
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
GET Individual VNF Package Content with conflict due to onboarding state
[Documentation] Test ID: 5.3.5.4.6
......@@ -143,7 +144,6 @@ DELETE Individual VNF Package Content - Method not implemented
... Reference: Clause 9.4.5.3.5 - ETSI GS NFV-SOL 005 [3] v2.7.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The VNF Package content is not deleted by the failed operation
... Post-Conditions: none
Send DELETE Request for individual VNF Package Content
Check HTTP Response Status Code Is 405
Check Postcondition VNF Package Content Exist
......@@ -33,7 +33,6 @@ Upload VNF Package Content from URI with conflict due to onboarding state
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
GET Individual VNF Package Content from URI - Method not implemented
[Documentation] Test ID: 5.3.5.5.3
... Test title: GET Individual VNF Package Content from URI - Method not implemented
......@@ -78,7 +77,6 @@ DELETE Individual VNF Package Content from URI - Method not implemented
... Reference: Clause 9.4.6.3.5 - ETSI GS NFV-SOL 005 [3] v2.7.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The VNF Package content is not deleted by the failed operation
... Post-Conditions: none
Send DELETE Request for individual VNF Package Content from URI
Check HTTP Response Status Code Is 405
Check Postcondition VNF Package Content from URI Exist
\ No newline at end of file
Check HTTP Response Status Code Is 405
\ No newline at end of file
......@@ -214,10 +214,6 @@ Send DELETE Request for all VNF Packages
${output}= Output response
Set Suite Variable ${response} ${output}
Check Postcondition VNF Packages Exist
Log Checking that Pm Job still exists
GET all VNF Packages
GET Individual VNF Package
Log Trying to get a VNF Package present in the NFVO Catalogue
Set Headers {"Accept": "${ACCEPT_JSON}"}
......@@ -509,11 +505,6 @@ Send DELETE Request for individual VNF Package Content
DELETE ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_packages/${vnfPackageId}/package_content
${output}= Output response
Set Suite Variable ${response} ${output}
Check Postcondition VNF Package Content Exist
Log Checking that vnf pacakge still exists
GET Individual VNF Package Content
Check HTTP Response Status Code Is 200
GET Individual VNF Package Artifact
Log Trying to get a VNF Package Artifact
......@@ -594,15 +585,6 @@ Send DELETE Request for individual VNF Package Artifact
${output}= Output response
Set Suite Variable ${response} ${output}
Check Postcondition VNF Package Artifact Exist
Log Checking that vnf pacakge still exists
Set Headers {"Accept": "${ACCEPT_PLAIN}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_packages/${vnfPackageId}/artifacts/${artifactPath}
${output}= Output response
Set Suite Variable ${response} ${output}
Check HTTP Response Status Code Is 200
Send POST Request to upload VNF Package Content from URI
Log Trying to perform a POST. The POST method provides the information for the NFVO to get the content of a VNF package.
Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"}
......@@ -655,13 +637,6 @@ Send DELETE Request for individual VNF Package Content from URI
${output}= Output response
Set Suite Variable ${response} ${output}
Check Postcondition VNF Package Content from URI Exist
Log Checking that vnf pacakge still exists
Set Headers {"Accept": "${ACCEPT_ZIP}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_packages/${vnfPkgViaUriId}
Integer response status 200
Get all VNF Package Subscriptions
Log Trying to get the list of subscriptions
Set Headers {"Accept": "${ACCEPT_JSON}"}
......@@ -740,11 +715,7 @@ Send Delete Request for VNF Package Subscriptions
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
DELETE ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions
${output}= Output response
Set Suite Variable ${response} ${output}
Check Postcondition VNF Package Subscriptions Exists
Log Checking that subscriptions exists
Get all VNF Package Subscriptions
Set Suite Variable ${response} ${output}
Check HTTP Response Body PkgmSubscription Attributes Values Match the Issued Subscription
Log Check Response matches subscription
......@@ -915,7 +886,7 @@ Check HTTP Response Header Contains
Should Contain ${response['headers']} ${CONTENT_TYPE}
Log Header is present
Check LINK in Header
Check HTTP Response Header Contains Location
${linkURL}= Get Value From Json ${response['headers']} $..Link
Should Not Be Empty ${linkURL}
......
......@@ -141,6 +141,7 @@ GET all VNF Packages with invalid resource endpoint
... Post-Conditions: none
GET all VNF Packages with invalid resource endpoint
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
Create new VNF Package Resource
[Documentation] Test ID: 5.3.5.1.11
......@@ -189,10 +190,9 @@ DELETE all VNF Packages - Method not implemented
... Reference: Clause 9.4.2.3.5 - ETSI GS NFV-SOL 005 [3] v2.7.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The VNF Packages are not deleted by the failed operation
... Post-Conditions: none
Send DELETE Request for all VNF Packages
Check HTTP Response Status Code Is 405
Check Postcondition VNF Packages Exist
GET all VNF Packages as Paged Response
[Documentation] Test ID: 5.3.5.1.15
......@@ -205,7 +205,7 @@ GET all VNF Packages as Paged Response
... Post-Conditions: none
GET all VNF Packages
Check HTTP Response Status Code Is 200
Check LINK in Header
Check HTTP Response Header Contains Location
GET VNF Packages - Bad Request Response too Big
[Documentation] Test ID: 5.3.5.1.16
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment