Commit 1bff0993 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

[test-fix][SOL005][VNF-PCKG-MGMT][v5.3.1][5.3.5.6.1,3,4,12...

[test-fix][SOL005][VNF-PCKG-MGMT][v5.3.1][5.3.5.6.1,3,4,12 Test-ID][NFVSOL(26)0000093] Fixed checks of HTTP Headers Content-Type in IndividualVNFPackageArtifacts.
parent 67db3c03
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ GET Individual VNF Package Artifact
    ...    Post-Conditions: none
    GET Individual VNF Package Artifact
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Contains-Type is Present and is application/zip

GET Individual VNF Package Artifact in octet stream format
    [Documentation]    Test ID: 5.3.5.6.2
@@ -42,6 +43,7 @@ GET Individual VNF Package Artifact with Range Request and NFVO supporting Range
    ...    Post-Conditions: none
    GET Individual VNF Package Artifact with Range Request
    Check HTTP Response Status Code Is    206
    Check HTTP Response Header Contains-Type is Present and is application/zip
    Check HTTP Response Header Content-Range Is Present and Matches the requested range
    Check HTTP Response Header Content-Length Is Present and Matches the requested range length

@@ -144,7 +146,7 @@ DELETE Individual VNF Package Artifact - Method not implemented
    Check HTTP Response Status Code Is    405

GET Individual VNF Package Artifact with permitted authorization scope
    [Documentation]    Test ID: 5.3.5.6.1
    [Documentation]    Test ID: 5.3.5.6.12
    ...    Test title: GET Individual VNF Package Artifact with permitted authorization scope
    ...    Test objective: The objective is to test the retrieval of an individual VNF package artifact with permitted authorization scope
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -154,9 +156,10 @@ GET Individual VNF Package Artifact with permitted authorization scope
    ...    Post-Conditions: none
    GET Individual VNF Package Artifact with permitted authorization scope
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Contains-Type is Present and is application/zip

GET Individual VNF Package Artifact with not permitted authorization scope
    [Documentation]    Test ID: 5.3.5.6.1
    [Documentation]    Test ID: 5.3.5.6.13
    ...    Test title: GET Individual VNF Package Artifact with not permitted authorization scope
    ...    Test objective: The objective is to test the retrieval of an individual VNF package artifact fails when using not permitted authorization scope
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.