diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/nfsimulator/netconf-server/netconf-server-rest-test.robot | 5 | ||||
-rw-r--r-- | tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/integration/nfsimulator/netconf-server/netconf-server-rest-test.robot b/tests/integration/nfsimulator/netconf-server/netconf-server-rest-test.robot index 4805d680..0d3ebdec 100644 --- a/tests/integration/nfsimulator/netconf-server/netconf-server-rest-test.robot +++ b/tests/integration/nfsimulator/netconf-server/netconf-server-rest-test.robot @@ -10,3 +10,8 @@ Netconf Server Rest API Health Check [Tags] Netconf-Server [Documentation] Run healthcheck Run Healthcheck + +Netconf Server Rest API Readiness Check + [Tags] Netconf-Server + [Documentation] Run readiness + Run Readiness
\ No newline at end of file diff --git a/tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot b/tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot index 94be035b..fd54487a 100644 --- a/tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot +++ b/tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot @@ -10,3 +10,12 @@ Run Healthcheck ${resp}= GET On Session netconf_server_session /healthcheck Should Be Equal As Strings ${resp.status_code} 200 Should Be Equal As Strings ${resp.text} UP + +Run Readiness + [Documentation] Run Readiness + Create Session netconf_server_session ${NETCONF_SERVER_URL} + ${resp}= GET On Session netconf_server_session /readiness + Should Be Equal As Strings ${resp.status_code} 200 + Should Be Equal As Strings ${resp.text} Ready + + |