X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Fhelm%2Fnanobot%2Fconfigmap-src%2Ftestsuites%2Fete.robot;h=cd861644e7f9eae01f1c2335f8c84ede0e479f9f;hb=102e086b03191c61af6a9bf18147ecf11c20d6af;hp=adf459a57fa5f942b452f40f55365b941e3b6c07;hpb=c5fa07bcd8cbd614bcd813cac698385b789bcfcb;p=it%2Ftest.git diff --git a/ric_robot_suite/helm/nanobot/configmap-src/testsuites/ete.robot b/ric_robot_suite/helm/nanobot/configmap-src/testsuites/ete.robot index adf459a..cd86164 100644 --- a/ric_robot_suite/helm/nanobot/configmap-src/testsuites/ete.robot +++ b/ric_robot_suite/helm/nanobot/configmap-src/testsuites/ete.robot @@ -2,32 +2,69 @@ Documentation Executes the End To End Test cases ... Library Collections -#Library HTTPUtils +Library OperatingSystem + Resource ../resources/appmgr/appmgr_interface.robot +Resource ../resources/appmgr/negative_appmgr_tests.robot Resource ../resources/e2mgr/e2mgr_interface.robot +Resource ../resources/dashboard/dashboard_interface.robot *** Variables *** -${TEST_XAPPNAME} DemoXapp1 -${TEST_XAPPID} 101 -${TEST_NODE_B_NAME} nodeB1 +${TEST_XAPPNAME} xapp-std +${TEST_XAPPID} 101 +${TEST_NODE_B_NAME} AAAA456789 ${TEST_NODE_B_IP} 10.0.0.3 -${TEST_NODE_B_PORT} 879 +${TEST_NODE_B_PORT} 36422 *** Test Cases *** -Get All Xapps - [Tags] etetests xapptests - Run AppMgr Get All Request -Create Xapp - [Tags] etetests xapptests - Run Create Xapp ${TEST_XAPPNAME} ${TEST_XAPPID} -Get Xapp By Name - [Tags] etetests xapptests - Run AppMgr Get By XappName ${TEST_XAPPNAME} -Get Xapp By Name and Id - [Tags] etetests xapptests - Run AppMgr Get By XappName and XappId ${TEST_XAPPNAME} ${TEST_XAPPID} -Setup RAN Via E2 Mgr - [Tags] etetests e2mgrtests - Run E2Mgr Setup NodeB ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT} - +Test XApp Manager Health + [Tags] etetests xapptests + Run AppMgr Health Check +Deploy An XApp + [Tags] etetests xapptests + Deploy XApp ${TEST_XAPPNAME} +Retrieve The Deployed XApp + [Tags] etetests xapptests + Get XApp By Name ${TEST_XAPPNAME} +Attempt To Deploy A Duplicate XApp + [Tags] etetests xapptests + Deploy Duplicate XApp And Expect Error +Undeploy The Deployed XApp + [Tags] etetests xapptests + Undeploy XApp ${TEST_XAPPNAME} +Attempt To Undeploy An Already Undeployed XApp + [Tags] etetests xapptests + Undeploy Nondeployed XApp And Expect Error +Attempt To Request A Nonexistent XApp + [Tags] etetests xapptests + Request Nonexistent XApp And Expect Error + +Setup RAN Via E2Mgr X2 + [Tags] x2setup + Run E2Mgr Setup NodeB X2 ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT} + Wait Until Keyword Succeeds 20s 5s Check NodeB Status ${TEST_NODE_B_NAME} +Setup RAN Via E2Mgr Endc + [Tags] e2setup + Run E2Mgr Setup NodeB Endc ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT} + Wait Until Keyword Succeeds 20s 5s Check NodeB Status ${TEST_NODE_B_NAME} +Get NodeB via E2Mgr + [Tags] e2setup x2setup + Run E2Mgr Get NodeB Request ${TEST_NODE_B_NAME} +Get All NodeBs Via E2Mgr + [Tags] e2mgrtest etetests e2setup x2setup ci_tests + Run E2Mgr Get All NodeBs Request +Setup RAN Via Dashboard Endc + [Tags] e2setup_dash + Run Dashboard Setup NodeB Endc ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT} + Wait Until Keyword Succeeds 20s 5s Dashboard Check NodeB Status ${TEST_NODE_B_NAME} +Setup RAN Via Dashboard X2 + [Tags] x2setup_dash + Run Dashboard Setup NodeB X2 ${TEST_NODE_B_NAME} ${TEST_NODE_B_IP} ${TEST_NODE_B_PORT} + Wait Until Keyword Succeeds 20s 5s Dashboard Check NodeB Status ${TEST_NODE_B_NAME} +Get NodeB via Dashboard + [Tags] e2setup_dash x2setup_dash + Run Dashboard Get NodeB Request ${TEST_NODE_B_NAME} +Get All NodeBs via Dashboard + [Tags] e2setup_dash x2setup_dash ci_tests + Run Dashboard Get All NodeBs Request