Fix CLAMP CSIT APIs as model changed
[integration/csit.git] / tests / clamp / APIs / 01__Create_CL_Holmes.robot
1 *** Settings ***
2 Library     Collections
3 Library     RequestsLibrary
4 Library     OperatingSystem
5 Library     json
6
7 *** Variables ***
8 ${login}                     admin
9 ${passw}                     password
10
11 *** Keywords ***
12 Create the sessions
13     ${auth}=    Create List     ${login}    ${passw}
14     Create Session   clamp  https://localhost:8443   auth=${auth}   disable_warnings=1
15     Set Global Variable     ${clamp_session}      clamp
16
17 *** Test Cases ***
18 Get Requests health check ok
19     Create the sessions
20     ${resp}=    Get Request    ${clamp_session}   /restservices/clds/v1/healthcheck
21     Should Be Equal As Strings  ${resp.status_code}     200