Add healthcheck test for Netconf Server
[integration/csit.git] / tests / integration / nfsimulator / netconf-server / resources / netconf-server-keywords.robot
1 *** Settings ***
2 Library               RequestsLibrary
3 Resource          ./netconf-server-properties.robot
4
5 *** Keywords ***
6
7 Run Healthcheck
8     [Documentation]  Run Healthcheck
9     Create Session    netconf_server_session    ${NETCONF_SERVER_URL}
10     ${resp}=  GET On Session  netconf_server_session  /healthcheck
11     Should Be Equal As Strings  ${resp.status_code}  200
12     Should Be Equal As Strings  ${resp.text}  UP