-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebinar-k8s-ha.postman_collection.json
79 lines (79 loc) · 1.41 KB
/
webinar-k8s-ha.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"info": {
"_postman_id": "380ee3ba-3e06-460e-91da-b55e81ea251b",
"name": "webinar-k8s-ha",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "8116712"
},
"item": [
{
"name": "Get Person",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
"pm.globals.set('random_number', Math.floor(Math.random() * 200));"
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://{{webgateway-lb}}/external/person/{{random_number}}",
"protocol": "http",
"host": [
"{{webgateway-lb}}"
],
"path": [
"external",
"person",
"{{random_number}}"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "webgateway-lb",
"value": "ab6b9045e05d8410aa8cb9a66ed348b0-1326787197.eu-west-1.elb.amazonaws.com",
"type": "string"
}
]
}