From df10f52587c949f71e22a2011112218a8fc49120 Mon Sep 17 00:00:00 2001 From: varnit goyal Date: Tue, 15 Oct 2024 14:21:33 +0530 Subject: [PATCH] TP-55555 cybertron qa collection --- cybertron.postman_collection.json | 315 ++++++++++++++++++++++++++++++ 1 file changed, 315 insertions(+) create mode 100644 cybertron.postman_collection.json diff --git a/cybertron.postman_collection.json b/cybertron.postman_collection.json new file mode 100644 index 0000000..84b6432 --- /dev/null +++ b/cybertron.postman_collection.json @@ -0,0 +1,315 @@ +{ + "info": { + "_postman_id": "a96e9b47-4f33-473a-8c22-8dad9222a3d7", + "name": "cybertron", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "1700659" + }, + "item": [ + { + "name": "Get projects", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{CYBERTRON_BASE_URL}}/api/v1/project", + "protocol": "http", + "host": [ + "{{CYBERTRON_BASE_URL}}" + ], + "path": [ + "api", + "v1", + "project" + ] + } + }, + "response": [] + }, + { + "name": "Create project", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"collections\",\n \"team\": \"collections\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{CYBERTRON_BASE_URL}}/api/v1/project", + "protocol": "http", + "host": [ + "{{CYBERTRON_BASE_URL}}" + ], + "path": [ + "api", + "v1", + "project" + ] + } + }, + "response": [] + }, + { + "name": "ingest error", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "*/*" + }, + { + "key": "accept-language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "content-type", + "value": "text/plain;charset=UTF-8" + }, + { + "key": "origin", + "value": "https://localhost:4173" + }, + { + "key": "priority", + "value": "u=1, i" + }, + { + "key": "referer", + "value": "https://localhost:4173/" + }, + { + "key": "sec-ch-ua", + "value": "\"Not)A;Brand\";v=\"99\", \"Google Chrome\";v=\"127\", \"Chromium\";v=\"127\"" + }, + { + "key": "sec-ch-ua-mobile", + "value": "?0" + }, + { + "key": "sec-ch-ua-platform", + "value": "\"macOS\"" + }, + { + "key": "sec-fetch-dest", + "value": "empty" + }, + { + "key": "sec-fetch-mode", + "value": "cors" + }, + { + "key": "sec-fetch-site", + "value": "cross-site" + }, + { + "key": "user-agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" + } + ], + "body": { + "mode": "raw", + "raw": "{\"event_id\":\"4597f734ff76418db10cb50dbf89e4a6\",\"sent_at\":\"2024-08-11T07:32:23.146Z\",\"sdk\":{\"name\":\"sentry.javascript.browser\",\"version\":\"7.13.0\"}}\n{\"type\":\"event\",\"sample_rates\":[{}]}\n{\"exception\":{\"values\":[{\"type\":\"TypeError\",\"value\":\"Cannot final properties of undefined (reading 'test')\",\"stacktrace\":{\"frames\":[{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"HTMLDivElement.o\",\"in_app\":true,\"lineno\":72,\"colno\":70038},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"gd$1\",\"in_app\":true,\"lineno\":35,\"colno\":25690},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"hd$1\",\"in_app\":true,\"lineno\":35,\"colno\":25923},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"yc$2\",\"in_app\":true,\"lineno\":35,\"colno\":26374},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"jd$1\",\"in_app\":true,\"lineno\":35,\"colno\":39337},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"Nb$1\",\"in_app\":true,\"lineno\":35,\"colno\":16040},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"Jb$1\",\"in_app\":true,\"lineno\":35,\"colno\":119525},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"?\",\"in_app\":true,\"lineno\":35,\"colno\":43079},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"se$2\",\"in_app\":true,\"lineno\":35,\"colno\":37889},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"Ze$1\",\"in_app\":true,\"lineno\":35,\"colno\":37467},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"Yb$1\",\"in_app\":true,\"lineno\":35,\"colno\":17150},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"Xb$1\",\"in_app\":true,\"lineno\":35,\"colno\":17087},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"Object.Rb$1\",\"in_app\":true,\"lineno\":35,\"colno\":16911},{\"filename\":\"https://localhost:4173/assets/index-a92cc898.js\",\"function\":\"onSubmit\",\"in_app\":true,\"lineno\":3049,\"colno\":21408}]},\"mechanism\":{\"type\":\"instrument\",\"handled\":true,\"data\":{\"function\":\"addEventListener\",\"handler\":\"bound gd$1\",\"target\":\"EventTarget\"}}}]},\"level\":\"error\",\"event_id\":\"4597f734ff76418db10cb50dbf89e4a6\",\"platform\":\"javascript\",\"timestamp\":1723361543.144,\"environment\":\"production\",\"sdk\":{\"integrations\":[\"InboundFilters\",\"FunctionToString\",\"TryCatch\",\"Breadcrumbs\",\"GlobalHandlers\",\"LinkedErrors\",\"Dedupe\",\"HttpContext\"],\"name\":\"sentry.javascript.browser\",\"version\":\"7.13.0\",\"packages\":[{\"name\":\"npm:@sentry/browser\",\"version\":\"7.13.0\"}]},\"breadcrumbs\":[{\"timestamp\":1723361509.404,\"category\":\"console\",\"data\":{\"arguments\":[\"CALLED observeCallStatus\"],\"logger\":\"console\"},\"level\":\"log\",\"message\":\"CALLED observeCallStatus\"},{\"timestamp\":1723361509.462,\"category\":\"sentry.event\",\"event_id\":\"4dbcb13ef47e43f78418c1dc2734ee0c\",\"level\":\"error\",\"message\":\"Error: Non-Error exception captured with keys: error, message\"},{\"timestamp\":1723361509.844,\"category\":\"xhr\",\"data\":{\"method\":\"GET\",\"url\":\"/api/version\",\"status_code\":404},\"type\":\"http\"},{\"timestamp\":1723361511.196,\"category\":\"fetch\",\"data\":{\"method\":\"POST\",\"url\":\"https://apm-server.np.navi-sa.in/intake/v2/rum/events\"},\"level\":\"error\",\"type\":\"http\"},{\"timestamp\":1723361511.224,\"category\":\"xhr\",\"data\":{\"method\":\"POST\",\"url\":\"https://apm-server.np.navi-sa.in/intake/v2/rum/events\",\"status_code\":0},\"type\":\"http\"},{\"timestamp\":1723361511.224,\"category\":\"console\",\"data\":{\"arguments\":[\"[Elastic APM] Failed sending events!\",{\"message\":\"https://apm-server.np.navi-sa.in/intake/v2/rum/events HTTP status: 0\",\"name\":\"Error\",\"stack\":\"Error: https://apm-server.np.navi-sa.in/intake/v2/rum/events HTTP status: 0\\n at t._constructError (https://localhost:4173/assets/index-a92cc898.js:3049:565030)\\n at https://localhost:4173/assets/index-a92cc898.js:3049:564320\"}],\"logger\":\"console\"},\"level\":\"warning\",\"message\":\"[Elastic APM] Failed sending events! Error: https://apm-server.np.navi-sa.in/intake/v2/rum/events HTTP status: 0\"},{\"timestamp\":1723361534.468,\"category\":\"ui.click\",\"message\":\"input._bordered-input__input-wrapper_qgksf_34._bordered-input__input-wrapper--full-width_qgksf_80\"},{\"timestamp\":1723361535.551,\"category\":\"ui.input\",\"message\":\"input._bordered-input__input-wrapper_qgksf_34._bordered-input__input-wrapper--full-width_qgksf_80\"},{\"timestamp\":1723361539.747,\"category\":\"ui.click\",\"message\":\"input._bordered-input__input-wrapper_qgksf_34._bordered-input__input-wrapper--full-width_qgksf_80\"},{\"timestamp\":1723361540.335,\"category\":\"ui.input\",\"message\":\"input._bordered-input__input-wrapper_qgksf_34._bordered-input__input-wrapper--full-width_qgksf_80\"},{\"timestamp\":1723361543.141,\"category\":\"ui.click\",\"message\":\"button._btn_us7qq_11._btn--secondary_us7qq_36._btn--large_us7qq_54._btn--full-width_us7qq_57._ctaTextColor_1bpx9_42[type=\\\"submit\\\"]\"}],\"request\":{\"url\":\"https://localhost:4173/login?next=%2F\",\"headers\":{\"User-Agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36\"}},\"extra\":{\"release_id\": \"release1\", \"arguments\":[{\"type\":\"submit\",\"target\":\"div._grid-col_1or8p_1._grid-col-md-6_1or8p_132 > form\",\"currentTarget\":\"body > div#root\",\"isTrusted\":true}]}}", + "options": { + "raw": { + "language": "text" + } + } + }, + "url": { + "raw": "http://{{CYBERTRON_BASE_URL}}/api/123/envelope/?sentry_key=123&sentry_version=7&sentry_client=sentry.javascript.browser%2F7.13.0", + "protocol": "http", + "host": [ + "{{CYBERTRON_BASE_URL}}" + ], + "path": [ + "api", + "123", + "envelope", + "" + ], + "query": [ + { + "key": "sentry_key", + "value": "123" + }, + { + "key": "sentry_version", + "value": "7" + }, + { + "key": "sentry_client", + "value": "sentry.javascript.browser%2F7.13.0" + } + ] + } + }, + "response": [] + }, + { + "name": "error-list", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"project-id\" : \"123\",\n \"releaseId\" : \"234\",\n \"file_name\" : \"index.cbtz.js.map\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:9000/api/v1/errors-list?project_id=123", + "host": [ + "localhost" + ], + "port": "9000", + "path": [ + "api", + "v1", + "errors-list" + ], + "query": [ + { + "key": "project_id", + "value": "123" + } + ] + } + }, + "response": [] + }, + { + "name": "error-detail", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"project-id\" : \"123\",\n \"releaseId\" : \"234\",\n \"file_name\" : \"index.cbtz.js.map\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:9000/api/v1/error-detail?error_hash=489a46c772fde9b6f447851d1c59febd", + "host": [ + "localhost" + ], + "port": "9000", + "path": [ + "api", + "v1", + "error-detail" + ], + "query": [ + { + "key": "error_hash", + "value": "489a46c772fde9b6f447851d1c59febd" + } + ] + } + }, + "response": [] + }, + { + "name": "GetSourceMapUploadUrl", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{CYBERTRON_BASE_URL}}/api/v1/get-sourcemap-upload-url?project_id=1&release_id=cc81b0a&file_name=Notifications-eba32641.js.map", + "host": [ + "{{CYBERTRON_BASE_URL}}" + ], + "path": [ + "api", + "v1", + "get-sourcemap-upload-url" + ], + "query": [ + { + "key": "project_id", + "value": "1" + }, + { + "key": "release_id", + "value": "cc81b0a" + }, + { + "key": "file_name", + "value": "Notifications-eba32641.js.map" + } + ] + } + }, + "response": [] + }, + { + "name": "miolnir add url", + "request": { + "method": "GET", + "header": [] + }, + "response": [] + }, + { + "name": "New Request", + "request": { + "method": "GET", + "header": [] + }, + "response": [] + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "CYBERTRON_BASE_URL", + "value": "cybetron.np.navi-ppl.in", + "type": "string" + } + ] +} \ No newline at end of file