Commit 0ec9147b authored by root's avatar root Committed by Michele Carignani
Browse files

bug-fixes

parent 6bb58542
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -220,7 +220,7 @@ Check Postcondition VNF Indicator Subscription Is Set
    
    
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
    Log    Check Response includes VNF Indicators according to filter
    Log    Check Response includes VNF Indicators according to filter
    #todo
    Should Be Equal As Strings    ${response[0]['body']['callbackUri']}    ${POS_FILTER['callbackUri']}




Create Sessions
Create Sessions
+2 −1
Original line number Original line Diff line number Diff line
@@ -269,4 +269,5 @@ Check Postcondition VNF Indicators Exist
    
    
Check HTTP Response Body vnfIndicators Matches the requested attribute-based filter
Check HTTP Response Body vnfIndicators Matches the requested attribute-based filter
    Log    Check Response includes VNF Indicators according to filter
    Log    Check Response includes VNF Indicators according to filter
    #todo
    Should Be True     "${response[0]['body']['name']}"=="${POS_FILTER['name']}" and "${response[0]['body']['vnfInstanceId']}"=="${POS_FILTER['vnfInstanceId']}"
 No newline at end of file
    
 No newline at end of file
+8 −4
Original line number Original line Diff line number Diff line
@@ -196,12 +196,16 @@ Check HTTP Response Body Json Schema Is


Check HTTP Response Body Includes Requested VNF Instance ID
Check HTTP Response Body Includes Requested VNF Instance ID
    Log    Check Response includes Indicators according to resource identifier
    Log    Check Response includes Indicators according to resource identifier
    #todo
    Should Be Equal As Strings   ${response['body']['vnfInstanceId']}    ${vnfInstanceId}
    
    
Check HTTP Response Body Matches Attribute-Based Filter
Check HTTP Response Body Matches Attribute-Based Filter
    Log    Check Response includes VNF Indicators according to filter
    Log    Check Response includes VNF Indicators according to filter
    #todo
    Should Be Equal As Strings    ${response[0]['body']['name']}    ${POS_FIELDS['name']}


Check Postcondition Indicators for VNF instance Exist
Check Postcondition Indicators for VNF instance Exist
    Log    Check Response includes VNF Indicators according to filter
    Log    Check Postcondition Indicators for VNF instance Exist
    #todo
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    GET    ${apiRoot}/${apiName}/${apiVersion}/indicators/${vnfInstanceId}
    Should Be Equal    ${response.status_code}    200
    
+1 −1
Original line number Original line Diff line number Diff line
@@ -324,7 +324,7 @@ Check HTTP Response Body Matches all_fields selector
    
    
Check HTTP Response Body Matches filter
Check HTTP Response Body Matches filter
    Log    Checking that attribute-based filter is matched
    Log    Checking that attribute-based filter is matched
    #todo
    Should Be Equal As Strings    ${response[0]['body']['objectInstanceIds']}    ${POS_FILTER['objectInstanceIds']}


Check HTTP Response Body Does Not Contain reports
Check HTTP Response Body Does Not Contain reports
    Log    Checking that field element is missing
    Log    Checking that field element is missing
+1 −1
Original line number Original line Diff line number Diff line
@@ -195,7 +195,7 @@ Check Postcondition Threshold Exists
        
        
Check HTTP Response Body Thresholds match the requested attribute-based filter
Check HTTP Response Body Thresholds match the requested attribute-based filter
    Log    Checking that attribute-based filter is matched
    Log    Checking that attribute-based filter is matched
    #todo
    Should Be Equal As Strings    ${response[0]['body']['objectInstanceId']}    ${FILTER_OK['objectInstanceId']}
    
    
Check HTTP Response Status Code Is
Check HTTP Response Status Code Is
    [Arguments]    ${expected_status}
    [Arguments]    ${expected_status}
Loading