From f0c4886ccc5ebbb30c70ad7b82719de82d556acd Mon Sep 17 00:00:00 2001 From: Jehison Prada Date: Fri, 12 Apr 2024 09:08:39 -0500 Subject: [PATCH] Change dummy url in test config to be a full path. Update recordings --- .../fetch-findings_4198425312/recording.har | 262 +++++++++--------- .../fetch-projects_1565593304/recording.har | 28 +- .../recording.har | 28 +- .../recording.har | 82 +++--- .../fetch-users_2464296442/recording.har | 30 +- test/config.ts | 2 +- 6 files changed, 216 insertions(+), 216 deletions(-) diff --git a/src/steps/finding/__recordings__/fetch-findings_4198425312/recording.har b/src/steps/finding/__recordings__/fetch-findings_4198425312/recording.har index 56703ae..0e483fc 100644 --- a/src/steps/finding/__recordings__/fetch-findings_4198425312/recording.har +++ b/src/steps/finding/__recordings__/fetch-findings_4198425312/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "1c195aade93d2b4c99d7d03ae9882114", + "_id": "e7dcdea36ff2ea7489ff0c380b7ed5a6", "_order": 0, "cache": {}, "request": { @@ -42,7 +42,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 305, @@ -58,7 +58,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/projects/search?p=1&ps=100" + "url": "http://127.0.0.1:9001/api/projects/search?p=1&ps=100" }, "response": { "bodySize": 338, @@ -107,7 +107,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -120,8 +120,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:45.919Z", - "time": 107, + "startedDateTime": "2024-04-12T14:07:49.221Z", + "time": 228, "timings": { "blocked": -1, "connect": -1, @@ -129,11 +129,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 107 + "wait": 228 } }, { - "_id": "efad95c3f95da37b793e84892a63e31e", + "_id": "f289f24d8297d03d1ae0dce97e2b98ed", "_order": 0, "cache": {}, "request": { @@ -167,7 +167,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 305, @@ -183,7 +183,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/projects/search?p=2&ps=100" + "url": "http://127.0.0.1:9001/api/projects/search?p=2&ps=100" }, "response": { "bodySize": 130, @@ -232,7 +232,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -245,8 +245,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.046Z", - "time": 39, + "startedDateTime": "2024-04-12T14:07:49.465Z", + "time": 27, "timings": { "blocked": -1, "connect": -1, @@ -254,11 +254,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 39 + "wait": 27 } }, { - "_id": "625de49880b7cbef393017440c5d5467", + "_id": "b8247e18b289c63fcbd51d263abe351d", "_order": 0, "cache": {}, "request": { @@ -292,7 +292,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 346, @@ -316,7 +316,7 @@ "value": "INFO" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=INFO" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=INFO" }, "response": { "bodySize": 1892, @@ -365,7 +365,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -378,8 +378,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.114Z", - "time": 128, + "startedDateTime": "2024-04-12T14:07:49.501Z", + "time": 257, "timings": { "blocked": -1, "connect": -1, @@ -387,11 +387,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 128 + "wait": 257 } }, { - "_id": "fc7293d2ed99bdf7e85978513242f3ff", + "_id": "9953069ff387f458061491ab941d123a", "_order": 0, "cache": {}, "request": { @@ -425,7 +425,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 346, @@ -449,7 +449,7 @@ "value": "INFO" } ], - "url": "http://localhost:9001/api/issues/search?p=2&ps=100&componentKeys=testProject1&severities=INFO" + "url": "http://127.0.0.1:9001/api/issues/search?p=2&ps=100&componentKeys=testProject1&severities=INFO" }, "response": { "bodySize": 178, @@ -498,7 +498,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -511,8 +511,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.263Z", - "time": 19, + "startedDateTime": "2024-04-12T14:07:49.779Z", + "time": 15, "timings": { "blocked": -1, "connect": -1, @@ -520,11 +520,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 19 + "wait": 15 } }, { - "_id": "7303a539c391d05e668f0428a8f5595d", + "_id": "a827b8e65e6c4d7a36a9cc596e18ee94", "_order": 0, "cache": {}, "request": { @@ -558,7 +558,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -582,7 +582,7 @@ "value": "MINOR" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=MINOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=MINOR" }, "response": { "bodySize": 16067, @@ -631,7 +631,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -644,8 +644,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.287Z", - "time": 100, + "startedDateTime": "2024-04-12T14:07:49.800Z", + "time": 142, "timings": { "blocked": -1, "connect": -1, @@ -653,11 +653,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 100 + "wait": 142 } }, { - "_id": "dcc9df47194e799e572c9ba4204c09ad", + "_id": "80203ee4e76c44c4539dd61e656173e9", "_order": 0, "cache": {}, "request": { @@ -691,7 +691,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -715,7 +715,7 @@ "value": "MINOR" } ], - "url": "http://localhost:9001/api/issues/search?p=2&ps=100&componentKeys=testProject1&severities=MINOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=2&ps=100&componentKeys=testProject1&severities=MINOR" }, "response": { "bodySize": 2866, @@ -764,7 +764,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -777,8 +777,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.402Z", - "time": 33, + "startedDateTime": "2024-04-12T14:07:49.953Z", + "time": 48, "timings": { "blocked": -1, "connect": -1, @@ -786,11 +786,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 33 + "wait": 48 } }, { - "_id": "78a36eba62a97250ead5d0d3110cf616", + "_id": "6a79ed0eb5c3b3c0380eca2d4c18b2b7", "_order": 0, "cache": {}, "request": { @@ -824,7 +824,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -848,7 +848,7 @@ "value": "MINOR" } ], - "url": "http://localhost:9001/api/issues/search?p=3&ps=100&componentKeys=testProject1&severities=MINOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=3&ps=100&componentKeys=testProject1&severities=MINOR" }, "response": { "bodySize": 182, @@ -897,7 +897,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -910,7 +910,7 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.441Z", + "startedDateTime": "2024-04-12T14:07:50.008Z", "time": 14, "timings": { "blocked": -1, @@ -923,7 +923,7 @@ } }, { - "_id": "a422426d26ca7b78d5c16e82b2e46d9d", + "_id": "0f1a1c31d04fd9bf626fbf465c772d67", "_order": 0, "cache": {}, "request": { @@ -957,7 +957,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -981,7 +981,7 @@ "value": "MAJOR" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=MAJOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=MAJOR" }, "response": { "bodySize": 17341, @@ -1030,7 +1030,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -1043,8 +1043,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.459Z", - "time": 68, + "startedDateTime": "2024-04-12T14:07:50.027Z", + "time": 160, "timings": { "blocked": -1, "connect": -1, @@ -1052,11 +1052,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 68 + "wait": 160 } }, { - "_id": "057a8699a0366fc903305a0a02111793", + "_id": "c12a774459e41104f4555b2930f6e6b4", "_order": 0, "cache": {}, "request": { @@ -1090,7 +1090,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -1114,7 +1114,7 @@ "value": "MAJOR" } ], - "url": "http://localhost:9001/api/issues/search?p=2&ps=100&componentKeys=testProject1&severities=MAJOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=2&ps=100&componentKeys=testProject1&severities=MAJOR" }, "response": { "bodySize": 15915, @@ -1163,7 +1163,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -1176,8 +1176,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.537Z", - "time": 60, + "startedDateTime": "2024-04-12T14:07:50.203Z", + "time": 123, "timings": { "blocked": -1, "connect": -1, @@ -1185,11 +1185,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 60 + "wait": 123 } }, { - "_id": "7a1a625d52593caeecec871348a8e3d3", + "_id": "18847dc5d1f437e40620417d7166d50a", "_order": 0, "cache": {}, "request": { @@ -1223,7 +1223,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -1247,7 +1247,7 @@ "value": "MAJOR" } ], - "url": "http://localhost:9001/api/issues/search?p=3&ps=100&componentKeys=testProject1&severities=MAJOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=3&ps=100&componentKeys=testProject1&severities=MAJOR" }, "response": { "bodySize": 14214, @@ -1296,7 +1296,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -1309,8 +1309,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.607Z", - "time": 56, + "startedDateTime": "2024-04-12T14:07:50.338Z", + "time": 165, "timings": { "blocked": -1, "connect": -1, @@ -1318,11 +1318,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 56 + "wait": 165 } }, { - "_id": "7a8685d0229f9a1c227d5802e70a0bc3", + "_id": "c3ec690567f436781e9da1e65e1bc1b7", "_order": 0, "cache": {}, "request": { @@ -1356,7 +1356,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -1380,7 +1380,7 @@ "value": "MAJOR" } ], - "url": "http://localhost:9001/api/issues/search?p=4&ps=100&componentKeys=testProject1&severities=MAJOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=4&ps=100&componentKeys=testProject1&severities=MAJOR" }, "response": { "bodySize": 186, @@ -1429,7 +1429,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -1442,8 +1442,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.675Z", - "time": 28, + "startedDateTime": "2024-04-12T14:07:50.518Z", + "time": 12, "timings": { "blocked": -1, "connect": -1, @@ -1451,11 +1451,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 28 + "wait": 12 } }, { - "_id": "f04cc39b6ae10268f702ef7916c676cc", + "_id": "dee6a34ce1cdc9ce405a6613d3d46c19", "_order": 0, "cache": {}, "request": { @@ -1489,7 +1489,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 350, @@ -1513,7 +1513,7 @@ "value": "CRITICAL" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=CRITICAL" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=CRITICAL" }, "response": { "bodySize": 11941, @@ -1562,7 +1562,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -1575,8 +1575,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.708Z", - "time": 35, + "startedDateTime": "2024-04-12T14:07:50.536Z", + "time": 31, "timings": { "blocked": -1, "connect": -1, @@ -1584,11 +1584,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 35 + "wait": 31 } }, { - "_id": "927a49bdfed5fd50cc9e154d62bd97cd", + "_id": "65e65c798ccc01131405c98672dead5c", "_order": 0, "cache": {}, "request": { @@ -1622,7 +1622,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 350, @@ -1646,7 +1646,7 @@ "value": "CRITICAL" } ], - "url": "http://localhost:9001/api/issues/search?p=2&ps=100&componentKeys=testProject1&severities=CRITICAL" + "url": "http://127.0.0.1:9001/api/issues/search?p=2&ps=100&componentKeys=testProject1&severities=CRITICAL" }, "response": { "bodySize": 182, @@ -1695,7 +1695,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -1708,8 +1708,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.751Z", - "time": 14, + "startedDateTime": "2024-04-12T14:07:50.579Z", + "time": 11, "timings": { "blocked": -1, "connect": -1, @@ -1717,11 +1717,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 14 + "wait": 11 } }, { - "_id": "d3cc08771adeba4b89340ca25305eedb", + "_id": "fe9c0e068b0bfbf7ce2df965a0e1b8ad", "_order": 0, "cache": {}, "request": { @@ -1755,7 +1755,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 349, @@ -1779,7 +1779,7 @@ "value": "BLOCKER" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=BLOCKER" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject1&severities=BLOCKER" }, "response": { "bodySize": 174, @@ -1828,7 +1828,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -1841,8 +1841,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.769Z", - "time": 11, + "startedDateTime": "2024-04-12T14:07:50.594Z", + "time": 10, "timings": { "blocked": -1, "connect": -1, @@ -1850,11 +1850,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 11 + "wait": 10 } }, { - "_id": "e5a79f79dd3f7400010e8421fa4e177f", + "_id": "24f359ac92ba9820f2f285102770cfa5", "_order": 0, "cache": {}, "request": { @@ -1888,7 +1888,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 346, @@ -1912,7 +1912,7 @@ "value": "INFO" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=INFO" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=INFO" }, "response": { "bodySize": 174, @@ -1961,7 +1961,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -1974,8 +1974,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.787Z", - "time": 12, + "startedDateTime": "2024-04-12T14:07:50.614Z", + "time": 11, "timings": { "blocked": -1, "connect": -1, @@ -1983,11 +1983,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 12 + "wait": 11 } }, { - "_id": "40ba478f6a192902c2903d4ab0c75eb9", + "_id": "1f0af0ecd042c03e6f548ef9c9d6a878", "_order": 0, "cache": {}, "request": { @@ -2021,7 +2021,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -2045,7 +2045,7 @@ "value": "MINOR" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=MINOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=MINOR" }, "response": { "bodySize": 174, @@ -2094,7 +2094,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -2107,8 +2107,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.806Z", - "time": 28, + "startedDateTime": "2024-04-12T14:07:50.632Z", + "time": 9, "timings": { "blocked": -1, "connect": -1, @@ -2116,11 +2116,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 28 + "wait": 9 } }, { - "_id": "18f62d309c9aeceab28a84d7a3aac53a", + "_id": "08b10c73d6a739d37ca3df8712bde26e", "_order": 0, "cache": {}, "request": { @@ -2154,7 +2154,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 347, @@ -2178,7 +2178,7 @@ "value": "MAJOR" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=MAJOR" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=MAJOR" }, "response": { "bodySize": 174, @@ -2227,7 +2227,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -2240,8 +2240,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.842Z", - "time": 13, + "startedDateTime": "2024-04-12T14:07:50.658Z", + "time": 16, "timings": { "blocked": -1, "connect": -1, @@ -2249,11 +2249,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 13 + "wait": 16 } }, { - "_id": "ce6cf43530a56d60ce2d40602e5f6e61", + "_id": "7cbfb4405b2ef0a69bd69944dbf615cf", "_order": 0, "cache": {}, "request": { @@ -2287,7 +2287,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 350, @@ -2311,7 +2311,7 @@ "value": "CRITICAL" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=CRITICAL" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=CRITICAL" }, "response": { "bodySize": 174, @@ -2360,7 +2360,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:46 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -2373,8 +2373,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.863Z", - "time": 13, + "startedDateTime": "2024-04-12T14:07:50.680Z", + "time": 10, "timings": { "blocked": -1, "connect": -1, @@ -2382,11 +2382,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 13 + "wait": 10 } }, { - "_id": "fc1192557541eca8460cd3f9d5b9b347", + "_id": "1ef438c4d3c3bb09ba6b4112eb848a2b", "_order": 0, "cache": {}, "request": { @@ -2420,7 +2420,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 349, @@ -2444,7 +2444,7 @@ "value": "BLOCKER" } ], - "url": "http://localhost:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=BLOCKER" + "url": "http://127.0.0.1:9001/api/issues/search?p=1&ps=100&componentKeys=testProject2&severities=BLOCKER" }, "response": { "bodySize": 174, @@ -2493,7 +2493,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:46 GMT" + "value": "Fri, 12 Apr 2024 14:07:50 GMT" }, { "name": "connection", @@ -2506,8 +2506,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.888Z", - "time": 13, + "startedDateTime": "2024-04-12T14:07:50.696Z", + "time": 11, "timings": { "blocked": -1, "connect": -1, @@ -2515,7 +2515,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 13 + "wait": 11 } } ], diff --git a/src/steps/project/__recordings__/fetch-projects_1565593304/recording.har b/src/steps/project/__recordings__/fetch-projects_1565593304/recording.har index 085f433..58efde2 100644 --- a/src/steps/project/__recordings__/fetch-projects_1565593304/recording.har +++ b/src/steps/project/__recordings__/fetch-projects_1565593304/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "1c195aade93d2b4c99d7d03ae9882114", + "_id": "e7dcdea36ff2ea7489ff0c380b7ed5a6", "_order": 0, "cache": {}, "request": { @@ -42,7 +42,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 305, @@ -58,7 +58,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/projects/search?p=1&ps=100" + "url": "http://127.0.0.1:9001/api/projects/search?p=1&ps=100" }, "response": { "bodySize": 338, @@ -107,7 +107,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -120,8 +120,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:45.881Z", - "time": 73, + "startedDateTime": "2024-04-12T14:07:49.210Z", + "time": 238, "timings": { "blocked": -1, "connect": -1, @@ -129,11 +129,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 73 + "wait": 238 } }, { - "_id": "efad95c3f95da37b793e84892a63e31e", + "_id": "f289f24d8297d03d1ae0dce97e2b98ed", "_order": 0, "cache": {}, "request": { @@ -167,7 +167,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 305, @@ -183,7 +183,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/projects/search?p=2&ps=100" + "url": "http://127.0.0.1:9001/api/projects/search?p=2&ps=100" }, "response": { "bodySize": 130, @@ -232,7 +232,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -245,8 +245,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:45.972Z", - "time": 36, + "startedDateTime": "2024-04-12T14:07:49.465Z", + "time": 27, "timings": { "blocked": -1, "connect": -1, @@ -254,7 +254,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 36 + "wait": 27 } } ], diff --git a/src/steps/user-group/__recordings__/fetch-user-groups_4191556144/recording.har b/src/steps/user-group/__recordings__/fetch-user-groups_4191556144/recording.har index 836ddb8..77d4dff 100644 --- a/src/steps/user-group/__recordings__/fetch-user-groups_4191556144/recording.har +++ b/src/steps/user-group/__recordings__/fetch-user-groups_4191556144/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "72a8301748b8f943fdd3aed0c95027e2", + "_id": "b03ded8d54e0a3582743c98e958365e8", "_order": 0, "cache": {}, "request": { @@ -42,7 +42,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 328, @@ -58,7 +58,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/authorizations/groups?pageIndex=1&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/authorizations/groups?pageIndex=1&pageSize=100" }, "response": { "bodySize": 366, @@ -103,7 +103,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -116,8 +116,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:45.889Z", - "time": 57, + "startedDateTime": "2024-04-12T14:07:49.125Z", + "time": 387, "timings": { "blocked": -1, "connect": -1, @@ -125,11 +125,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 57 + "wait": 387 } }, { - "_id": "4dc15f3bee4e3e1a2ff01c9d38905809", + "_id": "9dfbd753159ec6634de7c225236fe9c8", "_order": 0, "cache": {}, "request": { @@ -163,7 +163,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 328, @@ -179,7 +179,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/authorizations/groups?pageIndex=2&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/authorizations/groups?pageIndex=2&pageSize=100" }, "response": { "bodySize": 118, @@ -224,7 +224,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -237,8 +237,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:45.974Z", - "time": 50, + "startedDateTime": "2024-04-12T14:07:49.525Z", + "time": 12, "timings": { "blocked": -1, "connect": -1, @@ -246,7 +246,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 50 + "wait": 12 } } ], diff --git a/src/steps/user/__recordings__/build-user-group-has-user_3528192042/recording.har b/src/steps/user/__recordings__/build-user-group-has-user_3528192042/recording.har index 8bf1428..9ec8c15 100644 --- a/src/steps/user/__recordings__/build-user-group-has-user_3528192042/recording.har +++ b/src/steps/user/__recordings__/build-user-group-has-user_3528192042/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "72a8301748b8f943fdd3aed0c95027e2", + "_id": "b03ded8d54e0a3582743c98e958365e8", "_order": 0, "cache": {}, "request": { @@ -42,7 +42,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 328, @@ -58,7 +58,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/authorizations/groups?pageIndex=1&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/authorizations/groups?pageIndex=1&pageSize=100" }, "response": { "bodySize": 366, @@ -103,7 +103,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -116,8 +116,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.169Z", - "time": 31, + "startedDateTime": "2024-04-12T14:07:49.578Z", + "time": 12, "timings": { "blocked": -1, "connect": -1, @@ -125,11 +125,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 31 + "wait": 12 } }, { - "_id": "4dc15f3bee4e3e1a2ff01c9d38905809", + "_id": "9dfbd753159ec6634de7c225236fe9c8", "_order": 0, "cache": {}, "request": { @@ -163,7 +163,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 328, @@ -179,7 +179,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/authorizations/groups?pageIndex=2&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/authorizations/groups?pageIndex=2&pageSize=100" }, "response": { "bodySize": 118, @@ -224,7 +224,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -237,8 +237,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.213Z", - "time": 14, + "startedDateTime": "2024-04-12T14:07:49.597Z", + "time": 11, "timings": { "blocked": -1, "connect": -1, @@ -246,11 +246,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 14 + "wait": 11 } }, { - "_id": "9259253226994984ceea541ff94627f2", + "_id": "386eb0b373788abb728b97ca538b869a", "_order": 0, "cache": {}, "request": { @@ -284,7 +284,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 329, @@ -300,14 +300,14 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/users-management/users?pageIndex=1&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/users-management/users?pageIndex=1&pageSize=100" }, "response": { "bodySize": 378, "content": { "mimeType": "application/json", "size": 378, - "text": "{\"users\":[{\"id\":\"32ed639f-7f94-4c58-9f15-5a40ff334ade\",\"login\":\"admin\",\"name\":\"Administrator\",\"email\":null,\"active\":true,\"local\":true,\"managed\":false,\"externalLogin\":\"admin\",\"externalProvider\":\"sonarqube\",\"avatar\":null,\"sonarQubeLastConnectionDate\":\"2024-04-12T00:30:31+0000\",\"sonarLintLastConnectionDate\":null,\"scmAccounts\":[]}],\"page\":{\"pageIndex\":1,\"pageSize\":100,\"total\":1}}" + "text": "{\"users\":[{\"id\":\"32ed639f-7f94-4c58-9f15-5a40ff334ade\",\"login\":\"admin\",\"name\":\"Administrator\",\"email\":null,\"active\":true,\"local\":true,\"managed\":false,\"externalLogin\":\"admin\",\"externalProvider\":\"sonarqube\",\"avatar\":null,\"sonarQubeLastConnectionDate\":\"2024-04-12T14:07:49+0000\",\"sonarLintLastConnectionDate\":null,\"scmAccounts\":[]}],\"page\":{\"pageIndex\":1,\"pageSize\":100,\"total\":1}}" }, "cookies": [], "headers": [ @@ -345,7 +345,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -358,8 +358,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.231Z", - "time": 13, + "startedDateTime": "2024-04-12T14:07:49.611Z", + "time": 9, "timings": { "blocked": -1, "connect": -1, @@ -367,11 +367,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 13 + "wait": 9 } }, { - "_id": "539236bea0b15ea49b1c4414dff84a96", + "_id": "f3677edb2e0b8cd567e1dbe9d640f957", "_order": 0, "cache": {}, "request": { @@ -405,7 +405,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 329, @@ -421,7 +421,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/users-management/users?pageIndex=2&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/users-management/users?pageIndex=2&pageSize=100" }, "response": { "bodySize": 118, @@ -466,7 +466,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -479,8 +479,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.250Z", - "time": 11, + "startedDateTime": "2024-04-12T14:07:49.627Z", + "time": 8, "timings": { "blocked": -1, "connect": -1, @@ -488,11 +488,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 11 + "wait": 8 } }, { - "_id": "987f434269626f17c737323d3c17a5ff", + "_id": "c397d1f9e74dc10bdcfcee143508c434", "_order": 0, "cache": {}, "request": { @@ -526,7 +526,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 339, @@ -542,7 +542,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/authorizations/group-memberships?pageIndex=1&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/authorizations/group-memberships?pageIndex=1&pageSize=100" }, "response": { "bodySize": 342, @@ -587,7 +587,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -600,8 +600,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.266Z", - "time": 8, + "startedDateTime": "2024-04-12T14:07:49.640Z", + "time": 9, "timings": { "blocked": -1, "connect": -1, @@ -609,11 +609,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 8 + "wait": 9 } }, { - "_id": "aaae061cf1a20241098c332950ec276d", + "_id": "a081be2615bc8a5d87045ceff940927e", "_order": 0, "cache": {}, "request": { @@ -647,7 +647,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 339, @@ -663,7 +663,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/authorizations/group-memberships?pageIndex=2&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/authorizations/group-memberships?pageIndex=2&pageSize=100" }, "response": { "bodySize": 134, @@ -708,7 +708,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -721,7 +721,7 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.278Z", + "startedDateTime": "2024-04-12T14:07:49.653Z", "time": 7, "timings": { "blocked": -1, diff --git a/src/steps/user/__recordings__/fetch-users_2464296442/recording.har b/src/steps/user/__recordings__/fetch-users_2464296442/recording.har index b91ea6f..fb22e2c 100644 --- a/src/steps/user/__recordings__/fetch-users_2464296442/recording.har +++ b/src/steps/user/__recordings__/fetch-users_2464296442/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "9259253226994984ceea541ff94627f2", + "_id": "386eb0b373788abb728b97ca538b869a", "_order": 0, "cache": {}, "request": { @@ -42,7 +42,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 329, @@ -58,14 +58,14 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/users-management/users?pageIndex=1&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/users-management/users?pageIndex=1&pageSize=100" }, "response": { "bodySize": 378, "content": { "mimeType": "application/json", "size": 378, - "text": "{\"users\":[{\"id\":\"32ed639f-7f94-4c58-9f15-5a40ff334ade\",\"login\":\"admin\",\"name\":\"Administrator\",\"email\":null,\"active\":true,\"local\":true,\"managed\":false,\"externalLogin\":\"admin\",\"externalProvider\":\"sonarqube\",\"avatar\":null,\"sonarQubeLastConnectionDate\":\"2024-04-12T00:30:31+0000\",\"sonarLintLastConnectionDate\":null,\"scmAccounts\":[]}],\"page\":{\"pageIndex\":1,\"pageSize\":100,\"total\":1}}" + "text": "{\"users\":[{\"id\":\"32ed639f-7f94-4c58-9f15-5a40ff334ade\",\"login\":\"admin\",\"name\":\"Administrator\",\"email\":null,\"active\":true,\"local\":true,\"managed\":false,\"externalLogin\":\"admin\",\"externalProvider\":\"sonarqube\",\"avatar\":null,\"sonarQubeLastConnectionDate\":\"2024-04-12T14:07:49+0000\",\"sonarLintLastConnectionDate\":null,\"scmAccounts\":[]}],\"page\":{\"pageIndex\":1,\"pageSize\":100,\"total\":1}}" }, "cookies": [], "headers": [ @@ -103,7 +103,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -116,8 +116,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:45.919Z", - "time": 109, + "startedDateTime": "2024-04-12T14:07:49.137Z", + "time": 375, "timings": { "blocked": -1, "connect": -1, @@ -125,11 +125,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 109 + "wait": 375 } }, { - "_id": "539236bea0b15ea49b1c4414dff84a96", + "_id": "f3677edb2e0b8cd567e1dbe9d640f957", "_order": 0, "cache": {}, "request": { @@ -163,7 +163,7 @@ }, { "name": "host", - "value": "localhost:9001" + "value": "127.0.0.1:9001" } ], "headersSize": 329, @@ -179,7 +179,7 @@ "value": "100" } ], - "url": "http://localhost:9001/api/v2/users-management/users?pageIndex=2&pageSize=100" + "url": "http://127.0.0.1:9001/api/v2/users-management/users?pageIndex=2&pageSize=100" }, "response": { "bodySize": 118, @@ -224,7 +224,7 @@ }, { "name": "date", - "value": "Fri, 12 Apr 2024 01:24:45 GMT" + "value": "Fri, 12 Apr 2024 14:07:49 GMT" }, { "name": "connection", @@ -237,8 +237,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-12T01:24:46.052Z", - "time": 46, + "startedDateTime": "2024-04-12T14:07:49.525Z", + "time": 14, "timings": { "blocked": -1, "connect": -1, @@ -246,7 +246,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 46 + "wait": 14 } } ], diff --git a/test/config.ts b/test/config.ts index a65ea43..0f6f64f 100644 --- a/test/config.ts +++ b/test/config.ts @@ -13,7 +13,7 @@ if (process.env.LOAD_ENV) { } const DEFAULT_API_TOKEN = 'dummy-sonarqube-api-token'; -const DEFAULT_BASE_URL = 'http://dummy-base-url'; +const DEFAULT_BASE_URL = 'http://127.0.0.1:9001'; const DEFAULT_API_VERSION = APIVersion.V1; export function buildStepTestConfigForStep(stepId: string): StepTestConfig {