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

Fix issue #155

parent 02d14ee1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ Check Postcondition VNF Indicator Subscription Is Set
    
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
    Log    Check Response includes VNF Indicators according to filter
    @{words} =  Split String    ${POS_FILTER}       ,${SEPERATOR} 
    @{words} =  Split String    ${POS_FILTER}       ${SEPARATOR} 
    Should Be Equal As Strings    ${response['body'][0]['callbackUri']}    @{words}[1]
    
Create Sessions
+3 −3
Original line number Diff line number Diff line
@@ -296,9 +296,9 @@ Check Postcondition VNF Indicators Exist
    
Check HTTP Response Body vnfIndicators Matches the requested attribute-based filter
    Log    Check Response includes VNF Indicators according to filter
    @{attr} =  Split String    ${POS_FILTER}       ,${VAR_SEPERATOR} 
    @{var_name} =    Split String    @{attr}[0]       ,${SEPERATOR}
    @{var_id} =    Split String    @{attr}[1]       ,${SEPERATOR}
    @{attr} =  Split String    ${POS_FILTER}       ${VAR_SEPARATOR} 
    @{var_name} =    Split String    @{attr}[0]       ${SEPARATOR}
    @{var_id} =    Split String    @{attr}[1]       ${SEPARATOR}
    Should Be True     "${response['body'][0]['name']}"=="@{var_name}[1]" and "${response['body'][0]['vnfInstanceId']}"=="@{var_id}[1]"

Check LINK in Header
+1 −1
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@ Check HTTP Response Body Includes Requested VNF Instance ID
    
Check HTTP Response Body Matches Attribute-Based Filter
    Log    Check Response includes VNF Indicators according to filter
    @{words} =  Split String    ${POS_FIELDS}       ,${SEPERATOR} 
    @{words} =  Split String    ${POS_FIELDS}       ${SEPARATOR} 
    Should Be Equal As Strings    ${response['body'][0]['name']}    @{words}[1]

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