From 3a275ec6f09bb6e926b933f5138ba5e2fffbf77b Mon Sep 17 00:00:00 2001 From: Leonardo Bellini Date: Thu, 8 Mar 2018 11:48:47 -0600 Subject: freeze optf/has for m3 Issue-ID: OPTFRA-165 Change-Id: I9b041808eb40bab42436811cdc34c9f99257ad9c Signed-off-by: Leonardo Bellini --- test/csit/tests/optf/has/optf_has_test.robot | 38 +++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'test/csit/tests') diff --git a/test/csit/tests/optf/has/optf_has_test.robot b/test/csit/tests/optf/has/optf_has_test.robot index 183cb6859..f939bd91a 100644 --- a/test/csit/tests/optf/has/optf_has_test.robot +++ b/test/csit/tests/optf/has/optf_has_test.robot @@ -13,11 +13,47 @@ ${RESP_MESSAGE_WITHOUT_DEMANDS} Undefined Demand ${generatedPlanId} *** Test Cases *** +Check ConductorApi Docker Container + [Documentation] It checks cassandra docker container is running + ${rc} ${output}= Run and Return RC and Output docker ps + Log To Console ********************* + Log To Console retrurn_code = ${rc} + Log To Console output = ${output} + Should Be Equal As Integers ${rc} 0 + Should Contain ${output} cond-api + +Check ConductorController Docker Container + [Documentation] It checks zookeeper docker container is running + ${rc} ${output}= Run and Return RC and Output docker ps + Log To Console ********************* + Log To Console retrurn_code = ${rc} + Log To Console output = ${output} + Should Be Equal As Integers ${rc} 0 + Should Contain ${output} cond-cont + +Check ConductorSolver Docker Container + [Documentation] It checks tomcat docker container is running + ${rc} ${output}= Run and Return RC and Output docker ps + Log To Console ********************* + Log To Console retrurn_code = ${rc} + Log To Console output = ${output} + Should Be Equal As Integers ${rc} 0 + Should Contain ${output} cond-solv + +Check ConductorReservation War Docker Container + [Documentation] It checks music.war docker container is running + ${rc} ${output}= Run and Return RC and Output docker ps + Log To Console ********************* + Log To Console retrurn_code = ${rc} + Log To Console output = ${output} + Should Be Equal As Integers ${rc} 0 + Should Contain ${output} cond-resv + Get Root Url [Documentation] It sends a REST GET request to root url Create Session optf-cond ${COND_HOSTNAME}:${COND_PORT} &{headers}= Create Dictionary Content-Type=application/json Accept=application/json - ${resp}= Get Request optf-cond /v1/plans/ headers=${headers} + ${resp}= Get Request optf-cond / headers=${headers} Log To Console ********************* Log To Console response = ${resp} Log To Console body = ${resp.text} -- cgit 1.2.3-korg