Commit 9ae2a5b5 authored by Najam UI Hassan's avatar Najam UI Hassan Committed by Michele Carignani
Browse files

bug-fixes final list v5

parent 04481a86
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -220,8 +220,8 @@ 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
    Should Be Equal As Strings    ${response[0]['body']['callbackUri']}    ${POS_FILTER['callbackUri']}
    @{words} =  Split String    ${POS_FILTER}       ,${SEPERATOR} 

    Should Be Equal As Strings    ${response['body'][0]['callbackUri']}    @{words}[1]
    
    
Create Sessions
Create Sessions
    Pass Execution If    ${VNFM_CHECKS_NOTIF_ENDPOINT} == 0   MockServer not necessary to run    
    Pass Execution If    ${VNFM_CHECKS_NOTIF_ENDPOINT} == 0   MockServer not necessary to run    
+4 −2
Original line number Original line Diff line number Diff line
@@ -269,5 +269,7 @@ 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
    Should Be True     "${response[0]['body']['name']}"=="${POS_FILTER['name']}" and "${response[0]['body']['vnfInstanceId']}"=="${POS_FILTER['vnfInstanceId']}"
    @{attr} =  Split String    ${POS_FILTER}       ,${VAR_SEPERATOR} 
    
    @{var_name} = Split String    @{attr}[0]       ,${SEPERATOR}
 No newline at end of file
    @{var_id} = Split String    @{attr}[1]       ,${SEPERATOR}
    Should Be True     "${response['body'][0]['name']}"=="@{var_name}[1]" and "${response['body'][0]['vnfInstanceId']}"=="@{var_id}[1]"
 No newline at end of file
+2 −1
Original line number Original line Diff line number Diff line
@@ -200,7 +200,8 @@ Check HTTP Response Body Includes Requested VNF Instance ID
    
    
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
    Should Be Equal As Strings    ${response[0]['body']['name']}    ${POS_FIELDS['name']}
    @{words} =  Split String    ${POS_FIELDS}       ,${SEPERATOR} 
    Should Be Equal As Strings    ${response['body'][0]['name']}    @{words}[1]


Check Postcondition Indicators for VNF instance Exist
Check Postcondition Indicators for VNF instance Exist
    Log    Check Postcondition Indicators for VNF instance Exist
    Log    Check Postcondition Indicators for VNF instance Exist
+1 −0
Original line number Original line Diff line number Diff line
@@ -7,3 +7,4 @@ ${NEG_FILTER} callback=http://127.0.0.1/subscribe
${response}=    httpresponse
${response}=    httpresponse
${total_polling_time}   2 min
${total_polling_time}   2 min
${polling_interval}     10 sec
${polling_interval}     10 sec
${SEPERATOR}      =
 No newline at end of file
+1 −0
Original line number Original line Diff line number Diff line
@@ -4,3 +4,4 @@ ${erroneousVnfInstanceId} erroneousVnfInstanceId
${POS_FIELDS}     name=vnfIndicator
${POS_FIELDS}     name=vnfIndicator
${NEG_FIELDS}     wrongName=any_value
${NEG_FIELDS}     wrongName=any_value
${response}=    httpresponse
${response}=    httpresponse
${SEPERATOR}      =
 No newline at end of file
Loading