Commit 03b59d9e authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

bug fix

parent 7d9a5ac7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -51,13 +51,13 @@ Check resource existence and get CallbackUri
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId}	
    Integer    response status    200
    Validate Json    response body    FmSubscription.schema.json
    Set Global Variable    ${callbackResp}    response body callbackUri
    
Check HTTP Response Status Code Is
    [Arguments]    ${expected_status}    
    Should Be Equal As Strings    ${response['status']}    ${expected_status}
    Log    Status code validated 
    Validate Json    response body    FmSubscription.schema.json
    Set Global Variable    ${callbackResp}    response body callbackUri

Post Alarm Notification
    log    Trying to perform a POST to get notification