We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba1ac5e commit e48c25bCopy full SHA for e48c25b
tests/api/actors.robot
tests/api/queue.robot
@@ -0,0 +1,22 @@
1
+*** Settings ***
2
+Resource keywords.robot
3
+Library RequestsLibrary
4
+
5
+*** Variables ***
6
+${QUEUE_ENDPOINT} ${BASE_URL}/queue
7
+${QUEUE_INFO_ENDPOINT} ${QUEUE_ENDPOINT}/info
8
+${QUEUE_TASKS_ENDPOINT} ${QUEUE_ENDPOINT}/tasks
9
10
11
+*** Test Cases ***
12
13
+Queue Info Endpoint
14
+ ${response}= GET ${QUEUE_INFO_ENDPOINT} headers=${HEADERS} expected_status=200
15
+ ${json}= Set Variable ${response.json()}
16
+ Dictionary Should Contain Key ${json} workers
17
+ Dictionary Should Contain Key ${json} tasks
18
19
+Queue Tasks Endpoint
20
+ ${response}= GET ${QUEUE_TASKS_ENDPOINT} headers=${HEADERS} expected_status=200
21
22
0 commit comments