Commit 53e3214a authored by Eisha Ayaz's avatar Eisha Ayaz Committed by Giacomo Bernini
Browse files

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

[fix][SOL003][VNF-PM][ v5.2.1] [7.3.4.1.9 Test-ID] Fix Location Header identifier across VNF-PM APIs
parent 0d4097a4
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -136,6 +136,8 @@ Create new VNF Performance Monitoring Job
    Check HTTP Response Header Contains    Location
    Check HTTP Response Body Json Schema Is   PmJob
    Check Postcondition PmJob Exists
    Check Postcondition PM Job Resource Returned in Location Header Is Available


PUT all VNF Performance Monitoring Jobs - Method not implemented
    [Documentation]    Test ID: 7.3.4.1.10
@@ -459,6 +461,15 @@ Check Postcondition PmJob Exists
    Set Suite Variable    ${response}    ${output}
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    PmJob
Check Postcondition PM Job Resource Returned in Location Header Is Available
    Log    Fetching PM job 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/PmJob.schema.json    ${result}
    Log    PM Job resource validated

Check HTTP Response Body PmJobs Matches the requested exclude_fields selector
    Log    Checking that reports element is missing