Commit 3a51b7d1 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix issue #165

parent 714d4068
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -286,7 +286,7 @@ Check HTTP Response Header Content-Range Is Present and Matches the requested ra
Check HTTP Response Header Content-Length Is Present and Matches the requested range length
Check HTTP Response Header Content-Length Is Present and Matches the requested range length
    Log    Check Content-Length HTTP Header
    Log    Check Content-Length HTTP Header
    Should Contain    ${response['headers']}    Content-Length
    Should Contain    ${response['headers']}    Content-Length
    Should Be Equal As Integers    ${response['headers']['Content-Length']}    ${full_length}
    Should Be Equal As Integers    ${response['headers']['Content-Length']}    ${length}
    Log    Header Content-Length is present
    Log    Header Content-Length is present


GET Individual VNF Package Content with invalid Range Request
GET Individual VNF Package Content with invalid Range Request
+1 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,7 @@ ${CONTENT_TYPE_OCTET} application/octet-stream
${NFVO_RANGE_OK}    1    # If 1 means that Range is supported by the NFVO
${NFVO_RANGE_OK}    1    # If 1 means that Range is supported by the NFVO
${range}          0-1023
${range}          0-1023
${full_length}        2000        # Full size of the artifact to be downloaded using partial download
${full_length}        2000        # Full size of the artifact to be downloaded using partial download
${length}             1024        # Length of the requested portion
${erroneousRange}    10000000-1000000000    # Requesting a out of range number of bytes
${erroneousRange}    10000000-1000000000    # Requesting a out of range number of bytes
${erroneousVnfPkgId}    erroneousPkgId
${erroneousVnfPkgId}    erroneousPkgId
${vnfPackageOctetStreamId}    octetStreamPkgId
${vnfPackageOctetStreamId}    octetStreamPkgId
+1 −1
Original line number Original line Diff line number Diff line
@@ -465,7 +465,7 @@ Check HTTP Response Header Content-Range Is Present and Matches the requested ra
Check HTTP Response Header Content-Length Is Present and Matches the requested range length
Check HTTP Response Header Content-Length Is Present and Matches the requested range length
    Log    Check Content-Length HTTP Header
    Log    Check Content-Length HTTP Header
    Should Contain    ${response['headers']}    Content-Length
    Should Contain    ${response['headers']}    Content-Length
    Should Be Equal As Integers    ${response['headers']['Content-Length']}    ${full_length}
    Should Be Equal As Integers    ${response['headers']['Content-Length']}    ${length}
    Log    Header Content-Length is present
    Log    Header Content-Length is present


GET Individual VNF Package Content with invalid Range Request
GET Individual VNF Package Content with invalid Range Request
+1 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,7 @@ ${CONTENT_TYPE_OCTET} application/octet-stream
${NFVO_RANGE_OK}    1    # If 1 means that Range is supported by the NFVO
${NFVO_RANGE_OK}    1    # If 1 means that Range is supported by the NFVO
${range}          0-1023
${range}          0-1023
${full_length}        2000        # Full size of the artifact to be downloaded using partial download
${full_length}        2000        # Full size of the artifact to be downloaded using partial download
${length}             1024        # Length of the requested portion
${erroneousRange}    10000000-1000000000    # Requesting a out of range number of bytes
${erroneousRange}    10000000-1000000000    # Requesting a out of range number of bytes
${erroneousVnfPkgId}    erroneousPkgId
${erroneousVnfPkgId}    erroneousPkgId
${vnfPackageOctetStreamId}    octetStreamPkgId
${vnfPackageOctetStreamId}    octetStreamPkgId
 No newline at end of file