diff --git a/api-collection/bruno/External API/Get.bru b/api-collection/bruno/External API/Get.bru new file mode 100644 index 0000000..0bdeac9 --- /dev/null +++ b/api-collection/bruno/External API/Get.bru @@ -0,0 +1,18 @@ +meta { + name: Get + type: http + seq: 1 +} + +post { + url: http://localhost:4444/call + body: json + auth: none +} + +body:json { + { + "url": "http://httpbin.org/get", + "method": "GET" + } +} diff --git a/api-collection/bruno/External API/Post.bru b/api-collection/bruno/External API/Post.bru new file mode 100644 index 0000000..83ae4d6 --- /dev/null +++ b/api-collection/bruno/External API/Post.bru @@ -0,0 +1,15 @@ +meta { + name: Post + type: http + seq: 2 +} + +post { + url: http://localhost:4444/call + body: json + auth: none +} + +body:json { + {"url": "http://httpbin.org/post", "method": "POST", "body": "{key: value}"} +} diff --git a/api-collection/bruno/Proxy/Create Proxy.bru b/api-collection/bruno/Proxy/Create Proxy.bru new file mode 100644 index 0000000..dabbe85 --- /dev/null +++ b/api-collection/bruno/Proxy/Create Proxy.bru @@ -0,0 +1,22 @@ +meta { + name: Create Proxy + type: http + seq: 1 +} + +post { + url: http://localhost:4444/proxy + body: json + auth: none +} + +body:json { + { + "path": "/time", + "method": "GET", + "proxy": { + "url": "http://worldtimeapi.org/api/timezone/asia/kolkata", + "method": "GET" + } + } +} diff --git a/api-collection/bruno/Proxy/Delete Proxy.bru b/api-collection/bruno/Proxy/Delete Proxy.bru new file mode 100644 index 0000000..8f67487 --- /dev/null +++ b/api-collection/bruno/Proxy/Delete Proxy.bru @@ -0,0 +1,22 @@ +meta { + name: Delete Proxy + type: http + seq: 3 +} + +delete { + url: http://localhost:4444/proxy + body: json + auth: none +} + +body:json { + { + "path": "/time", + "method": "GET", + "proxy": { + "url": "http://worldtimeapi.org/api/timezone/asia/kolkata", + "method": "GET" + } + } +} diff --git a/api-collection/bruno/Proxy/Proxy Call Check.bru b/api-collection/bruno/Proxy/Proxy Call Check.bru new file mode 100644 index 0000000..57dda69 --- /dev/null +++ b/api-collection/bruno/Proxy/Proxy Call Check.bru @@ -0,0 +1,11 @@ +meta { + name: Proxy Call Check + type: http + seq: 2 +} + +get { + url: http://localhost:4444/time + body: none + auth: none +} diff --git a/api-collection/bruno/Repeat/Delayed HTTP Status.bru b/api-collection/bruno/Repeat/Delayed HTTP Status.bru new file mode 100644 index 0000000..b3dc63d --- /dev/null +++ b/api-collection/bruno/Repeat/Delayed HTTP Status.bru @@ -0,0 +1,15 @@ +meta { + name: Delayed HTTP Status + type: http + seq: 2 +} + +get { + url: http://localhost:4444/return/401?delay=300 + body: none + auth: none +} + +params:query { + delay: 300 +} diff --git a/api-collection/bruno/Repeat/HTTP Status.bru b/api-collection/bruno/Repeat/HTTP Status.bru new file mode 100644 index 0000000..52c0f5a --- /dev/null +++ b/api-collection/bruno/Repeat/HTTP Status.bru @@ -0,0 +1,11 @@ +meta { + name: HTTP Status + type: http + seq: 1 +} + +get { + url: http://localhost:4444/return/200 + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Be Healthy.bru b/api-collection/bruno/Status/Be Healthy.bru new file mode 100644 index 0000000..b0d94f7 --- /dev/null +++ b/api-collection/bruno/Status/Be Healthy.bru @@ -0,0 +1,11 @@ +meta { + name: Be Healthy + type: http + seq: 5 +} + +put { + url: http://localhost:4444/control/health/perfect + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Be Ready.bru b/api-collection/bruno/Status/Be Ready.bru new file mode 100644 index 0000000..39a6af4 --- /dev/null +++ b/api-collection/bruno/Status/Be Ready.bru @@ -0,0 +1,11 @@ +meta { + name: Be Ready + type: http + seq: 8 +} + +put { + url: http://localhost:4444/control/ready/perfect + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Be Unready.bru b/api-collection/bruno/Status/Be Unready.bru new file mode 100644 index 0000000..710c527 --- /dev/null +++ b/api-collection/bruno/Status/Be Unready.bru @@ -0,0 +1,11 @@ +meta { + name: Be Unready + type: http + seq: 9 +} + +put { + url: http://localhost:4444/control/ready/sick + body: none + auth: none +} diff --git a/api-collection/bruno/Status/CPU Spike.bru b/api-collection/bruno/Status/CPU Spike.bru new file mode 100644 index 0000000..0af7aa0 --- /dev/null +++ b/api-collection/bruno/Status/CPU Spike.bru @@ -0,0 +1,11 @@ +meta { + name: CPU Spike + type: http + seq: 12 +} + +put { + url: http://localhost:4444/control/goturbo/cpu + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Fall Sick.bru b/api-collection/bruno/Status/Fall Sick.bru new file mode 100644 index 0000000..67e9a4d --- /dev/null +++ b/api-collection/bruno/Status/Fall Sick.bru @@ -0,0 +1,11 @@ +meta { + name: Fall Sick + type: http + seq: 6 +} + +put { + url: http://localhost:4444/control/health/sick + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Health.bru b/api-collection/bruno/Status/Health.bru new file mode 100644 index 0000000..17ac342 --- /dev/null +++ b/api-collection/bruno/Status/Health.bru @@ -0,0 +1,11 @@ +meta { + name: Health + type: http + seq: 3 +} + +get { + url: http://localhost:4444/health + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Memory Spike.bru b/api-collection/bruno/Status/Memory Spike.bru new file mode 100644 index 0000000..23b0424 --- /dev/null +++ b/api-collection/bruno/Status/Memory Spike.bru @@ -0,0 +1,11 @@ +meta { + name: Memory Spike + type: http + seq: 11 +} + +put { + url: http://localhost:4444/control/goturbo/memory + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Metadata.bru b/api-collection/bruno/Status/Metadata.bru new file mode 100644 index 0000000..25f4117 --- /dev/null +++ b/api-collection/bruno/Status/Metadata.bru @@ -0,0 +1,11 @@ +meta { + name: Metadata + type: http + seq: 2 +} + +get { + url: http://localhost:4444/meta + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Ready.bru b/api-collection/bruno/Status/Ready.bru new file mode 100644 index 0000000..fad1b0d --- /dev/null +++ b/api-collection/bruno/Status/Ready.bru @@ -0,0 +1,11 @@ +meta { + name: Ready + type: http + seq: 4 +} + +get { + url: http://localhost:4444/readiness + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Recover Health.bru b/api-collection/bruno/Status/Recover Health.bru new file mode 100644 index 0000000..d5ae04e --- /dev/null +++ b/api-collection/bruno/Status/Recover Health.bru @@ -0,0 +1,15 @@ +meta { + name: Recover Health + type: http + seq: 7 +} + +put { + url: http://localhost:4444/control/health/sick?resetInSeconds=20 + body: none + auth: none +} + +params:query { + resetInSeconds: 20 +} diff --git a/api-collection/bruno/Status/Recover Readiness.bru b/api-collection/bruno/Status/Recover Readiness.bru new file mode 100644 index 0000000..d2974b7 --- /dev/null +++ b/api-collection/bruno/Status/Recover Readiness.bru @@ -0,0 +1,15 @@ +meta { + name: Recover Readiness + type: http + seq: 10 +} + +put { + url: http://localhost:4444/control/ready/sick?resetInSeconds=20 + body: none + auth: none +} + +params:query { + resetInSeconds: 20 +} diff --git a/api-collection/bruno/Status/Suicide.bru b/api-collection/bruno/Status/Suicide.bru new file mode 100644 index 0000000..0d16b22 --- /dev/null +++ b/api-collection/bruno/Status/Suicide.bru @@ -0,0 +1,11 @@ +meta { + name: Suicide + type: http + seq: 13 +} + +put { + url: http://localhost:4444/control/crash + body: none + auth: none +} diff --git a/api-collection/bruno/Status/Version.bru b/api-collection/bruno/Status/Version.bru new file mode 100644 index 0000000..f769c04 --- /dev/null +++ b/api-collection/bruno/Status/Version.bru @@ -0,0 +1,11 @@ +meta { + name: Version + type: http + seq: 1 +} + +get { + url: http://localhost:4444/version + body: none + auth: none +} diff --git a/api-collection/bruno/bruno.json b/api-collection/bruno/bruno.json new file mode 100644 index 0000000..6a02a1b --- /dev/null +++ b/api-collection/bruno/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "dobby", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file