Commit 029fbbbc authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

added test doc to SOL002 VNF PM

parent 6c9a60d5
Loading
Loading
Loading
Loading
+5 −4
Changes for SOL002/VNFConfiguration-API/Configuration.robot: 5 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ Set new VNF Configuration
    Send VNF configuration
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Contains    ETag
    Check HTTP Response Body Json Schema Is   vnfConfigModifications.schema.json
    Check HTTP Response Body Json Schema Is   vnfConfigModifications
    Check Postcondition VNF Is Configured

Get information about a VNF configuration
@@ -34,7 +34,7 @@ Get information about a VNF configuration
    ...    Post-Conditions: none
    Get VNF configuration
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfConfiguration.schema.json
    Check HTTP Response Body Json Schema Is   vnfConfiguration

Get information about a VNF configuration with HTTP Etag
    [Tags]    etag
@@ -49,7 +49,7 @@ Get information about a VNF configuration with HTTP Etag
    Get VNF configuration
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Contains    ETag
    Check HTTP Response Body Json Schema Is   vnfConfiguration.schema.json
    Check HTTP Response Body Json Schema Is   vnfConfiguration

Set new VNF Configuration - HTTP Etag precondition unsuccessful
    [Tags]    etag
@@ -138,8 +138,9 @@ Check HTTP Response Header Contains
    Log    Header is present
    
Check HTTP Response Body Json Schema Is
    [Arguments]    ${schema}
    [Arguments]    ${input}
    Should Contain    ${response[0]['headers']['Content-Type']}    application/json
    ${schema} =    Catenate    ${input}    .schema.json
    Validate Json    ${schema}    ${response[0]['body']}
    Log    Json Schema Validation OK
      
+2 −1
Changes for SOL002/VNFIndicator-API/IndividualSubscription.robot: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -171,8 +171,9 @@ Check HTTP Response Header Contains
    Log    Header is present
    
Check HTTP Response Body Json Schema Is
    [Arguments]    ${schema}
    [Arguments]    ${input}
    Should Contain    ${response[0]['headers']['Content-Type']}    application/json
    ${schema} =    Catenate    ${input}    .schema.json
    Validate Json    ${schema}    ${response[0]['body']}
    Log    Json Schema Validation OK

+2 −1
Changes for SOL002/VNFIndicator-API/IndividualVNFindicator.robot: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -144,8 +144,9 @@ Check HTTP Response Header Contains
    Log    Header is present
    
Check HTTP Response Body Json Schema Is
    [Arguments]    ${schema}
    [Arguments]    ${input}
    Should Contain    ${response[0]['headers']['Content-Type']}    application/json
    ${schema} =    Catenate    ${input}    .schema.json
    Validate Json    ${schema}    ${response[0]['body']}
    Log    Json Schema Validation OK

+2 −1
Changes for SOL002/VNFIndicator-API/Subscriptions.robot: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -191,8 +191,9 @@ Check HTTP Response Header Contains
    Log    Header is present
    
Check HTTP Response Body Json Schema Is
    [Arguments]    ${schema}
    [Arguments]    ${input}
    Should Contain    ${response[0]['headers']['Content-Type']}    application/json
    ${schema} =    Catenate    ${input}    .schema.json
    Validate Json    ${schema}    ${response[0]['body']}
    Log    Json Schema Validation OK

+94 −81

File changed.

Preview size limit exceeded, changes collapsed.

Loading