Commit ebe375ea authored by Najam UI Hassan's avatar Najam UI Hassan Committed by Giacomo Bernini
Browse files

added postcondition

parent dec21aa0
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ Request to compile the logged data into a file - Synchronous mode
    [Documentation]    Test ID: 8.3.4.4.1
    ...    Test title: Request to compile the logged data into a file - Synchronous mode
    ...    Test objective: The objective is to request to compile the logged data into a file in synchronous mode and perform a JSON schema validation on the returned log report data structure
    ...    Pre-conditions: none
    ...    Pre-conditions: logging job is available
    ...    Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [6] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The NFV-MANO can decide immediately what to respond to a compile request
@@ -26,15 +26,15 @@ Request to compile the logged data into a file - Asynchronous mode
    [Documentation]    Test ID: 8.3.4.4.2
    ...    Test title: Request to compile the logged data into a file - Asynchronous mode
    ...    Test objective: The objective is to request to compile the logged data into a file in asynchronous mode
    ...    Pre-conditions: none
    ...    Pre-conditions: logging job is available
    ...    Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [6] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The NFV-MANO can not decide immediately what to respond to a compile request
    ...    Post-Conditions: none
    ...    Post-Conditions: log report is available to the API consumer
    Send Log data Request in Asynchronous mode
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains Location
    Wait for compilation success notification 
    Check postcondition Wait for compilation success notification 
    
Request to compile the logged data into a file - Already Processing
    [Documentation]    Test ID: 8.3.4.4.3
+1 −1
Original line number Diff line number Diff line
@@ -322,7 +322,7 @@ Send Log data Request in Asynchronous mode
    ${body}=    Output    response
    Set Suite Variable    &{response}    ${body}
    
 Wait for compilation success notification 
 Check postcondition Wait for compilation success notification
    Wait Until Keyword Succeeds    ${retry}   ${polling}    Get success notification
    
Get Success notification