Skip to content

Commit 01027c9

Browse files
Merge pull request #52 from remotemobprogramming/bruno
added bruno collection
2 parents 869e263 + 95dcdf0 commit 01027c9

File tree

6 files changed

+78
-0
lines changed

6 files changed

+78
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
meta {
2+
name: Set break timer for room
3+
type: http
4+
seq: 2
5+
}
6+
7+
put {
8+
url: {{baseUrl}}/{{roomId}}
9+
body: json
10+
auth: none
11+
}
12+
13+
body:json {
14+
{
15+
"timer": {{timerInMinutes}},
16+
"user": "{{user}}"
17+
}
18+
}
19+
20+
vars:pre-request {
21+
roomId: test123
22+
timerInMinutes: 10
23+
user: TestUser
24+
}
25+
26+
assert {
27+
res.status: eq 202
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
meta {
2+
name: Set timer for room
3+
type: http
4+
seq: 1
5+
}
6+
7+
put {
8+
url: {{baseUrl}}/{{roomId}}
9+
body: json
10+
auth: none
11+
}
12+
13+
body:json {
14+
{
15+
"breaktimer": {{timerInMinutes}},
16+
"user": "{{user}}"
17+
}
18+
}
19+
20+
vars:pre-request {
21+
roomId: test123
22+
timerInMinutes: 10
23+
user: TestUser
24+
}
25+
26+
assert {
27+
res.status: eq 202
28+
}
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "1",
3+
"name": "mob.timer.sh",
4+
"type": "collection",
5+
"ignore": [
6+
"node_modules",
7+
".git"
8+
],
9+
"presets": {
10+
"requestType": "http",
11+
"requestUrl": "{{baseUrl}}"
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
vars {
2+
baseUrl: https://dev.timer.mob.sh
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
vars {
2+
baseUrl: http://localhost:8080
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
vars {
2+
baseUrl: https://mob.timer.sh
3+
}

0 commit comments

Comments
 (0)