Commit 0afd5a60 authored by Eisha Ayaz's avatar Eisha Ayaz Committed by Giacomo Bernini
Browse files

[fix][SOL003][VNF-PM][ v5.2.1] [7.3.4.4.5 Test-ID] Fix Location Header...

[fix][SOL003][VNF-PM][ v5.2.1] [7.3.4.4.5 Test-ID] Fix Location Header identifier across VNF-PM APIs
parent 53e3214a
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -78,6 +78,8 @@ Create new Performance Threshold
    Check HTTP Response Body Json Schema Is   Threshold
    Check HTTP Response Header Contains    Location
    Check Postcondition Threshold Exists
    Check Postcondition Threshold Resource Returned in Location Header Is Available


PUT Performance Thresholds - Method not implemented
    [Documentation]    Test ID: 7.3.4.4.6
@@ -319,6 +321,16 @@ Check Postcondition Threshold Exists
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    Threshold

Check Postcondition Threshold Resource Returned in Location Header Is Available
    Log    Fetching resource pointed by Location header
    GET    ${response['headers']['Location']}
    Integer    response status    200
    ${contentType}=    Output    response headers Content-Type
    Should Contain    ${contentType}    application/json
    ${result}=    Output    response body
    Validate Json    schemas/Threshold.schema.json    ${result}
    Log    Threshold resource validated
    
Check HTTP Response Body Thresholds match the requested attribute-based filter
    Log    Checking that attribute-based filter is matched
    #todo