From ebe375ea2fefa73f6701358d1bcc3c3ce6b6092d Mon Sep 17 00:00:00 2001 From: uihassan Date: Mon, 26 Oct 2020 13:54:55 +0500 Subject: [PATCH] added postcondition --- SOL009/NFVMANOLogManagement-API/CompileLogTask.robot | 8 ++++---- .../NFVMANOLogManagementKeywords.robot | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot b/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot index 269d5ea7..14031371 100644 --- a/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot +++ b/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot @@ -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 diff --git a/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot b/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot index b49ebc37..f1ea0620 100644 --- a/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot +++ b/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot @@ -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 -- GitLab