File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ *** Settings ***
2+ Resource keywords.robot
3+ Library RequestsLibrary
4+
5+ *** Variables ***
6+ ${ACTORS_ENDPOINT } ${BASE_URL } /actors
7+ ${RESTART_ACTOR_ENDPOINT } ${ACTORS_ENDPOINT } /Vectordb/restart
8+
9+
10+ *** Test Cases ***
11+
12+ List Ray Actors
13+ ${response } = GET ${ACTORS_ENDPOINT } headers=${HEADERS } expected_status=200
14+ ${json } = Set Variable ${response.json() }
15+ Dictionary Should Contain Key ${json } actors
16+
17+ Restart Vectordb Actor
18+ ${response } = POST ${RESTART_ACTOR_ENDPOINT } headers=${HEADERS } expected_status=200
19+ ${json } = Set Variable ${response.json() }
20+ Dictionary Should Contain Key ${json } message
21+ Should Contain ${json } [message] restarted successfully
22+ Dictionary Should Contain Key ${json } actor_id
You can’t perform that action at this time.
0 commit comments