Commit fcc1ef8e authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix issue #115

parent c31a01c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -359,7 +359,7 @@ Check HTTP Response Body Json Schema Is
    Log    Json Schema Validation OK
    Log    Json Schema Validation OK
    
    
Check LINK in Header
Check LINK in Header
    ${linkURL}=    Get Value From Json    ${response.headers}    $..Link
    ${linkURL}=    Get Value From Json    ${response['headers']}    $..Link
    Should Not Be Empty    ${linkURL}
    Should Not Be Empty    ${linkURL}
    
    
GET Alarms Task with filter "id"
GET Alarms Task with filter "id"
+1 −1
Original line number Original line Diff line number Diff line
@@ -401,7 +401,7 @@ Check HTTP Response Body Json Schema Is
    Log    Json Schema Validation OK  
    Log    Json Schema Validation OK  
    
    
Check LINK in Header
Check LINK in Header
    ${linkURL}=    Get Value From Json    ${response.headers}    $..Link
    ${linkURL}=    Get Value From Json    ${response['headers']}    $..Link
    Should Not Be Empty    ${linkURL}
    Should Not Be Empty    ${linkURL}
    
    
Get subscriptions with filter "id"
Get subscriptions with filter "id"
+1 −1
Original line number Original line Diff line number Diff line
@@ -264,5 +264,5 @@ Check Notification Endpoint
    Clear Requests  ${callback_endpoint}
    Clear Requests  ${callback_endpoint}
    
    
Check LINK in Header
Check LINK in Header
    ${linkURL}=    Get Value From Json    ${response.headers}    $..Link
    ${linkURL}=    Get Value From Json    ${response['headers']}    $..Link
    Should Not Be Empty    ${linkURL}
    Should Not Be Empty    ${linkURL}
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -302,5 +302,5 @@ Check HTTP Response Body vnfIndicators Matches the requested attribute-based fil
    Should Be True     "${response['body'][0]['name']}"=="@{var_name}[1]" and "${response['body'][0]['vnfInstanceId']}"=="@{var_id}[1]"
    Should Be True     "${response['body'][0]['name']}"=="@{var_name}[1]" and "${response['body'][0]['vnfInstanceId']}"=="@{var_id}[1]"


Check LINK in Header
Check LINK in Header
    ${linkURL}=    Get Value From Json    ${response.headers}    $..Link
    ${linkURL}=    Get Value From Json    ${response['headers']}    $..Link
    Should Not Be Empty    ${linkURL}
    Should Not Be Empty    ${linkURL}
+2 −2
Original line number Original line Diff line number Diff line
@@ -235,8 +235,8 @@ Check Postcondition Indicators for VNF instance Exist
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    GET    ${apiRoot}/${apiName}/${apiVersion}/indicators/${vnfInstanceId}
    GET    ${apiRoot}/${apiName}/${apiVersion}/indicators/${vnfInstanceId}
    Should Be Equal    ${response.status_code}    200
    Should Be Equal    ${response['status']}    200
    
    
Check LINK in Header
Check LINK in Header
    ${linkURL}=    Get Value From Json    ${response.headers}    $..Link
    ${linkURL}=    Get Value From Json    ${response['headers']}    $..Link
    Should Not Be Empty    ${linkURL}
    Should Not Be Empty    ${linkURL}
 No newline at end of file
Loading