diff --git a/README.md b/README.md index 207c7d28..7afff95e 100644 --- a/README.md +++ b/README.md @@ -732,7 +732,7 @@ Tell enqueuer to use your plugin through configuration file this way: Where plugin-folder and another-plugin-folder are the directories where the plugins are installed in. ##### implicitly -When enqueuer runs, it looks for modules in `.nqr` folder in the home directory, a.k.a. ~/ folder in linux distributions. +When enqueuer runs, it looks for modules in its same installation directory or in `.nqr` folder in the home directory, a.k.a. ~/ folder in linux distributions. Therefore, if you run: $ npm install --global enqueuer @@ -740,6 +740,10 @@ Therefore, if you run: $ cd ~/.nqr $ npm install enqueuer-plugin-amqp $ nqr -p amqp +Or + + $ npm install --global enqueuer enqueuer-plugin-amqp + $ nqr -p amqp You'll see that the `enqueuer-plugin-amqp` plugin will be loaded. Every enqueuer compatible module gets implicitly loaded. diff --git a/docs/index.html b/docs/index.html index 6ad27ca0..4914c934 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1062,7 +1062,7 @@
8.2.2 configuration file<
8.2.3 implicitly
-

When enqueuer runs, it looks for modules in .nqr folder in the home directory, a.k.a. ~/ folder in linux distributions. +

When enqueuer runs, it looks for modules in its same installation directory or in .nqr folder in the home directory, a.k.a. ~/ folder in linux distributions. Therefore, if you run:

$ npm install --global enqueuer
@@ -1072,6 +1072,12 @@ 
8.2.3 implicitly
$ nqr -p amqp
+

Or

+ +
$ npm install --global enqueuer enqueuer-plugin-amqp
+$ nqr -p amqp
+
+

You'll see that the enqueuer-plugin-amqp plugin will be loaded. Every enqueuer compatible module gets implicitly loaded. In order to be enqueuer compatible, a module has to have an entryPoint exported function in its main file and, in its package.json file, it has to have either 'enqueuer' or 'nqr' as keywords.

diff --git a/enqueuer.ts b/enqueuer.ts index 0da067c9..407e2245 100644 --- a/enqueuer.ts +++ b/enqueuer.ts @@ -26,6 +26,8 @@ export * from './src/configurations/store'; export * from './src/loggers/logger'; export * from './src/requisition-runners/requisition-parser'; +export * from './src/requisition-runners/requisition-file-parser'; +export * from './src/requisition-runners/requisition-file-pattern-parser'; export * from './src/requisition-runners/requisition-runner'; export * from './src/strings/id-generator'; diff --git a/output/examples.json b/output/examples.json index bd2c6da4..7c6af128 100644 --- a/output/examples.json +++ b/output/examples.json @@ -2,14 +2,14 @@ "valid": true, "tests": [], "name": "enqueuer", - "id": "1536580948_d15b46e99a_287910", + "id": "2053250088_d15b46e99a_437563", "level": 0, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:58.990Z", - "endTime": "2019-05-28T18:37:02.171Z", - "totalTime": 3181 + "startTime": "2019-05-31T23:53:25.119Z", + "endTime": "2019-05-31T23:53:28.298Z", + "totalTime": 3179 }, "requisitions": [ { @@ -112,14 +112,14 @@ } ], "name": "examples/assertions.yml", - "id": "1536580949_2ca609e341_795469", + "id": "2053250088_2ca609e341_40524", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:58.994Z", - "endTime": "2019-05-28T18:36:59.087Z", - "totalTime": 93, + "startTime": "2019-05-31T23:53:25.123Z", + "endTime": "2019-05-31T23:53:25.211Z", + "totalTime": 88, "timeout": 5000 }, "requisitions": [], @@ -129,11 +129,11 @@ "valid": true, "tests": [], "name": "examples/avoid.yml", - "id": "1536580949_852d538668_520058", + "id": "2053250088_852d538668_287370", "level": 1, "subscriptions": [ { - "id": "1536580949_2e0cc1fd7c_827439", + "id": "2053250088_2e0cc1fd7c_668478", "name": "Subscription #0", "type": "tcp", "tests": [ @@ -144,10 +144,10 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z" + "connectionTime": "2019-05-31T23:53:25.250Z" }, { - "id": "1536580949_8444956d6a_893727", + "id": "2053250088_8444956d6a_708030", "name": "Subscription #1", "type": "HTTP", "tests": [ @@ -158,14 +158,14 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z" + "connectionTime": "2019-05-31T23:53:25.250Z" } ], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:58.996Z", - "endTime": "2019-05-28T18:37:02.055Z", - "totalTime": 3059, + "startTime": "2019-05-31T23:53:25.125Z", + "endTime": "2019-05-31T23:53:28.181Z", + "totalTime": 3056, "timeout": 5000 }, "requisitions": [], @@ -181,14 +181,14 @@ } ], "name": "examples/crypto-require.yml", - "id": "1536580949_1d33e31a27_143801", + "id": "2053250088_1d33e31a27_259973", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:58.997Z", - "endTime": "2019-05-28T18:36:59.087Z", - "totalTime": 90, + "startTime": "2019-05-31T23:53:25.126Z", + "endTime": "2019-05-31T23:53:25.211Z", + "totalTime": 85, "timeout": 5000 }, "requisitions": [], @@ -198,11 +198,11 @@ "valid": true, "tests": [], "name": "examples/custom.yml", - "id": "1536580949_a503614ed6_380220", + "id": "2053250089_a503614ed6_476152", "level": 1, "subscriptions": [ { - "id": "1536580949_32e9fee766_974445", + "id": "2053250089_32e9fee766_625006", "name": "subscription description", "type": "custom", "tests": [ @@ -223,7 +223,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.081Z", + "connectionTime": "2019-05-31T23:53:25.206Z", "messageReceived": { "payload": { "type": "Buffer", @@ -235,7 +235,7 @@ "remoteInfo": { "address": "127.0.0.1", "family": "IPv4", - "port": 50171, + "port": 62591, "size": 2 } } @@ -243,7 +243,7 @@ ], "publishers": [ { - "id": "1536580949_816cec1424_788775", + "id": "2053250089_816cec1424_836409", "name": "publisher description", "valid": true, "type": "custom", @@ -254,13 +254,13 @@ "description": "Published successfully" } ], - "publishTime": "2019-05-28T18:36:59.152Z" + "publishTime": "2019-05-31T23:53:25.274Z" } ], "time": { - "startTime": "2019-05-28T18:36:58.998Z", - "endTime": "2019-05-28T18:36:59.157Z", - "totalTime": 159, + "startTime": "2019-05-31T23:53:25.127Z", + "endTime": "2019-05-31T23:53:25.280Z", + "totalTime": 153, "timeout": 5000 }, "requisitions": [], @@ -270,14 +270,14 @@ "valid": true, "tests": [], "name": "examples/file-placeholder.yml", - "id": "1536580949_a5f62352f4_838236", + "id": "2053250089_a5f62352f4_640720", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.000Z", - "endTime": "2019-05-28T18:36:59.106Z", - "totalTime": 106, + "startTime": "2019-05-31T23:53:25.129Z", + "endTime": "2019-05-31T23:53:25.229Z", + "totalTime": 100, "timeout": 5000 }, "requisitions": [ @@ -306,14 +306,14 @@ } ], "name": "Requisition #0", - "id": "1536580949_374c18eaf8_995631", + "id": "2053250089_374c18eaf8_571227", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.043Z", - "endTime": "2019-05-28T18:36:59.091Z", - "totalTime": 48, + "startTime": "2019-05-31T23:53:25.170Z", + "endTime": "2019-05-31T23:53:25.215Z", + "totalTime": 45, "timeout": 5000 }, "requisitions": [], @@ -329,14 +329,14 @@ } ], "name": "Requisition #1", - "id": "1536580949_8067e3ed86_777493", + "id": "2053250089_8067e3ed86_526250", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.097Z", - "endTime": "2019-05-28T18:36:59.102Z", - "totalTime": 5, + "startTime": "2019-05-31T23:53:25.221Z", + "endTime": "2019-05-31T23:53:25.225Z", + "totalTime": 4, "timeout": 5000 }, "requisitions": [], @@ -349,23 +349,23 @@ "valid": true, "tests": [], "name": "examples/file.yml", - "id": "1536580950_8959b75199_401846", + "id": "2053250089_8959b75199_901963", "level": 1, "subscriptions": [ { - "id": "1536580950_46b3c9d8c8_143899", + "id": "2053250089_46b3c9d8c8_838043", "name": "subscription description", "type": "file-system-watcher", "tests": [ { "name": "Some time has passed", "valid": true, - "description": "Expected 'now' to be greater than or equal to '1559068619002'. Received '1559068619150'" + "description": "Expected 'now' to be greater than or equal to '1559346805130'. Received '1559346805272'" }, { "name": "Filename", "valid": true, - "description": "Expecting 'temp/fileTest1536590088_2a2066112e_49686.file' (name) to contain 'temp/'" + "description": "Expecting 'temp/fileTest2053250212_e6df0b8e4b_940580.file' (name) to contain 'temp/'" }, { "name": "Content", @@ -394,19 +394,19 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.079Z", + "connectionTime": "2019-05-31T23:53:25.205Z", "messageReceived": { - "content": "1559068619002", - "name": "temp/fileTest1536590088_2a2066112e_49686.file", + "content": "1559346805130", + "name": "temp/fileTest2053250212_e6df0b8e4b_940580.file", "size": 13, - "modified": "2019-05-28T18:36:59.088Z", - "created": "2019-05-28T18:36:59.088Z" + "modified": "2019-05-31T23:53:25.213Z", + "created": "2019-05-31T23:53:25.213Z" } } ], "publishers": [ { - "id": "1536580950_4b5a457015_19215", + "id": "2053250089_4b5a457015_743141", "name": "publisher description", "valid": true, "type": "file", @@ -417,13 +417,13 @@ "description": "Published successfully" } ], - "publishTime": "2019-05-28T18:36:59.091Z" + "publishTime": "2019-05-31T23:53:25.215Z" } ], "time": { - "startTime": "2019-05-28T18:36:59.002Z", - "endTime": "2019-05-28T18:36:59.151Z", - "totalTime": 149, + "startTime": "2019-05-31T23:53:25.130Z", + "endTime": "2019-05-31T23:53:25.273Z", + "totalTime": 143, "timeout": 3000 }, "requisitions": [], @@ -439,11 +439,11 @@ } ], "name": "examples/hooks.yml", - "id": "1536580950_d0147f400c_104837", + "id": "2053250089_d0147f400c_965394", "level": 1, "subscriptions": [ { - "id": "1536580950_f076f53bb1_288573", + "id": "2053250089_f076f53bb1_234071", "name": "Subscription #0", "type": "tcp", "tests": [ @@ -479,7 +479,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "payload": "it", "stream": { @@ -492,7 +492,7 @@ ], "publishers": [ { - "id": "1536580950_ce73838413_903924", + "id": "2053250089_ce73838413_519445", "name": "Publisher #0", "valid": true, "type": "tcp", @@ -543,21 +543,21 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:00.160Z", + "publishTime": "2019-05-31T23:53:26.285Z", "messageReceived": { "payload": "hook response", "stream": { "address": "127.0.0.1", "family": "IPv4", - "port": 62102 + "port": 64607 } } } ], "time": { - "startTime": "2019-05-28T18:36:59.005Z", - "endTime": "2019-05-28T18:37:00.161Z", - "totalTime": 1156, + "startTime": "2019-05-31T23:53:25.132Z", + "endTime": "2019-05-31T23:53:26.286Z", + "totalTime": 1154, "timeout": 3000 }, "requisitions": [], @@ -567,11 +567,11 @@ "valid": true, "tests": [], "name": "examples/http-auth-basic.yml", - "id": "1536580950_94dbdaa68d_90912", + "id": "2053250089_94dbdaa68d_500416", "level": 1, "subscriptions": [ { - "id": "1536580950_f8b31336cb_738189", + "id": "2053250089_f8b31336cb_891052", "name": "Subscription #0", "type": "http", "tests": [ @@ -607,7 +607,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "headers": { "content-type": "application/json", @@ -624,7 +624,7 @@ ], "publishers": [ { - "id": "1536580950_f4551bd7af_563510", + "id": "2053250089_f4551bd7af_244813", "name": "Publisher #0", "valid": true, "type": "http", @@ -645,7 +645,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.198Z", + "publishTime": "2019-05-31T23:53:25.320Z", "messageReceived": { "statusCode": 200, "body": "basic auth response", @@ -656,7 +656,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "19", "etag": "W/\"13-nGN7LEwCUKXpQoLxNqKZXSglYNc\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -685,9 +685,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.007Z", - "endTime": "2019-05-28T18:36:59.198Z", - "totalTime": 191, + "startTime": "2019-05-31T23:53:25.134Z", + "endTime": "2019-05-31T23:53:25.320Z", + "totalTime": 186, "timeout": 3000 }, "requisitions": [], @@ -697,11 +697,11 @@ "valid": true, "tests": [], "name": "examples/http-auth-bearer.yml", - "id": "1536580950_95f54fc773_969984", + "id": "2053250089_95f54fc773_145354", "level": 1, "subscriptions": [ { - "id": "1536580950_8b0a8f4b53_725202", + "id": "2053250089_8b0a8f4b53_652827", "name": "Subscription #0", "type": "http", "tests": [ @@ -732,7 +732,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "headers": { "content-type": "application/json", @@ -749,7 +749,7 @@ ], "publishers": [ { - "id": "1536580950_388c1593e3_71460", + "id": "2053250089_388c1593e3_37688", "name": "Publisher #0", "valid": true, "type": "http", @@ -770,7 +770,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.194Z", + "publishTime": "2019-05-31T23:53:25.316Z", "messageReceived": { "statusCode": 321, "body": "responsePayload", @@ -781,7 +781,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "15", "etag": "W/\"f-V9sBEzo+y6k6sqGXsr1Ql2B0tAk\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -810,9 +810,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.008Z", - "endTime": "2019-05-28T18:36:59.194Z", - "totalTime": 186, + "startTime": "2019-05-31T23:53:25.135Z", + "endTime": "2019-05-31T23:53:25.316Z", + "totalTime": 181, "timeout": 3000 }, "requisitions": [], @@ -822,11 +822,11 @@ "valid": true, "tests": [], "name": "examples/http-auth-digest.yml", - "id": "1536580950_d35ae8dd4d_229035", + "id": "2053250090_d35ae8dd4d_747398", "level": 1, "subscriptions": [ { - "id": "1536580950_6edffc9ab2_514006", + "id": "2053250090_6edffc9ab2_743828", "name": "Subscription #0", "type": "http", "tests": [ @@ -887,7 +887,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.079Z", + "connectionTime": "2019-05-31T23:53:25.205Z", "messageReceived": { "headers": { "content-type": "application/json", @@ -904,7 +904,7 @@ ], "publishers": [ { - "id": "1536580950_b553ccdd3b_442890", + "id": "2053250090_b553ccdd3b_494635", "name": "Publisher #0", "valid": true, "type": "http", @@ -925,7 +925,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.192Z", + "publishTime": "2019-05-31T23:53:25.314Z", "messageReceived": { "statusCode": 321, "body": "responsePayload", @@ -936,7 +936,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "15", "etag": "W/\"f-V9sBEzo+y6k6sqGXsr1Ql2B0tAk\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -965,9 +965,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.010Z", - "endTime": "2019-05-28T18:36:59.193Z", - "totalTime": 183, + "startTime": "2019-05-31T23:53:25.137Z", + "endTime": "2019-05-31T23:53:25.315Z", + "totalTime": 178, "timeout": 3000 }, "requisitions": [], @@ -977,14 +977,14 @@ "valid": true, "tests": [], "name": "examples/http-more-examples.yml", - "id": "1536580950_7db8a3761c_34391", + "id": "2053250090_7db8a3761c_334207", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.014Z", - "endTime": "2019-05-28T18:37:01.392Z", - "totalTime": 2378, + "startTime": "2019-05-31T23:53:25.141Z", + "endTime": "2019-05-31T23:53:27.525Z", + "totalTime": 2384, "timeout": 5000 }, "requisitions": [ @@ -992,11 +992,11 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580951_684f707a30_920444", + "id": "2053250090_684f707a30_850152", "level": 2, "subscriptions": [ { - "id": "1536580951_b9fd747935_250162", + "id": "2053250090_b9fd747935_532414", "name": "Subscription #0", "type": "http", "tests": [ @@ -1027,7 +1027,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.085Z", + "connectionTime": "2019-05-31T23:53:25.210Z", "messageReceived": { "headers": { "content-type": "application/json", @@ -1046,7 +1046,7 @@ } }, { - "id": "1536580951_97c8fb993f_564855", + "id": "2053250090_97c8fb993f_299157", "name": "same port", "type": "http", "tests": [ @@ -1057,7 +1057,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.085Z", + "connectionTime": "2019-05-31T23:53:25.210Z", "messageReceived": { "headers": { "content-length": "5", @@ -1070,7 +1070,7 @@ } }, { - "id": "1536580951_42d8fc1293_258483", + "id": "2053250090_42d8fc1293_582252", "name": "yet another, but avoidable", "type": "http", "tests": [ @@ -1081,12 +1081,12 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.085Z" + "connectionTime": "2019-05-31T23:53:25.210Z" } ], "publishers": [ { - "id": "1536580951_254b0b3fae_320809", + "id": "2053250090_254b0b3fae_776465", "name": "Publisher #0", "valid": true, "type": "http", @@ -1117,7 +1117,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.195Z", + "publishTime": "2019-05-31T23:53:25.317Z", "messageReceived": { "statusCode": 321, "body": "dynamically changed payload", @@ -1129,7 +1129,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "27", "etag": "W/\"1b-e5esTWfu+XftewZ5g2Tclr7ClTo\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -1157,7 +1157,7 @@ } }, { - "id": "1536580951_92ae58473e_432068", + "id": "2053250090_92ae58473e_408001", "name": "Publisher #1", "valid": true, "type": "http", @@ -1178,7 +1178,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.195Z", + "publishTime": "2019-05-31T23:53:25.317Z", "messageReceived": { "statusCode": 444, "body": "blah", @@ -1189,7 +1189,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "4", "etag": "W/\"4-W/H9kn37hnlJai5s8Ay+UMHIcUU\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -1216,9 +1216,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.045Z", - "endTime": "2019-05-28T18:36:59.380Z", - "totalTime": 335, + "startTime": "2019-05-31T23:53:25.172Z", + "endTime": "2019-05-31T23:53:25.510Z", + "totalTime": 338, "timeout": 3000 }, "requisitions": [], @@ -1228,11 +1228,11 @@ "valid": true, "tests": [], "name": "Requisition #1", - "id": "1536580951_4f1f928c4f_679841", + "id": "2053250090_4f1f928c4f_563823", "level": 2, "subscriptions": [ { - "id": "1536580951_4010211a40_362795", + "id": "2053250090_4010211a40_687569", "name": "Subscription #0", "type": "http", "tests": [ @@ -1248,7 +1248,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.381Z", + "connectionTime": "2019-05-31T23:53:25.512Z", "messageReceived": { "headers": { "content-type": "application/json", @@ -1268,7 +1268,7 @@ ], "publishers": [ { - "id": "1536580951_7630ef29c8_762785", + "id": "2053250090_7630ef29c8_750141", "name": "publisher description", "valid": true, "type": "http", @@ -1294,7 +1294,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.385Z", + "publishTime": "2019-05-31T23:53:25.516Z", "messageReceived": { "statusCode": 321, "body": "duplicatedResponsePayload", @@ -1305,7 +1305,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "25", "etag": "W/\"19-yZRAgggcER0sMyRTVBBpErTPT/A\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -1333,8 +1333,8 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.381Z", - "endTime": "2019-05-28T18:36:59.385Z", + "startTime": "2019-05-31T23:53:25.512Z", + "endTime": "2019-05-31T23:53:25.516Z", "totalTime": 4, "timeout": 5000 }, @@ -1345,11 +1345,11 @@ "valid": true, "tests": [], "name": "requisition 2 (port 23076)", - "id": "1536580951_eff03cbee0_366059", + "id": "2053250090_eff03cbee0_1244", "level": 2, "subscriptions": [ { - "id": "1536580951_e5e0d9ff8c_144222", + "id": "2053250090_e5e0d9ff8c_126228", "name": "subscription description", "type": "http", "tests": [ @@ -1360,14 +1360,14 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.387Z" + "connectionTime": "2019-05-31T23:53:25.517Z" } ], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.386Z", - "endTime": "2019-05-28T18:37:00.388Z", - "totalTime": 1002, + "startTime": "2019-05-31T23:53:25.516Z", + "endTime": "2019-05-31T23:53:26.521Z", + "totalTime": 1005, "timeout": 5000 }, "requisitions": [], @@ -1377,11 +1377,11 @@ "valid": true, "tests": [], "name": "check port releasing (23076)", - "id": "1536580951_1d85da2e3e_642363", + "id": "2053250090_1d85da2e3e_460050", "level": 2, "subscriptions": [ { - "id": "1536580951_3861169172_312322", + "id": "2053250090_3861169172_113353", "name": "same port subscription", "type": "tcp", "tests": [ @@ -1392,14 +1392,14 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:37:00.389Z" + "connectionTime": "2019-05-31T23:53:26.522Z" } ], "publishers": [], "time": { - "startTime": "2019-05-28T18:37:00.389Z", - "endTime": "2019-05-28T18:37:01.391Z", - "totalTime": 1002, + "startTime": "2019-05-31T23:53:26.522Z", + "endTime": "2019-05-31T23:53:27.525Z", + "totalTime": 1003, "timeout": 5000 }, "requisitions": [], @@ -1412,11 +1412,11 @@ "valid": true, "tests": [], "name": "examples/http-proxy.yml", - "id": "1536580951_f81cd0977e_941699", + "id": "2053250090_f81cd0977e_921835", "level": 1, "subscriptions": [ { - "id": "1536580951_ef12dc14a5_217019", + "id": "2053250090_ef12dc14a5_27732", "name": "proxy server", "type": "http-proxy", "tests": [ @@ -1462,7 +1462,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "headers": { "content-type": "application/json", @@ -1482,7 +1482,7 @@ } }, { - "id": "1536580951_f7b397b2a5_307197", + "id": "2053250090_f7b397b2a5_421749", "name": "real server", "type": "http", "tests": [ @@ -1528,7 +1528,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "headers": { "content-type": "application/json", @@ -1549,7 +1549,7 @@ ], "publishers": [ { - "id": "1536580951_375842a323_684501", + "id": "2053250090_375842a323_92036", "name": "publisher proxy", "valid": true, "type": "http", @@ -1575,7 +1575,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.208Z", + "publishTime": "2019-05-31T23:53:25.329Z", "messageReceived": { "statusCode": 333, "body": "responsePayload", @@ -1586,7 +1586,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "15", "etag": "W/\"f-V9sBEzo+y6k6sqGXsr1Ql2B0tAk\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -1615,9 +1615,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.016Z", - "endTime": "2019-05-28T18:36:59.208Z", - "totalTime": 192, + "startTime": "2019-05-31T23:53:25.144Z", + "endTime": "2019-05-31T23:53:25.329Z", + "totalTime": 185, "timeout": 5000 }, "requisitions": [], @@ -1627,11 +1627,11 @@ "valid": true, "tests": [], "name": "examples/http.yml", - "id": "1536580951_559809288c_680381", + "id": "2053250091_559809288c_69723", "level": 1, "subscriptions": [ { - "id": "1536580951_36baa23c89_800004", + "id": "2053250091_36baa23c89_122582", "name": "Subscription #0", "type": "http", "tests": [ @@ -1642,7 +1642,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "headers": { "content-length": "5", @@ -1657,7 +1657,7 @@ ], "publishers": [ { - "id": "1536580951_3f90d159b3_463839", + "id": "2053250091_3f90d159b3_559536", "name": "Publisher #0", "valid": true, "type": "http", @@ -1678,7 +1678,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.197Z", + "publishTime": "2019-05-31T23:53:25.319Z", "messageReceived": { "statusCode": 444, "body": "blah", @@ -1689,7 +1689,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "4", "etag": "W/\"4-W/H9kn37hnlJai5s8Ay+UMHIcUU\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -1716,9 +1716,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.017Z", - "endTime": "2019-05-28T18:36:59.197Z", - "totalTime": 180, + "startTime": "2019-05-31T23:53:25.144Z", + "endTime": "2019-05-31T23:53:25.320Z", + "totalTime": 176, "timeout": 5000 }, "requisitions": [], @@ -1728,11 +1728,11 @@ "valid": true, "tests": [], "name": "examples/https.yml", - "id": "1536580951_549deca2dd_861377", + "id": "2053250091_549deca2dd_806904", "level": 1, "subscriptions": [ { - "id": "1536580952_b985f54687_23959", + "id": "2053250091_b985f54687_479580", "name": "Subscription #0", "type": "https", "tests": [ @@ -1748,7 +1748,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "headers": { "content-type": "application/json", @@ -1764,7 +1764,7 @@ ], "publishers": [ { - "id": "1536580951_e61bd763bd_430679", + "id": "2053250091_e61bd763bd_444448", "name": "publisher description", "valid": true, "type": "HTTPS", @@ -1790,7 +1790,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.207Z", + "publishTime": "2019-05-31T23:53:25.328Z", "messageReceived": { "statusCode": 200, "body": "https", @@ -1801,7 +1801,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "5", "etag": "W/\"5-w0N9vHwSVdOiHURNhuvy6SNMIr0\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -1829,9 +1829,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.020Z", - "endTime": "2019-05-28T18:36:59.207Z", - "totalTime": 187, + "startTime": "2019-05-31T23:53:25.147Z", + "endTime": "2019-05-31T23:53:25.328Z", + "totalTime": 181, "timeout": 3000 }, "requisitions": [], @@ -1841,14 +1841,14 @@ "valid": true, "tests": [], "name": "examples/ignore.yml", - "id": "1536580952_8ea767da7b_269017", + "id": "2053250091_8ea767da7b_850932", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.021Z", - "endTime": "2019-05-28T18:36:59.107Z", - "totalTime": 86, + "startTime": "2019-05-31T23:53:25.148Z", + "endTime": "2019-05-31T23:53:25.231Z", + "totalTime": 83, "timeout": 5000 }, "requisitions": [ @@ -1856,12 +1856,12 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580952_cbabde97ea_735653", + "id": "2053250091_cbabde97ea_720133", "level": 2, "subscriptions": [], "publishers": [ { - "id": "1536580952_c325787526_260981", + "id": "2053250091_c325787526_258403", "name": "Publisher #0", "ignored": true, "valid": true, @@ -1870,9 +1870,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.045Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 47, + "startTime": "2019-05-31T23:53:25.173Z", + "endTime": "2019-05-31T23:53:25.217Z", + "totalTime": 44, "timeout": 5000 }, "requisitions": [], @@ -1882,11 +1882,11 @@ "valid": true, "tests": [], "name": "Requisition #1", - "id": "1536580952_24ec47c05e_892394", + "id": "2053250091_24ec47c05e_752629", "level": 2, "subscriptions": [ { - "id": "1536580952_41bbcab029_448778", + "id": "2053250091_41bbcab029_487688", "name": "Subscription #0", "ignored": true, "type": "file", @@ -1896,9 +1896,9 @@ ], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.100Z", - "endTime": "2019-05-28T18:36:59.103Z", - "totalTime": 3, + "startTime": "2019-05-31T23:53:25.224Z", + "endTime": "2019-05-31T23:53:25.226Z", + "totalTime": 2, "timeout": 5000 }, "requisitions": [], @@ -1908,14 +1908,14 @@ "valid": true, "tests": [], "name": "Requisition #2", - "id": "1536580952_73301c2bc1_500945", + "id": "2053250091_73301c2bc1_770284", "ignored": true, "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.105Z", - "endTime": "2019-05-28T18:36:59.105Z", + "startTime": "2019-05-31T23:53:25.229Z", + "endTime": "2019-05-31T23:53:25.229Z", "totalTime": 0 }, "requisitions": [] @@ -1927,14 +1927,14 @@ "valid": true, "tests": [], "name": "examples/import.yml", - "id": "1536580952_11d1ffbd36_95380", + "id": "2053250091_11d1ffbd36_602283", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.023Z", - "endTime": "2019-05-28T18:36:59.197Z", - "totalTime": 174, + "startTime": "2019-05-31T23:53:25.150Z", + "endTime": "2019-05-31T23:53:25.319Z", + "totalTime": 169, "timeout": 5000 }, "requisitions": [ @@ -1948,14 +1948,14 @@ } ], "name": "static importRequisition", - "id": "1536580952_0c14282f98_688388", + "id": "2053250091_0c14282f98_456359", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.046Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 46, + "startTime": "2019-05-31T23:53:25.173Z", + "endTime": "2019-05-31T23:53:25.216Z", + "totalTime": 43, "timeout": 5000 }, "requisitions": [], @@ -1976,13 +1976,13 @@ } ], "name": "dynamic importRequisition", - "id": "1536580952_6857a59a1d_317867", + "id": "2053250091_6857a59a1d_347471", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.098Z", - "endTime": "2019-05-28T18:36:59.102Z", + "startTime": "2019-05-31T23:53:25.221Z", + "endTime": "2019-05-31T23:53:25.225Z", "totalTime": 4, "timeout": 5000 }, @@ -1993,11 +1993,11 @@ "valid": true, "tests": [], "name": "Requisition #2", - "id": "1536580953_28f1b301b5_267511", + "id": "2053250091_28f1b301b5_964569", "level": 2, "subscriptions": [ { - "id": "1536580953_a7a23228b4_862276", + "id": "2053250091_a7a23228b4_172707", "name": "Subscription #0", "type": "http", "tests": [ @@ -2018,7 +2018,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.105Z", + "connectionTime": "2019-05-31T23:53:25.229Z", "messageReceived": { "headers": { "content-length": "5", @@ -2033,7 +2033,7 @@ ], "publishers": [ { - "id": "1536580953_5163661566_351205", + "id": "2053250091_5163661566_567568", "name": "Publisher #0", "valid": true, "type": "http", @@ -2064,7 +2064,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.195Z", + "publishTime": "2019-05-31T23:53:25.318Z", "messageReceived": { "statusCode": 444, "body": "blah", @@ -2075,7 +2075,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "4", "etag": "W/\"4-W/H9kn37hnlJai5s8Ay+UMHIcUU\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -2102,9 +2102,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.104Z", - "endTime": "2019-05-28T18:36:59.196Z", - "totalTime": 92, + "startTime": "2019-05-31T23:53:25.228Z", + "endTime": "2019-05-31T23:53:25.319Z", + "totalTime": 91, "timeout": 5000 }, "requisitions": [], @@ -2117,14 +2117,14 @@ "valid": true, "tests": [], "name": "examples/no-tests.yml", - "id": "1536580953_92334e1554_30258", + "id": "2053250091_92334e1554_556318", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.023Z", - "endTime": "2019-05-28T18:36:59.237Z", - "totalTime": 214, + "startTime": "2019-05-31T23:53:25.151Z", + "endTime": "2019-05-31T23:53:25.358Z", + "totalTime": 207, "timeout": 5000 }, "requisitions": [ @@ -2132,14 +2132,14 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580953_35cb1b4ae8_1000252", + "id": "2053250091_35cb1b4ae8_648681", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.133Z", - "endTime": "2019-05-28T18:36:59.237Z", - "totalTime": 104, + "startTime": "2019-05-31T23:53:25.255Z", + "endTime": "2019-05-31T23:53:25.357Z", + "totalTime": 102, "timeout": 5000 }, "requisitions": [], @@ -2152,13 +2152,13 @@ "valid": true, "tests": [], "name": "examples/parallel-requisition.yml", - "id": "1536580953_e05b5acab1_844680", + "id": "2053250091_e05b5acab1_801794", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.024Z", - "endTime": "2019-05-28T18:36:59.888Z", + "startTime": "2019-05-31T23:53:25.152Z", + "endTime": "2019-05-31T23:53:26.016Z", "totalTime": 864, "timeout": 5000 }, @@ -2174,18 +2174,18 @@ { "name": "Assertion #1", "valid": true, - "description": "Expected 'elapsedTime' not to be less than or equal to '400'. Received '331'" + "description": "Expected 'elapsedTime' not to be less than or equal to '400'. Received '334'" } ], "name": "Requisition #0", - "id": "1536580953_e2f0694b46_783518", + "id": "2053250091_e2f0694b46_114104", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.047Z", - "endTime": "2019-05-28T18:36:59.379Z", - "totalTime": 332, + "startTime": "2019-05-31T23:53:25.174Z", + "endTime": "2019-05-31T23:53:25.509Z", + "totalTime": 335, "timeout": 5000 }, "requisitions": [ @@ -2193,13 +2193,13 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580953_913ffe0794_793873", + "id": "2053250092_913ffe0794_179545", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.077Z", - "endTime": "2019-05-28T18:36:59.283Z", + "startTime": "2019-05-31T23:53:25.203Z", + "endTime": "2019-05-31T23:53:25.409Z", "totalTime": 206, "timeout": 5000 }, @@ -2210,14 +2210,14 @@ "valid": true, "tests": [], "name": "Requisition #1", - "id": "1536580953_fdabeaad92_368784", + "id": "2053250092_fdabeaad92_260513", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.077Z", - "endTime": "2019-05-28T18:36:59.378Z", - "totalTime": 301, + "startTime": "2019-05-31T23:53:25.203Z", + "endTime": "2019-05-31T23:53:25.508Z", + "totalTime": 305, "timeout": 5000 }, "requisitions": [], @@ -2232,23 +2232,23 @@ { "name": "started after the other", "valid": true, - "description": "Expected 'requisition.requisitions[1].startTime.getTime() - requisition.requisitions[0].startTime.getTime()' to be greater than or equal to '200'. Received '205'" + "description": "Expected 'requisition.requisitions[1].startTime.getTime() - requisition.requisitions[0].startTime.getTime()' to be greater than or equal to '200'. Received '201'" }, { "name": "Assertion #1", "valid": true, - "description": "Expected 'elapsedTime' not to be less than or equal to '600'. Received '508'" + "description": "Expected 'elapsedTime' not to be less than or equal to '600'. Received '506'" } ], "name": "Requisition #1", - "id": "1536580953_30bc9c1ac3_234875", + "id": "2053250092_30bc9c1ac3_229438", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.379Z", - "endTime": "2019-05-28T18:36:59.888Z", - "totalTime": 509, + "startTime": "2019-05-31T23:53:25.510Z", + "endTime": "2019-05-31T23:53:26.016Z", + "totalTime": 506, "timeout": 5000 }, "requisitions": [ @@ -2256,14 +2256,14 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580953_913ffe0794_982206", + "id": "2053250092_913ffe0794_66197", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.380Z", - "endTime": "2019-05-28T18:36:59.584Z", - "totalTime": 204, + "startTime": "2019-05-31T23:53:25.510Z", + "endTime": "2019-05-31T23:53:25.710Z", + "totalTime": 200, "timeout": 5000 }, "requisitions": [], @@ -2273,14 +2273,14 @@ "valid": true, "tests": [], "name": "Requisition #1", - "id": "1536580953_463f29d694_766397", + "id": "2053250092_463f29d694_69856", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.585Z", - "endTime": "2019-05-28T18:36:59.887Z", - "totalTime": 302, + "startTime": "2019-05-31T23:53:25.711Z", + "endTime": "2019-05-31T23:53:26.015Z", + "totalTime": 304, "timeout": 5000 }, "requisitions": [], @@ -2296,12 +2296,12 @@ "valid": true, "tests": [], "name": "examples/parallel-test-publisher.yml", - "id": "1536580953_98a37b717a_434534", + "id": "2053250092_98a37b717a_464040", "level": 1, "subscriptions": [], "publishers": [ { - "id": "1536580953_2955c0f42c_623473", + "id": "2053250092_2955c0f42c_435515", "name": "Publisher #0", "valid": true, "type": "tcp", @@ -2322,21 +2322,21 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.529Z", + "publishTime": "2019-05-31T23:53:25.660Z", "messageReceived": { "payload": "anyValue", "stream": { "address": "127.0.0.1", "family": "IPv4", - "port": 62118 + "port": 64623 } } } ], "time": { - "startTime": "2019-05-28T18:36:59.025Z", - "endTime": "2019-05-28T18:36:59.529Z", - "totalTime": 504, + "startTime": "2019-05-31T23:53:25.152Z", + "endTime": "2019-05-31T23:53:25.660Z", + "totalTime": 508, "timeout": 3000 }, "requisitions": [], @@ -2346,11 +2346,11 @@ "valid": true, "tests": [], "name": "examples/parallel-test-subscription.yml", - "id": "1536580953_eb9c2c8618_798077", + "id": "2053250092_eb9c2c8618_843632", "level": 1, "subscriptions": [ { - "id": "1536580953_b419ff22d8_249878", + "id": "2053250092_b419ff22d8_191477", "name": "Subscription #0", "type": "tcp", "tests": [ @@ -2366,7 +2366,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "payload": "anything", "stream": { @@ -2379,9 +2379,9 @@ ], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.025Z", - "endTime": "2019-05-28T18:36:59.528Z", - "totalTime": 503, + "startTime": "2019-05-31T23:53:25.153Z", + "endTime": "2019-05-31T23:53:25.659Z", + "totalTime": 506, "timeout": 3000 }, "requisitions": [], @@ -2391,14 +2391,14 @@ "valid": true, "tests": [], "name": "examples/parent.yml", - "id": "1536580953_b79240b3fa_573611", + "id": "2053250092_b79240b3fa_335137", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.026Z", - "endTime": "2019-05-28T18:36:59.202Z", - "totalTime": 176, + "startTime": "2019-05-31T23:53:25.154Z", + "endTime": "2019-05-31T23:53:25.325Z", + "totalTime": 171, "timeout": 5000 }, "requisitions": [ @@ -2406,14 +2406,14 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580953_c28c57bc75_35822", + "id": "2053250092_c28c57bc75_40657", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.047Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 45, + "startTime": "2019-05-31T23:53:25.174Z", + "endTime": "2019-05-31T23:53:25.216Z", + "totalTime": 42, "timeout": 5000 }, "requisitions": [], @@ -2423,11 +2423,11 @@ "valid": true, "tests": [], "name": "Requisition #1", - "id": "1536580953_52aeba2265_394952", + "id": "2053250092_52aeba2265_62748", "level": 2, "subscriptions": [ { - "id": "1536580953_f3eb57f16a_243452", + "id": "2053250092_f3eb57f16a_342854", "name": "Subscription #0", "type": "tcp", "tests": [ @@ -2443,14 +2443,14 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z" + "connectionTime": "2019-05-31T23:53:25.250Z" } ], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.098Z", - "endTime": "2019-05-28T18:36:59.202Z", - "totalTime": 104, + "startTime": "2019-05-31T23:53:25.222Z", + "endTime": "2019-05-31T23:53:25.325Z", + "totalTime": 103, "timeout": 5000 }, "requisitions": [], @@ -2463,11 +2463,11 @@ "valid": true, "tests": [], "name": "readme self-test", - "id": "1536580953_e04fc9d966_42122", + "id": "2053250092_e04fc9d966_499324", "level": 1, "subscriptions": [ { - "id": "1536580953_a55bf990de_848728", + "id": "2053250092_a55bf990de_653187", "name": "mock endpoint", "type": "http", "tests": [ @@ -2489,7 +2489,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "headers": { "content-length": "19", @@ -2504,7 +2504,7 @@ ], "publishers": [ { - "id": "1536580953_b6b0515566_588210", + "id": "2053250092_b6b0515566_567264", "name": "Publisher #0", "valid": true, "type": "http", @@ -2530,7 +2530,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:36:59.198Z", + "publishTime": "2019-05-31T23:53:25.321Z", "messageReceived": { "statusCode": 200, "body": "mock response", @@ -2541,7 +2541,7 @@ "content-type": "text/html; charset=utf-8", "content-length": "13", "etag": "W/\"d-6UKeP76zmvXmSg17xN19aS1KU0w\"", - "date": "Tue, 28 May 2019 18:36:59 GMT", + "date": "Fri, 31 May 2019 23:53:25 GMT", "connection": "close" }, "request": { @@ -2568,9 +2568,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.027Z", - "endTime": "2019-05-28T18:36:59.199Z", - "totalTime": 172, + "startTime": "2019-05-31T23:53:25.155Z", + "endTime": "2019-05-31T23:53:25.321Z", + "totalTime": 166, "timeout": 5000 }, "requisitions": [], @@ -2580,12 +2580,12 @@ "valid": true, "tests": [], "name": "examples/readme-enqueuer-repo-hit.yml", - "id": "1536580953_e3ebc84b64_33319", + "id": "2053250092_e3ebc84b64_599105", "level": 1, "subscriptions": [], "publishers": [ { - "id": "1536580953_af24198d15_228524", + "id": "2053250092_af24198d15_150073", "name": "Publisher #0", "valid": true, "type": "http", @@ -2606,34 +2606,34 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:00.704Z", + "publishTime": "2019-05-31T23:53:26.762Z", "messageReceived": { "statusCode": 200, - "body": "\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n \n \n \n \n\n \n \n GitHub - enqueuer-land/enqueuer: Multi protocol testing tool\n \n \n \n \n\n \n \n\n \n \n \n \n \n\n\n \n\n \n\n \n \n \n\n \n\n\n\n\n \n\n\n\n\n\n\n \n\n \n \n\n \n \n\n \n\n \n\n \n \n\n \n\n \n\n \n\n\n \n\n\n \n\n \n\n \n \n\n\n\n\n\n\n\n \n\n \n\n \n \n\n
\n Skip to content\n
\n\n \n \n \n\n\n
\n
\n
\n \n \n \n
\n\n
\n
\n \n
\n\n \n\n \n
\n
\n
\n\n
\n\n
\n\n\n
\n\n
\n\n\n\n
\n
\n
\n \n \n\n\n\n \n\n\n\n\n
\n
\n\n \n\n

\n \n enqueuer-land/enqueuer\n \n\n

\n\n
\n \n\n\n\n
\n
\n
\n\n \n \n
\n
\n
\n
\n \n

Join GitHub today

\n

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

\n Sign up\n
\n
\n
\n\n\n\n
\n
\n \n Multi protocol testing tool\n \n https://enqueuer.com\n
\n
\n
\n\n \n\n\n\n \n\n \n\n\n\n\n\n\n
\n \n
\n \n Branch:\n master\n \n\n \n \n \n \n \n
\n\n\n \n\n
\n \n
\n\n
\n\n Find File\n
\n\n\n \n\n
\n \n Clone or download\n \n
\n
\n\n
\n
\n\n

\n Clone with HTTPS\n \n \n \n

\n

\n Use Git or checkout with SVN using the web URL.\n

\n\n
\n \n
\n \n
\n
\n\n
\n\n
\n \nDownload ZIP\n\n
\n
\n\n \n\n
\n

Launching GitHub Desktop...

\n

If nothing happens, download GitHub Desktop and try again.

\n

\n
\n\n
\n

Launching GitHub Desktop...

\n

If nothing happens, download GitHub Desktop and try again.

\n

\n
\n\n
\n

Launching Xcode...

\n

If nothing happens, download Xcode and try again.

\n

\n
\n\n
\n

Launching Visual Studio...

\n

If nothing happens, download the GitHub extension for Visual Studio and try again.

\n

\n
\n\n
\n
\n
\n\n
\n\n\n \n\n\n
\n \n
\n
\n \n \"@lopidio\"\n
\n
\n\n \n
\n Latest commit\n \n de89626\n \n May 27, 2019\n
\n
\n\n\n\n
\n Permalink\n\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
TypeNameLatest commit messageCommit time
Failed to load latest commit information.
\n \n \"\"\n \n .github/ISSUE_TEMPLATE\n \n \n Update bug_report.md\n \n \n Mar 4, 2019\n
\n \n \"\"\n \n conf\n \n \n Adding number.json to examplesTest\n \n \n Mar 12, 2019\n
\n \n \"\"\n \n docs\n \n \n refactor(TestsAnalyzer): Expose TestsAnalyzer in the public API\n \n \n May 27, 2019\n
\n \n \"\"\n \n examples\n \n \n fix(RequisitionRunner): Print requisition report only when explicitly…\n \n \n May 27, 2019\n
\n \n \"\"\n \n https-cert\n \n \n Adding support to https\n \n \n Aug 9, 2018\n
\n \n \"\"\n \n misc\n \n \n fix(Favicon fix):\n \n \n May 24, 2019\n
\n \n \"\"\n \n output\n \n \n fix(RequisitionRunner): Print requisition report only when explicitly…\n \n \n May 27, 2019\n
\n \n \"\"\n \n src\n \n \n fix(RequisitionRunner): Print requisition report only when explicitly…\n \n \n May 27, 2019\n
\n \n \"\"\n \n temp\n \n \n #19 adding attempting to create a topic at kafka\n \n \n Oct 3, 2018\n
\n \n \"\"\n \n .codeclimate.yml\n \n \n Updating .codeclimate\n \n \n Sep 24, 2018\n
\n \n \"\"\n \n .gitignore\n \n \n docs(README): Improve docs\n \n \n Mar 23, 2019\n
\n \n \"\"\n \n .npmignore\n \n \n Removing SummaryTestOutput dependency with Configuration and start te…\n \n \n Mar 10, 2019\n
\n \n \"\"\n \n .travis.yml\n \n \n feat(dynamic-modules-manager): Look for a ~/.nqr folder to load plugi…\n \n \n Mar 22, 2019\n
\n \n \"\"\n \n CNAME\n \n \n Create CNAME\n \n \n May 10, 2019\n
\n \n \"\"\n \n CONTRIBUTING.md\n \n \n chore(Automatic Release): Add automatic release with semantic-release.\n \n \n Mar 21, 2019\n
\n \n \"\"\n \n License\n \n \n Creating License\n \n \n Mar 10, 2018\n
\n \n \"\"\n \n README.md\n \n \n refactor(DynamicModulesManager): Dynamically import module at any tim…\n \n \n May 21, 2019\n
\n \n \"\"\n \n enqueuer.ts\n \n \n refactor(TestsAnalyzer): Expose TestsAnalyzer in the public API\n \n \n May 27, 2019\n
\n \n \"\"\n \n package-lock.json\n \n \n feat(NotificationEmitter): Create the concept of Notification and Not…\n \n \n May 24, 2019\n
\n \n \"\"\n \n package.json\n \n \n fix(Favicon fix):\n \n \n May 24, 2019\n
\n \n \"\"\n \n tsconfig.json\n \n \n feat(NotificationEmitter): Create the concept of Notification and Not…\n \n \n May 24, 2019\n
\n \n \"\"\n \n tslint.json\n \n \n Subscription refactoring\n \n \n Mar 12, 2019\n
\n\n
\n\n\n\n
\n
\n

\n \n README.md\n

\n
\n
\n

\"npm\"\n\"Build\n\"Greenkeeper\n\"Known\n\"License:

\n

\"enqueuerlogo\"

\n

Want to ensure that a user journey which involves several steps with different protocols is working properly?\nHave you ever struggled with testing multi protocol flows?\nDepending services have become a pain?\nDon't you worry anymore. Enqueuer is what you're looking for.

\n

What it is

\n

It's not just an integration testing tool. It is a platform that provides the following capabilities:

\n
    \n
  • Support for many protocols out of the box
  • \n
  • Chainable message flows
  • \n
  • Easily mock numerous services to alleviate the headaches of functional and integration tests
  • \n
  • Friendly for developers and non developers
  • \n
  • Built in assertion library to verify response data coming from/going to your services
  • \n
  • Easily extensible behavior through third party plugins, including your own custom ones
  • \n
  • CLI is easy to add to your team's existing CI pipelines
  • \n
  • Act and react on your system under test
  • \n
  • Place tests front and center
  • \n
\n

Welcome to the enqueuer world.

\n

install it

\n

First things first, let's get the enqueuer installed on your machine.

\n
$ npm install --global enqueuer\n
\n

Alright, it's time to create a requisition file.\nSomething like:

\n
#enqueuer-repo-hit.yml\npublishers:\n-   type: http\n    url: https://github.com/enqueuer-land/enqueuer\n    onMessageReceived:\n        assertions:\n        -   expect: statusCode\n            toBeEqualTo: 200\n
\n

Pretty simple, hum? Small and concise, how it should be!\nRun it:

\n
$ enqueuer enqueuer-repo-hit.yml\n
\n

What if I want to mock a http server and hit it at the same time, you may ask. Not a big deal for enqueuer lovers:

\n
name: readme self-test\npublishers:\n-   type: http\n    url: http://localhost:9085/readme-example\n    method: POST\n    payload: does enqueuer rock?\n    onMessageReceived:\n        script: doubleStatus = statusCode * 2\n        assertions:\n            -   expect: body\n                toBeEqualTo: `mock response`\n            -   expect: doubleStatus\n                toBeGreaterThan: 300\nsubscriptions:\n-   type: http\n    name: mock endpoint\n    endpoint: /readme-example\n    port: 9085\n    method: POST\n    response:\n        status: 200\n        payload: mock response\n    onMessageReceived:\n        assertions:\n        -   expect: message.body\n            toContain: `enqueuer`\n        -   name: failing test\n            expectToBeTruthy: false\n
\n

Note that the second subscription assertion is a failing one. By running this example, we get this:

\n
$ nqr http-self-test.yml\n   [FAIL]      readme self-test                                                   6 tests passing of 7 (85.71%) ran in 37ms\n   [FAIL] enqueuer                                                                6 tests passing of 7 (85.71%) ran in 42ms\n               enqueuer › readme self-test › mock endpoint › failing test\n                           Expecting 'false' to be true. Received: false\n
\n

I told you it was simple.\nNow, let's say you want to mix different protocols to test a bit more complex flow.\nHow about publishing an amqp message and making sure that, once a service consumes that message an endpoint of your is hit?\nIn order to achieve that, we have to make use of a plugin, given that amqp support is provided by a plugin.\nIn this scenario, we're talking about the amqp plugin.\nOnce we get this plugin installed we are able to create and run files like this:

\n
publishers:\n-   type: amqp\n    payload: 123456\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.readme.routing.key\nsubscriptions:\n-   type: http\n    endpoint: /polyglot-flow\n    port: 8080\n    method: GET\n    response:\n        status: 200\n        payload: polyglot message\n    onMessageReceived:\n        assertions:\n        -   expect: message.body\n            toContain: 123456\n
\n

Now go nuts!\nIt's all yours. Have fun.\nIf you want more examples about http, consider looking at this test.\nCheck this out, you'll find countless examples.\nCertainly one is what you need.

\n

if you need more

\n
$ nqr -h\nUsage: nqr [options] <test-file> [other-test-files...]\n\nTake a look at the full documentation: https://enqueuer.com\n\nOptions:\n  -v, --version                             output the version number\n  -b, --verbosity <level>                   set verbosity (default: \"warn\")\n  -c, --config-file <path>                  set configurationFile\n  -e, --parsers-list [parser]               list available object parsers\n  -f, --formatters-description [formatter]  describe report formatters\n  -o, --stdout-requisition-output           add stdout as requisition output\n  -m, --max-report-level-print <level>      set max report level print\n  -p, --protocols-description [protocol]    describe protocols\n  -u, --loaded-modules-list                 list loaded modules\n  -t, --tests-list                          list available tests assertions\n  -s, --store [store]                       add variables values to this session (default: [])\n  -l, --add-plugin [plugin]                 add plugin (default: [])\n  -a, --add-file <file>                     add file to be tested (default: [])\n  -A, --add-file-and-ignore-others <file>   add file to be tested and ignore others (default: [])\n  -h, --help                                output usage information\n\nExamples:\n  $ nqr --config-file config-file.yml --verbosity error --store key=value\n  $ enqueuer -c config-file.yml test-file.yml --add-file another-test-file.yml -b info\n  $ enqueuer test-file.yml --store someKey=true --store someOtherKey=false\n  $ nqr --protocols-description -s key=value\n  $ nqr -t expect\n  $ nqr -l my-enqueuer-plugin-name -p plugin-protocol\n  $ nqr -p http\n  $ nqr --formatters-description json\n
\n
\n

Components

\n

In order to accomplish more than just hitting enqueuer's repo or doing a quick self http hit, there are a few things that you'll probably need to know.\nDon't worry, it's not too much and, as mentioned earlier, there is a lot of examples here, just in case.\nThere are only three important component concepts: requisitions, publishers and subscriptions.\nThey work along with each other and are responsible for the full behavior of enqueuer.

\n

requisition

\n

Test scenario description. It tells what, when, and how test your applications and services.\nPicture it as if it was a collection of publishers, subscriptions and other requisitions.\nIt helps because this is exactly what it is.\nAs the others components, it has some attributes. All of them are optionals. And it supports multi-level test scenarios out of the box. Yeap, go as recursive as you want.\nEvery test file is a requisition.\nYou don't know some of these attributes values yet? Don't worry, just put a variable there and let enqueuer replace it with the value you set later.\nVariable replacements are available through the entire requisition.

\n
requisition attributes
\n

These are the requisition attributes:

\n

name
\nDescribes what the requisition is suppose to do.\nDefaults to requisition index.

\n
name: requisition action\n
\n

timeout
\nDefaults to 5000.\nSets in milliseconds how long the requisition waits to expire.\nSet to zero or less than zero to run it endlessly.

\n
timeout: 3000\n
\n

delay
\nDefaults to 0. Sets in milliseconds how long the test waits before starting. Check this to get the full idea.

\n
delay: 0\n
\n

iterations
\nDefaults to 1. Sets how many times this test will be executed. Check this and this to get the full idea.

\n
iterations: 3\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this requisitions should be skipped. Check this to see it working.

\n
ignore: true\n
\n

parallel
\nDefaults to false. Immediate children requisitions should be executed in parallel mode.\nTake a look at this to see it working.

\n
parallel: true\n
\n

import
\nAllows requisition to be dynamically defined, be it by loading an external file or creating dynamically by other requisitions. Want to reuse the same requisition multiple times? This is you you need.\nTake a look at this to behold this feature.

\n
import: path/to/another/requisition/file\n
\n

publishers
\nList of publishers

\n
publishers:\n- name: some publisher name\n  type: http\n- type: tcp\n
\n

subscriptions
\nList of subscriptions

\n
subscriptions:\n- name: some subscription name\n  type: udp\n- name: another subscription name\n  type: file\n
\n

requisitions
\nA list of child scenarios. List of requisitions.\nCheck this example, it may help.

\n
requisitions:\n- name: some requisition name\n  iterations: 2\n- name: another requisition name\n  delay: 200\n
\n
events
\n

Available events are described here. A requisition object is available to access and change its attributes.

\n
name: my name\nonInit:\n  script: requisition.delay = 3000;\n  assertions:\n  - expectToBeDefined: requisition.name\nonFinish:  \n  assertions:\n  - expectToBeDefined: requisition.name\n
\n

publisher

\n

A publisher action is triggered by enqueuer itself. It acts whereas a subscription reacts.\nIt publishes something, it writes, it enqueues, hits and endpoint... These kinds of actions.

\n
publisher attributes
\n

Every publisher has its own properties, depending on its protocol and implementation.\nThe built-in http publisher implementation, for instance, demands a url, a method, and a payload, if the method is not a GET.\nOn the other hand, the built-in tcp publisher implementation requires a serverAddress and a port.\nThese are the publisher attributes:

\n

name
\nDefaults to publisher index.\nDescribes what the publisher is supposed to do.

\n
name: publisher action\n
\n

type
\nMandatory. Key tag to identify which publisher will be instantiated

\n
type: http\n
\n

payload
\nSince a publisher usually publishes something, it's very likely you have to set a value here.\nThe message itself that will be send through this protocol. Be it a string, a number, a boolean value or even whole objects.

\n
payload: value\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this publisher should be skipped. Check this to see it working.

\n
ignore: true\n
\n
events
\n

Available events are described here. A publisher object is available to access and change its attributes.\nDepending on the protocol and its implementation, such as http and tcp, there may exist a onMessageReceived event and a special object given message.\nOn the other hand, an asynchronous protocol, like: udp and amqp, usually does not provide it.

\n
onInit:\n  script: publisher.ignore = false\n  assertions:\n  - expectToBeDefined: publisher.type\nonMessageReceived: #Provided in synchronous protocols  \n  assertions:\n  - expectToBeDefined: message\nonFinish:  \n  assertions:\n  - expectToBeDefined: publisher.type\n
\n

subscription

\n

A subscription is an \"under demand\" event. It reacts whereas a publisher acts.\nIt consumes something, it reads, it dequeues, gets hit... These kinds of actions.\nThis means that it is not triggered by enqueuer itself.\nRather than that, enqueuer waits on an external event to be triggered and then it asserts against the message that was passed to the subscription.

\n
subscription attributes
\n

Every subscription has its own properties, depending on its protocol and implementation.\nThe built-in http subscription implementation, for instance, demands an endpoint, a method, and a port, if the method is not a GET.\nOn the other hand, the built-in tcp subscription implementation requires only a port.

\n

These are the subscription attributes:

\n

name
\nDefaults to subscription index.\nDescribes what the subscription is supposed to do.

\n
name: subscription action\n
\n

type
\nMandatory. Key tag to identify which subscription will be instantiated

\n
type: http\n
\n

avoid
\nIdentifies whether or not this subscription should not receive any message. Defaults to false.\nIf set and a message is received a failing test will be generated.\nTake a look at this to see it working.\nOn the other hand, when it's false and no message is received in a given timeout. The subscription is valid.

\n
avoid: false\n
\n

timeout
\nSets in milliseconds how long the subscription waits to expire. Defaults to 3000.\nSet to zero or less than zero to run it endlessly.

\n
timeout: 3000\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this subscription should be skipped. Check this to see it working.

\n
ignore: true    \n
\n
events
\n

Available events are described here. A subscription object is available to access and change its attributes.

\n
onInit:\n  script: subscription.avoid = false;\n  assertions:\n  - expectToBeDefined: subscription.type\nonMessageReceived:  \n  assertions:\n  - expectToBeDefined: message\nonFinish:  \n  assertions:\n  - expectToBeDefined: subscription.type\n
\n
\n

Event

\n

Events are hook methods executed by enqueuer when an action occurs on publishers, subscriptions or requisitions.\nThis is where you'll write your tests. In its assertions field.\nDepending on the event's owner, there may be a variable called publisher, subscription or requisition.\nYou're free to explore them however you want, even doing things like this:

\n
publisher.parent.subscriptions[0].timeout = 1000;\n
\n

hooks

\n

There are three hook events available:

\n

onInit
\nAvailable in requisitions, publishers and subscriptions. It gets executed as soon as the test is initialized.

\n

onFinish
\nAvailable in requisitions, publishers and subscriptions. It gets executed when the test is about to finish.\nAs available parameter, an elapsedTime variable is given, counting every milliseconds since the instantiation of this component.

\n

onMessageReceived
\nAvailable in every subscription and in publishers that provide synchronous properties.\nIt gets executed when the subscription or publisher receives a message.\nA message object is available having all of attributes returned from the received message.\nDepending on the protocol implementation, there'll be additional objects to this hook.\nFor instance, in the built-in http publisher implementation, there's a statusCode, headers and a body among others, and the subscription implementation has body, query, params and headers , among other variables.\nelapsedTime is also available here, counting every milliseconds since the instantiation of this component.

\n

fields

\n

Every hook object has 3 properties:

\n

script
\nJavascript code snippet executed when the event is triggered.\nYeah, I mean it. See it it by yourself.\nBut be careful, with great power comes great responsibility.

\n

store
\nData to be persisted across requisitions.

\n

assertions
\nArray of assertions.\nRun $ nqr -t to see available ones.\nConsider looking at this test example.\nOf course, just like almost everything else in enqueuer world, you can extend this available list using some plugin.\nYou can check them out or even write your own.

\n
onInit:\n  script: variableIdentifier = 'string value'\n\n  assertions:\n  - expect: variableIdentifier\n    toBeEqualTo: `string value`\n\nonMessageReceived:\n  script: |-\n    message += 3;\n    console.log(`Message received plus 3 is: ${message}`);\n\n  store:\n    key: message\n\n  assertions:\n  - name: anyValue #optional\n    expect: message\n    toBeEqualTo: store.key\n  - expect: message + 3\n    toBeGreaterThan: 3\n
\n

event example

\n

Check this test file to see it in practice.

\n
\n

Requisition Flow

\n

Now that you know what are requisitions, publishers, subscriptions and events. How about seeing how they interact with each other in a fancier way?

\n

\"enqueuerInstanceFlow\"

\n
\n

Configuration File

\n

To save yourself some time, a configuration file may be used.\nConfiguration files tell enqueuer which tests will be executed, log-level, and which output test report files should be generated.\nThis file tells how enqueuer should be executed.\nTo run enqueuer with the configuration:

\n
$ nqr -c path/to/configuration/file.yml\n
\n

or

\n
$ nqr --config-file path/to/configuration/file.yml\n
\n

attributes

\n

These are the configuration file attributes:

\n

files
\nRequisition file names or glob. Enqueuer runs every file that matches an element value.

\n
files:\n- 1.yml\n- 2.yml\n- *.json\n
\n

parallel
\nDefaults to false. Requisition files should be executed in parallel mode. The requisition file itself is still sequential, but the files are executes in parallel.

\n
parallel: true\n
\n

log-level
\nDefaults to warning. Defines how information are logged in the console. Accepted values are: trace; debug; info; warning (default); error; and fatal.

\n
log-level: trace\n
\n

max-report-level-print
\nDefaults to 1. The deepest level of report to be printed to the console.

\n
max-report-level-print: 2\n
\n

plugins
\nList of in plugins used by the test scenarios. You can check them out or write your own.

\n
plugins:\n- enqueuer-plugin-amqp \n- enqueuer-plugin-ws \n- enqueuer-plugin-mqtt\n- enqueuer-plugin-html-report\n
\n

outputs
\nOnce enqueuer runs every execution, it compiles a summary and sends it to every publisher listed in output.\nAn important thing to note is that every available report publisher is available here.\nYes, it means that you are able to send this report through http, tcp, etc. or through a plugin one or a custom one.\nYou can run $ nqr -p to check available report publishers installed.\nAnother important thing to note is the format value. By default a json summary is generated, but you can change it to whatever format you would like, such as: Xunit, html\nYou can run $ nqr -f to check available installed formats or even write your own

\n
outputs:\n- type: file\n  format: json (default)\n  filename: output/examples.json\n- type: file\n  format: yml\n  filename: output/examples.yml\n- type: standard-output (default)\n  format: console\n
\n

store
\nValues defined here use the 'key: value' pattern and are available to every test scenario throughout the entire execution

\n
store:\n  variableKey: \"my value\" # Defines 'variableKey' key and its value 'my value'. \n  \n  'separated key': 6\n  \n  object: # You can even define whole objects here:\n    first: first value\n    second:\n      nested: thing\n
\n

example

\n

Here's a complete example of a configuration file.

\n
\n

Variables

\n

Providing power and flexibility, enqueuer allows you to use variables placeholder replacement.\nThat's why there is a store field and you'll see a lot of << and {{ being used in the examples files.\nIt works as simple as this:

\n
name: my name is <<variableKey>>\n
\n

Every time enqueuer sees these kind of notations, it searches in its store for a key/value pair like:

\n
variableKey: `enqueuer`\n
\n

Then, when enqueuer parses the original map, it gets translated to this:

\n
name: my name is enqueuer\n
\n

By default, every ENV_VAR set is loaded automatically to the store. Check this example.

\n

set a variable

\n

There are a few ways to set a value in the store.

\n
configuration file
\n

Configuration file store object. Set it as you wish, as you can see here

\n
command line
\n

A command line argument using the key=value format. This way:

\n
$ nqr --store key=value -s anotherVariable=true\n
\n
event
\n

Dynamically set it through any event.\nBe it in its script field or straight through its store field.\nBoth ways work:

\n
onInit:\n    script: store.key = 123;\n    store:\n        anotherKey: `another Value` \n
\n

use a variable

\n

There are two ways two use a variable:

\n
non js code snippet
\n

The easiest one is to type <<variableKey>> or {{variableKey}} where you want it to be replaced in a test file, as you can see here

\n
js code snippet
\n

Using the store object. It's attributes are the keys and their values are their respective values.\nTherefore, you're free to use store.variableKey, console.log(store.variableKey); or console.log(2 * store['separated key']); and get them.\nLike this one.

\n

variables example

\n

Check out this test example test to see it working.

\n
\n

Content File Injection

\n

You are able to inject file content into a requisition/publisher/subscription field.

\n
file: <<file://path/to/file.txt>>\n
\n

Other than that, enqueuer can read it and parse its content as an object using this familiar syntax: <<tag://path/to/file?query=value&other=true>>.

\n
requisition:\n    json: <<json://path/to/file.json>>\n    yml: <<yml://path/to/file.yml>>\n    csv: <<csv://path/to/file.csv?header=true&delimiter=;>>\n    file: <<file://path/to/file.txt>>\n
\n

Once the object is parsed, your free to use it as a regular object in any event

\n
onInit:\n    script: console.log(requisition.yml.deep.field);\nonFinish:\n    assertions:\n    -   expect: json.key\n        toBeEqualTo: csv[0].key\n
\n

It get's event better.\nDue its fantastic plugin architecture design, you can extend its default modules and use any of these plugins or event write your own to parse however you want.\nThe built-in modules for object parsers are: json, yml, csv and file.\nRun $ nqr -e to see available ones.

\n

example

\n

Check out this test example test to get a full picture of it.

\n
\n

Plugins

\n

You're probably aware by now but it doesn't hurt do emphasize it: enqueuer provides an amazingly powerful plugin extensible architecture.\nIt has several plugins available, but if none of them pleases you, you're free to create your own.\nAlbeit you don't have to share the one you created, we encourage you to do so. Then go ahead and publish yours to npm and add it to our plugins list.

\n

plugin types

\n

So far, you're able to extend enqueuer default behavior in four ways. Using a protocol plugin, an object parser plugin, an asserter plugin and using a report formatter plugin.

\n
protocol
\n

A protocol plugin enables you to use a different publisher/subscription types.\nRun $ nqr -p [protocol-name] to get the full available list:

\n
publishers: \n-   name:                  custom\n-   name:                  file\n-   name:                  http\n    messageReceivedParams: statusCode, statusMessage, body\n-   name:                  stdout\n-   name:                  tcp\n-   ...\nsubscriptions: \n-   name:                  custom\n-   name:                  file\n    messageReceivedParams: content, name, size, modified, created\n-   name:                  http\n    messageReceivedParams: headers, params, query, body\n-   name:                  stdin\n-   name:                  tcp\n    messageReceivedParams: payload, stream\n-   ...\n
\n

Each one listed above has a respective example in the examples folder.\nThis one, for instance, provides support for amqp protocol, so you can create this publisher and subscription:

\n
publishers:\n-   type: amqp\n    payload: enqueuermaniac\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.integration.test.routing.key\nsubscriptions:\n-   type: amqp\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.integration.test.routing.#\n    onMessageReceived:\n        assertions:\n        -   expect: payload\n            toBeEqualTo: `enqueuermaniac`\n
\n
object parser
\n

An object parser plugin enables you to read and parse files as you wish.\nThis test example demonstrates how to use it,\nRun $ nqr -e [object-parser-name] to check available ones:

\n
parsers: \n- yml, yaml\n- json\n- file\n- csv\n
\n

This one, for example, provides the ability to read xml files and inject their values like this:

\n
xmlContent: <<xml://path/to/xml/file.xml>>\n
\n
asserter
\n

An asserter plugin provides you a nicely way to use different assertions than these built-in ones.

\n
asserters: \n-   expect: \n        required:    true\n        type:        string, array\n        description: actual value\n    not: \n        required:    false\n        type:        null\n        description: negates\n    toContain: \n        required:    true\n        type:        string, any\n        description: element\n
\n

Looking at the asserter above, we can create assertions like these:

\n
assertions:\n-   expect: [`a`, 1, true]\n    not:\n    toContain: `b`\n-   expect: [`a`, 1, true]\n    toContain: 1\n
\n

Run $ nqr -t to get the full available list.\nConsider looking at this test example.

\n
report formatter
\n

A report formatter plugin gives you the ability to export enqueuer reports the way you want.\nRun $ nqr -f [formatter-name] to list available report formatters:

\n
formatters: \n- console, stdout\n- json\n- yml, yaml\n
\n

Consider looking at the example of configuration file to see it in use.\nThis one, for instance, generates xUnit like reports from enqueuer's output.

\n

plugin installation

\n

In order to enqueuer get awareness that you want to use a plugin, you have to tell it, right?\nYou can tell enqueuer to use a plugin in three different ways: using it as a command line argument, through the configuration file or letting enqueuer finding it in a default location.

\n
command line
\n

Tell enqueuer to use your plugin through command line this way $ nqr -l <plugin-folder> -l <another-plugin-folder>.\nWhere plugin-folder and another-plugin-folder are the directories where the plugins are installed in.

\n
configuration file
\n

Tell enqueuer to use your plugin through configuration file this way:

\n
plugins: \n-   plugin-folder\n-   another-plugin-folder\n
\n

Where plugin-folder and another-plugin-folder are the directories where the plugins are installed in.

\n
implicitly
\n

When enqueuer runs, it looks for modules in .nqr folder in the home directory, a.k.a. ~/ folder in linux distributions.\nTherefore, if you run:

\n
$ npm install --global enqueuer\n$ mkdir ~/.nqr\n$ cd ~/.nqr\n$ npm install enqueuer-plugin-amqp\n$ nqr -p amqp\n
\n

You'll see that the enqueuer-plugin-amqp plugin will be loaded.\nEvery enqueuer compatible module gets implicitly loaded.\nIn order to be enqueuer compatible, a module has to have an entryPoint exported function in its main file and, in its package.json file, it has to have either 'enqueuer' or 'nqr' as keywords.

\n

Stacker

\n

Looking for a really really good looking an human error proof solution way of writing these requisition files?
\nConsider taking a look at stacker: open source, cross-platform, multi protocol client testing tool.\nThe official enqueuer's best friend forever. Do amazing things and change the world with enqueuer’s GUI!\nWith them, you create, manage and run requisitions and and see their results in a really nice way.\nSee this amazing beauty with your own eyes to get an idea of how it works:

\n

\"screenshot-passing\"

\n
\n

Open source

\n

We (by 'we' we mean enqueuer's maintainers not the human race, unfortunately) are very opened to any kind of contributions in general.\nAs long as they make sense and add value to the product, you're free to go.\nWe mean it, do it. Even if it's a typo fix in this README file. Go ahead.\nIf you like it but don't want to waste time creating a pull request, no problem either.\nCreate an issue, or, even easier, give it a github star. It's cheap and it doesn't hurt anyone.\nYou know what? Just head up to enqueuer's github repo and keep staring at its repo.\nIt may help somehow.

\n

contributors

\n

Thank you. It sounds cliché, but this project wouldn't be the same without the massive contribution from everyone.

\n

code it

\n

In order to contribute with some code, you have to follow a few steps.\nFirst of all, get the code:

\n
$ git clone git@github.com:enqueuer-land/enqueuer.git\n$ cd enqueuer\n
\n

Get its dependencies installed:

\n
$ npm install\n
\n

Build it:

\n
$ npm run build\n
\n

Go for it. Make the changes you want.\nAfter everything is done:

\n
$ npm run all\n
\n

Commit it:

\n
$ npm run commit\n
\n

Push it:

\n
$ git push\n
\n

feedback

\n

We'd love to get your feedback!\nIf you have any comments, suggestions, etc. you can reach us here.

\n

\"NPM\"

\n
\n
\n
\n\n\n\n
\n
\n
\n\n
\n
\n \n\n
\n\n \n
\n
\n \n\n \n \n\n \n
\n
\n \n
\n
\n\n\n\n
\n \n \n You can’t perform that action at this time.\n
\n\n\n \n \n \n \n \n \n \n
\n \n You signed in with another tab or window. Reload to refresh your session.\n You signed out in another tab or window. Reload to refresh your session.\n
\n \n\n
\n
\n
\n
\n\n
\n\n \n\n\n", + "body": "\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n \n \n \n \n\n \n \n GitHub - enqueuer-land/enqueuer: Multi protocol microservice testing tool\n \n \n \n \n\n \n \n\n \n \n \n \n \n\n\n \n\n \n\n \n \n \n\n \n\n\n\n\n \n\n\n\n\n\n\n \n\n \n \n\n \n \n\n \n\n \n\n \n \n\n \n\n \n\n \n\n\n \n\n\n \n\n \n\n \n \n\n\n\n\n\n\n\n \n\n \n\n \n \n\n
\n Skip to content\n
\n\n \n \n \n\n\n
\n
\n
\n \n \n \n
\n\n
\n
\n \n
\n\n \n\n \n
\n
\n
\n\n
\n\n
\n\n\n
\n\n
\n\n\n\n
\n
\n
\n \n \n\n\n\n \n\n\n\n\n
\n
\n\n \n\n

\n \n enqueuer-land/enqueuer\n \n\n

\n\n
\n \n\n\n\n
\n
\n
\n\n \n \n
\n
\n
\n
\n \n

Join GitHub today

\n

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

\n Sign up\n
\n
\n
\n\n\n\n
\n
\n \n Multi protocol microservice testing tool\n \n https://enqueuer.com\n
\n
\n
\n\n \n\n\n\n \n\n \n\n\n\n\n\n\n
\n \n
\n \n Branch:\n master\n \n\n \n \n \n \n \n
\n\n\n \n\n
\n \n
\n\n
\n\n Find File\n
\n\n\n \n\n
\n \n Clone or download\n \n
\n
\n\n
\n
\n\n

\n Clone with HTTPS\n \n \n \n

\n

\n Use Git or checkout with SVN using the web URL.\n

\n\n
\n \n
\n \n
\n
\n\n
\n\n
\n \nDownload ZIP\n\n
\n
\n\n \n\n
\n

Launching GitHub Desktop...

\n

If nothing happens, download GitHub Desktop and try again.

\n

\n
\n\n
\n

Launching GitHub Desktop...

\n

If nothing happens, download GitHub Desktop and try again.

\n

\n
\n\n
\n

Launching Xcode...

\n

If nothing happens, download Xcode and try again.

\n

\n
\n\n
\n

Launching Visual Studio...

\n

If nothing happens, download the GitHub extension for Visual Studio and try again.

\n

\n
\n\n
\n
\n
\n\n
\n\n\n \n\n\n
\n \n
\n
\n \n \"@lopidio\"\n
\n
\n\n
\n \n lopidio\n\n\n \n\n\n fix(EnqueuerRunner): Reports only get printed when EnqueuerRunner det…\n \n \n \n\n
…ects its report\n\nn
\n
\n
\n Latest commit\n \n 80fd20b\n \n May 28, 2019\n
\n
\n\n\n\n\n Permalink\n\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
TypeNameLatest commit messageCommit time
Failed to load latest commit information.
\n \n \"\"\n \n .github/ISSUE_TEMPLATE\n \n \n Update bug_report.md\n \n \n Mar 4, 2019\n
\n \n \"\"\n \n conf\n \n \n \n \n \n
\n \n \"\"\n \n docs\n \n \n refactor(TestsAnalyzer): Expose TestsAnalyzer in the public API\n \n \n May 27, 2019\n
\n \n \"\"\n \n examples\n \n \n fix(RequisitionRunner): Print requisition report only when explicitly…\n \n \n May 27, 2019\n
\n \n \"\"\n \n https-cert\n \n \n Adding support to https\n \n \n Aug 9, 2018\n
\n \n \"\"\n \n misc\n \n \n fix(Favicon fix):\n \n \n May 24, 2019\n
\n \n \"\"\n \n output\n \n \n fix(EnqueuerRunner): Reports only get printed when EnqueuerRunner det…\n \n \n May 28, 2019\n
\n \n \"\"\n \n src\n \n \n fix(EnqueuerRunner): Reports only get printed when EnqueuerRunner det…\n \n \n May 28, 2019\n
\n \n \"\"\n \n temp\n \n \n #19 adding attempting to create a topic at kafka\n \n \n Oct 3, 2018\n
\n \n \"\"\n \n .codeclimate.yml\n \n \n Updating .codeclimate\n \n \n Sep 24, 2018\n
\n \n \"\"\n \n .gitignore\n \n \n docs(README): Improve docs\n \n \n Mar 23, 2019\n
\n \n \"\"\n \n .npmignore\n \n \n Removing SummaryTestOutput dependency with Configuration and start te…\n \n \n Mar 10, 2019\n
\n \n \"\"\n \n .travis.yml\n \n \n feat(dynamic-modules-manager): Look for a ~/.nqr folder to load plugi…\n \n \n Mar 22, 2019\n
\n \n \"\"\n \n CNAME\n \n \n Create CNAME\n \n \n May 10, 2019\n
\n \n \"\"\n \n CONTRIBUTING.md\n \n \n chore(Automatic Release): Add automatic release with semantic-release.\n \n \n Mar 21, 2019\n
\n \n \"\"\n \n License\n \n \n Creating License\n \n \n Mar 10, 2018\n
\n \n \"\"\n \n README.md\n \n \n refactor(DynamicModulesManager): Dynamically import module at any tim…\n \n \n May 21, 2019\n
\n \n \"\"\n \n enqueuer.ts\n \n \n fix(EnqueuerRunner): Reports only get printed when EnqueuerRunner det…\n \n \n May 28, 2019\n
\n \n \"\"\n \n package-lock.json\n \n \n feat(NotificationEmitter): Create the concept of Notification and Not…\n \n \n May 24, 2019\n
\n \n \"\"\n \n package.json\n \n \n fix(Favicon fix):\n \n \n May 24, 2019\n
\n \n \"\"\n \n tsconfig.json\n \n \n feat(NotificationEmitter): Create the concept of Notification and Not…\n \n \n May 24, 2019\n
\n \n \"\"\n \n tslint.json\n \n \n Subscription refactoring\n \n \n Mar 12, 2019\n
\n\n
\n\n\n\n
\n
\n

\n \n README.md\n

\n
\n
\n

\"npm\"\n\"Build\n\"Greenkeeper\n\"Known\n\"License:

\n

\"enqueuerlogo\"

\n

Want to ensure that a user journey which involves several steps with different protocols is working properly?\nHave you ever struggled with testing multi protocol flows?\nDepending services have become a pain?\nDon't you worry anymore. Enqueuer is what you're looking for.

\n

What it is

\n

It's not just an integration testing tool. It is a platform that provides the following capabilities:

\n
    \n
  • Support for many protocols out of the box
  • \n
  • Chainable message flows
  • \n
  • Easily mock numerous services to alleviate the headaches of functional and integration tests
  • \n
  • Friendly for developers and non developers
  • \n
  • Built in assertion library to verify response data coming from/going to your services
  • \n
  • Easily extensible behavior through third party plugins, including your own custom ones
  • \n
  • CLI is easy to add to your team's existing CI pipelines
  • \n
  • Act and react on your system under test
  • \n
  • Place tests front and center
  • \n
\n

Welcome to the enqueuer world.

\n

install it

\n

First things first, let's get the enqueuer installed on your machine.

\n
$ npm install --global enqueuer\n
\n

Alright, it's time to create a requisition file.\nSomething like:

\n
#enqueuer-repo-hit.yml\npublishers:\n-   type: http\n    url: https://github.com/enqueuer-land/enqueuer\n    onMessageReceived:\n        assertions:\n        -   expect: statusCode\n            toBeEqualTo: 200\n
\n

Pretty simple, hum? Small and concise, how it should be!\nRun it:

\n
$ enqueuer enqueuer-repo-hit.yml\n
\n

What if I want to mock a http server and hit it at the same time, you may ask. Not a big deal for enqueuer lovers:

\n
name: readme self-test\npublishers:\n-   type: http\n    url: http://localhost:9085/readme-example\n    method: POST\n    payload: does enqueuer rock?\n    onMessageReceived:\n        script: doubleStatus = statusCode * 2\n        assertions:\n            -   expect: body\n                toBeEqualTo: `mock response`\n            -   expect: doubleStatus\n                toBeGreaterThan: 300\nsubscriptions:\n-   type: http\n    name: mock endpoint\n    endpoint: /readme-example\n    port: 9085\n    method: POST\n    response:\n        status: 200\n        payload: mock response\n    onMessageReceived:\n        assertions:\n        -   expect: message.body\n            toContain: `enqueuer`\n        -   name: failing test\n            expectToBeTruthy: false\n
\n

Note that the second subscription assertion is a failing one. By running this example, we get this:

\n
$ nqr http-self-test.yml\n   [FAIL]      readme self-test                                                   6 tests passing of 7 (85.71%) ran in 37ms\n   [FAIL] enqueuer                                                                6 tests passing of 7 (85.71%) ran in 42ms\n               enqueuer › readme self-test › mock endpoint › failing test\n                           Expecting 'false' to be true. Received: false\n
\n

I told you it was simple.\nNow, let's say you want to mix different protocols to test a bit more complex flow.\nHow about publishing an amqp message and making sure that, once a service consumes that message an endpoint of your is hit?\nIn order to achieve that, we have to make use of a plugin, given that amqp support is provided by a plugin.\nIn this scenario, we're talking about the amqp plugin.\nOnce we get this plugin installed we are able to create and run files like this:

\n
publishers:\n-   type: amqp\n    payload: 123456\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.readme.routing.key\nsubscriptions:\n-   type: http\n    endpoint: /polyglot-flow\n    port: 8080\n    method: GET\n    response:\n        status: 200\n        payload: polyglot message\n    onMessageReceived:\n        assertions:\n        -   expect: message.body\n            toContain: 123456\n
\n

Now go nuts!\nIt's all yours. Have fun.\nIf you want more examples about http, consider looking at this test.\nCheck this out, you'll find countless examples.\nCertainly one is what you need.

\n

if you need more

\n
$ nqr -h\nUsage: nqr [options] <test-file> [other-test-files...]\n\nTake a look at the full documentation: https://enqueuer.com\n\nOptions:\n  -v, --version                             output the version number\n  -b, --verbosity <level>                   set verbosity (default: \"warn\")\n  -c, --config-file <path>                  set configurationFile\n  -e, --parsers-list [parser]               list available object parsers\n  -f, --formatters-description [formatter]  describe report formatters\n  -o, --stdout-requisition-output           add stdout as requisition output\n  -m, --max-report-level-print <level>      set max report level print\n  -p, --protocols-description [protocol]    describe protocols\n  -u, --loaded-modules-list                 list loaded modules\n  -t, --tests-list                          list available tests assertions\n  -s, --store [store]                       add variables values to this session (default: [])\n  -l, --add-plugin [plugin]                 add plugin (default: [])\n  -a, --add-file <file>                     add file to be tested (default: [])\n  -A, --add-file-and-ignore-others <file>   add file to be tested and ignore others (default: [])\n  -h, --help                                output usage information\n\nExamples:\n  $ nqr --config-file config-file.yml --verbosity error --store key=value\n  $ enqueuer -c config-file.yml test-file.yml --add-file another-test-file.yml -b info\n  $ enqueuer test-file.yml --store someKey=true --store someOtherKey=false\n  $ nqr --protocols-description -s key=value\n  $ nqr -t expect\n  $ nqr -l my-enqueuer-plugin-name -p plugin-protocol\n  $ nqr -p http\n  $ nqr --formatters-description json\n
\n
\n

Components

\n

In order to accomplish more than just hitting enqueuer's repo or doing a quick self http hit, there are a few things that you'll probably need to know.\nDon't worry, it's not too much and, as mentioned earlier, there is a lot of examples here, just in case.\nThere are only three important component concepts: requisitions, publishers and subscriptions.\nThey work along with each other and are responsible for the full behavior of enqueuer.

\n

requisition

\n

Test scenario description. It tells what, when, and how test your applications and services.\nPicture it as if it was a collection of publishers, subscriptions and other requisitions.\nIt helps because this is exactly what it is.\nAs the others components, it has some attributes. All of them are optionals. And it supports multi-level test scenarios out of the box. Yeap, go as recursive as you want.\nEvery test file is a requisition.\nYou don't know some of these attributes values yet? Don't worry, just put a variable there and let enqueuer replace it with the value you set later.\nVariable replacements are available through the entire requisition.

\n
requisition attributes
\n

These are the requisition attributes:

\n

name
\nDescribes what the requisition is suppose to do.\nDefaults to requisition index.

\n
name: requisition action\n
\n

timeout
\nDefaults to 5000.\nSets in milliseconds how long the requisition waits to expire.\nSet to zero or less than zero to run it endlessly.

\n
timeout: 3000\n
\n

delay
\nDefaults to 0. Sets in milliseconds how long the test waits before starting. Check this to get the full idea.

\n
delay: 0\n
\n

iterations
\nDefaults to 1. Sets how many times this test will be executed. Check this and this to get the full idea.

\n
iterations: 3\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this requisitions should be skipped. Check this to see it working.

\n
ignore: true\n
\n

parallel
\nDefaults to false. Immediate children requisitions should be executed in parallel mode.\nTake a look at this to see it working.

\n
parallel: true\n
\n

import
\nAllows requisition to be dynamically defined, be it by loading an external file or creating dynamically by other requisitions. Want to reuse the same requisition multiple times? This is you you need.\nTake a look at this to behold this feature.

\n
import: path/to/another/requisition/file\n
\n

publishers
\nList of publishers

\n
publishers:\n- name: some publisher name\n  type: http\n- type: tcp\n
\n

subscriptions
\nList of subscriptions

\n
subscriptions:\n- name: some subscription name\n  type: udp\n- name: another subscription name\n  type: file\n
\n

requisitions
\nA list of child scenarios. List of requisitions.\nCheck this example, it may help.

\n
requisitions:\n- name: some requisition name\n  iterations: 2\n- name: another requisition name\n  delay: 200\n
\n
events
\n

Available events are described here. A requisition object is available to access and change its attributes.

\n
name: my name\nonInit:\n  script: requisition.delay = 3000;\n  assertions:\n  - expectToBeDefined: requisition.name\nonFinish:  \n  assertions:\n  - expectToBeDefined: requisition.name\n
\n

publisher

\n

A publisher action is triggered by enqueuer itself. It acts whereas a subscription reacts.\nIt publishes something, it writes, it enqueues, hits and endpoint... These kinds of actions.

\n
publisher attributes
\n

Every publisher has its own properties, depending on its protocol and implementation.\nThe built-in http publisher implementation, for instance, demands a url, a method, and a payload, if the method is not a GET.\nOn the other hand, the built-in tcp publisher implementation requires a serverAddress and a port.\nThese are the publisher attributes:

\n

name
\nDefaults to publisher index.\nDescribes what the publisher is supposed to do.

\n
name: publisher action\n
\n

type
\nMandatory. Key tag to identify which publisher will be instantiated

\n
type: http\n
\n

payload
\nSince a publisher usually publishes something, it's very likely you have to set a value here.\nThe message itself that will be send through this protocol. Be it a string, a number, a boolean value or even whole objects.

\n
payload: value\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this publisher should be skipped. Check this to see it working.

\n
ignore: true\n
\n
events
\n

Available events are described here. A publisher object is available to access and change its attributes.\nDepending on the protocol and its implementation, such as http and tcp, there may exist a onMessageReceived event and a special object given message.\nOn the other hand, an asynchronous protocol, like: udp and amqp, usually does not provide it.

\n
onInit:\n  script: publisher.ignore = false\n  assertions:\n  - expectToBeDefined: publisher.type\nonMessageReceived: #Provided in synchronous protocols  \n  assertions:\n  - expectToBeDefined: message\nonFinish:  \n  assertions:\n  - expectToBeDefined: publisher.type\n
\n

subscription

\n

A subscription is an \"under demand\" event. It reacts whereas a publisher acts.\nIt consumes something, it reads, it dequeues, gets hit... These kinds of actions.\nThis means that it is not triggered by enqueuer itself.\nRather than that, enqueuer waits on an external event to be triggered and then it asserts against the message that was passed to the subscription.

\n
subscription attributes
\n

Every subscription has its own properties, depending on its protocol and implementation.\nThe built-in http subscription implementation, for instance, demands an endpoint, a method, and a port, if the method is not a GET.\nOn the other hand, the built-in tcp subscription implementation requires only a port.

\n

These are the subscription attributes:

\n

name
\nDefaults to subscription index.\nDescribes what the subscription is supposed to do.

\n
name: subscription action\n
\n

type
\nMandatory. Key tag to identify which subscription will be instantiated

\n
type: http\n
\n

avoid
\nIdentifies whether or not this subscription should not receive any message. Defaults to false.\nIf set and a message is received a failing test will be generated.\nTake a look at this to see it working.\nOn the other hand, when it's false and no message is received in a given timeout. The subscription is valid.

\n
avoid: false\n
\n

timeout
\nSets in milliseconds how long the subscription waits to expire. Defaults to 3000.\nSet to zero or less than zero to run it endlessly.

\n
timeout: 3000\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this subscription should be skipped. Check this to see it working.

\n
ignore: true    \n
\n
events
\n

Available events are described here. A subscription object is available to access and change its attributes.

\n
onInit:\n  script: subscription.avoid = false;\n  assertions:\n  - expectToBeDefined: subscription.type\nonMessageReceived:  \n  assertions:\n  - expectToBeDefined: message\nonFinish:  \n  assertions:\n  - expectToBeDefined: subscription.type\n
\n
\n

Event

\n

Events are hook methods executed by enqueuer when an action occurs on publishers, subscriptions or requisitions.\nThis is where you'll write your tests. In its assertions field.\nDepending on the event's owner, there may be a variable called publisher, subscription or requisition.\nYou're free to explore them however you want, even doing things like this:

\n
publisher.parent.subscriptions[0].timeout = 1000;\n
\n

hooks

\n

There are three hook events available:

\n

onInit
\nAvailable in requisitions, publishers and subscriptions. It gets executed as soon as the test is initialized.

\n

onFinish
\nAvailable in requisitions, publishers and subscriptions. It gets executed when the test is about to finish.\nAs available parameter, an elapsedTime variable is given, counting every milliseconds since the instantiation of this component.

\n

onMessageReceived
\nAvailable in every subscription and in publishers that provide synchronous properties.\nIt gets executed when the subscription or publisher receives a message.\nA message object is available having all of attributes returned from the received message.\nDepending on the protocol implementation, there'll be additional objects to this hook.\nFor instance, in the built-in http publisher implementation, there's a statusCode, headers and a body among others, and the subscription implementation has body, query, params and headers , among other variables.\nelapsedTime is also available here, counting every milliseconds since the instantiation of this component.

\n

fields

\n

Every hook object has 3 properties:

\n

script
\nJavascript code snippet executed when the event is triggered.\nYeah, I mean it. See it it by yourself.\nBut be careful, with great power comes great responsibility.

\n

store
\nData to be persisted across requisitions.

\n

assertions
\nArray of assertions.\nRun $ nqr -t to see available ones.\nConsider looking at this test example.\nOf course, just like almost everything else in enqueuer world, you can extend this available list using some plugin.\nYou can check them out or even write your own.

\n
onInit:\n  script: variableIdentifier = 'string value'\n\n  assertions:\n  - expect: variableIdentifier\n    toBeEqualTo: `string value`\n\nonMessageReceived:\n  script: |-\n    message += 3;\n    console.log(`Message received plus 3 is: ${message}`);\n\n  store:\n    key: message\n\n  assertions:\n  - name: anyValue #optional\n    expect: message\n    toBeEqualTo: store.key\n  - expect: message + 3\n    toBeGreaterThan: 3\n
\n

event example

\n

Check this test file to see it in practice.

\n
\n

Requisition Flow

\n

Now that you know what are requisitions, publishers, subscriptions and events. How about seeing how they interact with each other in a fancier way?

\n

\"enqueuerInstanceFlow\"

\n
\n

Configuration File

\n

To save yourself some time, a configuration file may be used.\nConfiguration files tell enqueuer which tests will be executed, log-level, and which output test report files should be generated.\nThis file tells how enqueuer should be executed.\nTo run enqueuer with the configuration:

\n
$ nqr -c path/to/configuration/file.yml\n
\n

or

\n
$ nqr --config-file path/to/configuration/file.yml\n
\n

attributes

\n

These are the configuration file attributes:

\n

files
\nRequisition file names or glob. Enqueuer runs every file that matches an element value.

\n
files:\n- 1.yml\n- 2.yml\n- *.json\n
\n

parallel
\nDefaults to false. Requisition files should be executed in parallel mode. The requisition file itself is still sequential, but the files are executes in parallel.

\n
parallel: true\n
\n

log-level
\nDefaults to warning. Defines how information are logged in the console. Accepted values are: trace; debug; info; warning (default); error; and fatal.

\n
log-level: trace\n
\n

max-report-level-print
\nDefaults to 1. The deepest level of report to be printed to the console.

\n
max-report-level-print: 2\n
\n

plugins
\nList of in plugins used by the test scenarios. You can check them out or write your own.

\n
plugins:\n- enqueuer-plugin-amqp \n- enqueuer-plugin-ws \n- enqueuer-plugin-mqtt\n- enqueuer-plugin-html-report\n
\n

outputs
\nOnce enqueuer runs every execution, it compiles a summary and sends it to every publisher listed in output.\nAn important thing to note is that every available report publisher is available here.\nYes, it means that you are able to send this report through http, tcp, etc. or through a plugin one or a custom one.\nYou can run $ nqr -p to check available report publishers installed.\nAnother important thing to note is the format value. By default a json summary is generated, but you can change it to whatever format you would like, such as: Xunit, html\nYou can run $ nqr -f to check available installed formats or even write your own

\n
outputs:\n- type: file\n  format: json (default)\n  filename: output/examples.json\n- type: file\n  format: yml\n  filename: output/examples.yml\n- type: standard-output (default)\n  format: console\n
\n

store
\nValues defined here use the 'key: value' pattern and are available to every test scenario throughout the entire execution

\n
store:\n  variableKey: \"my value\" # Defines 'variableKey' key and its value 'my value'. \n  \n  'separated key': 6\n  \n  object: # You can even define whole objects here:\n    first: first value\n    second:\n      nested: thing\n
\n

example

\n

Here's a complete example of a configuration file.

\n
\n

Variables

\n

Providing power and flexibility, enqueuer allows you to use variables placeholder replacement.\nThat's why there is a store field and you'll see a lot of << and {{ being used in the examples files.\nIt works as simple as this:

\n
name: my name is <<variableKey>>\n
\n

Every time enqueuer sees these kind of notations, it searches in its store for a key/value pair like:

\n
variableKey: `enqueuer`\n
\n

Then, when enqueuer parses the original map, it gets translated to this:

\n
name: my name is enqueuer\n
\n

By default, every ENV_VAR set is loaded automatically to the store. Check this example.

\n

set a variable

\n

There are a few ways to set a value in the store.

\n
configuration file
\n

Configuration file store object. Set it as you wish, as you can see here

\n
command line
\n

A command line argument using the key=value format. This way:

\n
$ nqr --store key=value -s anotherVariable=true\n
\n
event
\n

Dynamically set it through any event.\nBe it in its script field or straight through its store field.\nBoth ways work:

\n
onInit:\n    script: store.key = 123;\n    store:\n        anotherKey: `another Value` \n
\n

use a variable

\n

There are two ways two use a variable:

\n
non js code snippet
\n

The easiest one is to type <<variableKey>> or {{variableKey}} where you want it to be replaced in a test file, as you can see here

\n
js code snippet
\n

Using the store object. It's attributes are the keys and their values are their respective values.\nTherefore, you're free to use store.variableKey, console.log(store.variableKey); or console.log(2 * store['separated key']); and get them.\nLike this one.

\n

variables example

\n

Check out this test example test to see it working.

\n
\n

Content File Injection

\n

You are able to inject file content into a requisition/publisher/subscription field.

\n
file: <<file://path/to/file.txt>>\n
\n

Other than that, enqueuer can read it and parse its content as an object using this familiar syntax: <<tag://path/to/file?query=value&other=true>>.

\n
requisition:\n    json: <<json://path/to/file.json>>\n    yml: <<yml://path/to/file.yml>>\n    csv: <<csv://path/to/file.csv?header=true&delimiter=;>>\n    file: <<file://path/to/file.txt>>\n
\n

Once the object is parsed, your free to use it as a regular object in any event

\n
onInit:\n    script: console.log(requisition.yml.deep.field);\nonFinish:\n    assertions:\n    -   expect: json.key\n        toBeEqualTo: csv[0].key\n
\n

It get's event better.\nDue its fantastic plugin architecture design, you can extend its default modules and use any of these plugins or event write your own to parse however you want.\nThe built-in modules for object parsers are: json, yml, csv and file.\nRun $ nqr -e to see available ones.

\n

example

\n

Check out this test example test to get a full picture of it.

\n
\n

Plugins

\n

You're probably aware by now but it doesn't hurt do emphasize it: enqueuer provides an amazingly powerful plugin extensible architecture.\nIt has several plugins available, but if none of them pleases you, you're free to create your own.\nAlbeit you don't have to share the one you created, we encourage you to do so. Then go ahead and publish yours to npm and add it to our plugins list.

\n

plugin types

\n

So far, you're able to extend enqueuer default behavior in four ways. Using a protocol plugin, an object parser plugin, an asserter plugin and using a report formatter plugin.

\n
protocol
\n

A protocol plugin enables you to use a different publisher/subscription types.\nRun $ nqr -p [protocol-name] to get the full available list:

\n
publishers: \n-   name:                  custom\n-   name:                  file\n-   name:                  http\n    messageReceivedParams: statusCode, statusMessage, body\n-   name:                  stdout\n-   name:                  tcp\n-   ...\nsubscriptions: \n-   name:                  custom\n-   name:                  file\n    messageReceivedParams: content, name, size, modified, created\n-   name:                  http\n    messageReceivedParams: headers, params, query, body\n-   name:                  stdin\n-   name:                  tcp\n    messageReceivedParams: payload, stream\n-   ...\n
\n

Each one listed above has a respective example in the examples folder.\nThis one, for instance, provides support for amqp protocol, so you can create this publisher and subscription:

\n
publishers:\n-   type: amqp\n    payload: enqueuermaniac\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.integration.test.routing.key\nsubscriptions:\n-   type: amqp\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.integration.test.routing.#\n    onMessageReceived:\n        assertions:\n        -   expect: payload\n            toBeEqualTo: `enqueuermaniac`\n
\n
object parser
\n

An object parser plugin enables you to read and parse files as you wish.\nThis test example demonstrates how to use it,\nRun $ nqr -e [object-parser-name] to check available ones:

\n
parsers: \n- yml, yaml\n- json\n- file\n- csv\n
\n

This one, for example, provides the ability to read xml files and inject their values like this:

\n
xmlContent: <<xml://path/to/xml/file.xml>>\n
\n
asserter
\n

An asserter plugin provides you a nicely way to use different assertions than these built-in ones.

\n
asserters: \n-   expect: \n        required:    true\n        type:        string, array\n        description: actual value\n    not: \n        required:    false\n        type:        null\n        description: negates\n    toContain: \n        required:    true\n        type:        string, any\n        description: element\n
\n

Looking at the asserter above, we can create assertions like these:

\n
assertions:\n-   expect: [`a`, 1, true]\n    not:\n    toContain: `b`\n-   expect: [`a`, 1, true]\n    toContain: 1\n
\n

Run $ nqr -t to get the full available list.\nConsider looking at this test example.

\n
report formatter
\n

A report formatter plugin gives you the ability to export enqueuer reports the way you want.\nRun $ nqr -f [formatter-name] to list available report formatters:

\n
formatters: \n- console, stdout\n- json\n- yml, yaml\n
\n

Consider looking at the example of configuration file to see it in use.\nThis one, for instance, generates xUnit like reports from enqueuer's output.

\n

plugin installation

\n

In order to enqueuer get awareness that you want to use a plugin, you have to tell it, right?\nYou can tell enqueuer to use a plugin in three different ways: using it as a command line argument, through the configuration file or letting enqueuer finding it in a default location.

\n
command line
\n

Tell enqueuer to use your plugin through command line this way $ nqr -l <plugin-folder> -l <another-plugin-folder>.\nWhere plugin-folder and another-plugin-folder are the directories where the plugins are installed in.

\n
configuration file
\n

Tell enqueuer to use your plugin through configuration file this way:

\n
plugins: \n-   plugin-folder\n-   another-plugin-folder\n
\n

Where plugin-folder and another-plugin-folder are the directories where the plugins are installed in.

\n
implicitly
\n

When enqueuer runs, it looks for modules in .nqr folder in the home directory, a.k.a. ~/ folder in linux distributions.\nTherefore, if you run:

\n
$ npm install --global enqueuer\n$ mkdir ~/.nqr\n$ cd ~/.nqr\n$ npm install enqueuer-plugin-amqp\n$ nqr -p amqp\n
\n

You'll see that the enqueuer-plugin-amqp plugin will be loaded.\nEvery enqueuer compatible module gets implicitly loaded.\nIn order to be enqueuer compatible, a module has to have an entryPoint exported function in its main file and, in its package.json file, it has to have either 'enqueuer' or 'nqr' as keywords.

\n

Stacker

\n

Looking for a really really good looking an human error proof solution way of writing these requisition files?
\nConsider taking a look at stacker: open source, cross-platform, multi protocol client testing tool.\nThe official enqueuer's best friend forever. Do amazing things and change the world with enqueuer’s GUI!\nWith them, you create, manage and run requisitions and and see their results in a really nice way.\nSee this amazing beauty with your own eyes to get an idea of how it works:

\n

\"screenshot-passing\"

\n
\n

Open source

\n

We (by 'we' we mean enqueuer's maintainers not the human race, unfortunately) are very opened to any kind of contributions in general.\nAs long as they make sense and add value to the product, you're free to go.\nWe mean it, do it. Even if it's a typo fix in this README file. Go ahead.\nIf you like it but don't want to waste time creating a pull request, no problem either.\nCreate an issue, or, even easier, give it a github star. It's cheap and it doesn't hurt anyone.\nYou know what? Just head up to enqueuer's github repo and keep staring at its repo.\nIt may help somehow.

\n

contributors

\n

Thank you. It sounds cliché, but this project wouldn't be the same without the massive contribution from everyone.

\n

code it

\n

In order to contribute with some code, you have to follow a few steps.\nFirst of all, get the code:

\n
$ git clone git@github.com:enqueuer-land/enqueuer.git\n$ cd enqueuer\n
\n

Get its dependencies installed:

\n
$ npm install\n
\n

Build it:

\n
$ npm run build\n
\n

Go for it. Make the changes you want.\nAfter everything is done:

\n
$ npm run all\n
\n

Commit it:

\n
$ npm run commit\n
\n

Push it:

\n
$ git push\n
\n

feedback

\n

We'd love to get your feedback!\nIf you have any comments, suggestions, etc. you can reach us here.

\n

\"NPM\"

\n
\n
\n
\n\n\n\n
\n
\n
\n\n
\n
\n \n\n
\n\n \n
\n
\n \n\n \n \n\n \n
\n
\n \n
\n
\n\n\n\n
\n \n \n You can’t perform that action at this time.\n
\n\n\n \n \n \n \n \n \n \n
\n \n You signed in with another tab or window. Reload to refresh your session.\n You signed out in another tab or window. Reload to refresh your session.\n
\n \n\n
\n
\n
\n
\n\n
\n\n \n\n\n", "headers": { "server": "GitHub.com", - "date": "Tue, 28 May 2019 18:37:03 GMT", + "date": "Fri, 31 May 2019 23:53:30 GMT", "content-type": "text/html; charset=utf-8", "transfer-encoding": "chunked", "connection": "close", "status": "200 OK", "vary": "X-PJAX", - "etag": "W/\"056e3096be718e2ddfdea87ce3fe62d0\"", + "etag": "W/\"e1ed11adb44e876a80f65321af9f9411\"", "cache-control": "max-age=0, private, must-revalidate", "set-cookie": [ - "has_recent_activity=1; path=/; expires=Tue, 28 May 2019 19:37:02 -0000", - "_octo=GH1.1.1531019903.1559068623; domain=.github.com; path=/; expires=Fri, 28 May 2021 18:37:03 -0000", - "logged_in=no; domain=.github.com; path=/; expires=Sat, 28 May 2039 18:37:03 -0000; secure; HttpOnly", - "_gh_sess=MWJoakJkQjdWU3F5aERjcE5KY2NVU1pGbmlhalI3QUlmYXBIekRrdFU0OEZGdktlSkZyZEdkQzc4Z1FjdVduSS9hMElpRUIvRmhmRXNNQ2hCbTBVZk82bjk4cFgvNVE0OSt1enhsM0hjTGRlMCs1V3VOY2lMeFczeHFZN1Vkd0JYeXBYN1NZMmFSVzBselErMDdhMUhVRy9HZE9XV3BBRWk0MWo3QWUvU1ZlZEk1cllsa2FTaEVaZm5aVjAyeDUyQUYvSEVBeVZ0Z3JaQk5ZN01TQlRRdlVXbXJSN0U3S21LcElIcmVpSkJCb2lLSWdpYVlLV3FTRmpEdUk1YW9lR3BTOXVXQXhUWEdLMU4rY2t3ejRhdVQvcHFuNlpOWTBpU2ZsMzVjbXJLWWM9LS1pMFVVdGJldElvSGdUZFZpNisyaFdBPT0%3D--e94783435cec536536961ef3b888a51bbfe8421e; path=/; secure; HttpOnly" + "has_recent_activity=1; path=/; expires=Sat, 01 Jun 2019 00:53:30 -0000", + "_octo=GH1.1.2126822140.1559346810; domain=.github.com; path=/; expires=Mon, 31 May 2021 23:53:30 -0000", + "logged_in=no; domain=.github.com; path=/; expires=Tue, 31 May 2039 23:53:30 -0000; secure; HttpOnly", + "_gh_sess=akhxUStvS292KzdFZnlPRWJyWlFiWE04dkdTMlZJNWV0UVFtSjdVU2Vxc05vZEhTbFBMek1KbG8rYnZOSVNad1R3cm83VUw2bXlNMEFreXJTODFlMGVsWGs3amExUVU5T2IwYkNuZWo5eUxEL1lkZ0V0YW9sTHl5MTBVZFNJZGpSMjR5RnV2NmVxS3lmNW1IbnIrcDREVDMvUjBYODIxMkxiZXJFQlNsMVhOZGhEYjRIU3RMN2hlbVFvV0lWSFl2TGc4K1VQZkpoMHdJRUwxMHpGdkpUdHNiNlJoODhZRGxJWFhXWS9NRnA5RzJyUVBUUXBwWDVqcjk5VDBLRGNNejlreVFHNWR1LzgvREROK3ZteXpXNnIyMlpwMVJkWmxJSzBJSFBuRjFCRXM9LS1ZanFzbEpCYm5KN3pLd3VMV1U0bWhBPT0%3D--a40f04bb9a458b3e243fe27debdbb970751c8264; path=/; secure; HttpOnly" ], - "x-request-id": "5386eb20-b037-4d45-b4c7-08438c986160", + "x-request-id": "275e8ecd-95a8-4821-9b52-fdee473d768e", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "x-frame-options": "deny", "x-content-type-options": "nosniff", "x-xss-protection": "1; mode=block", "expect-ct": "max-age=2592000, report-uri=\"https://api.github.com/_private/browser/errors\"", "content-security-policy": "default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com www.githubstatus.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com", - "x-github-request-id": "9259:16D2:34545:580E5:5CED7FCE" + "x-github-request-id": "0ADD:24AB:CD1AC9:147E0A1:5CF1BE79" }, "request": { "uri": { @@ -2659,9 +2659,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.027Z", - "endTime": "2019-05-28T18:37:00.704Z", - "totalTime": 1677, + "startTime": "2019-05-31T23:53:25.156Z", + "endTime": "2019-05-31T23:53:26.762Z", + "totalTime": 1606, "timeout": 5000 }, "requisitions": [], @@ -2671,14 +2671,14 @@ "valid": true, "tests": [], "name": "examples/recursion.yml", - "id": "1536580953_00da84a874_387945", + "id": "2053250092_00da84a874_371173", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.028Z", - "endTime": "2019-05-28T18:36:59.124Z", - "totalTime": 96, + "startTime": "2019-05-31T23:53:25.157Z", + "endTime": "2019-05-31T23:53:25.247Z", + "totalTime": 90, "timeout": 5000 }, "requisitions": [ @@ -2686,14 +2686,14 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580954_75977bc4c1_22919", + "id": "2053250092_75977bc4c1_743490", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.047Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 45, + "startTime": "2019-05-31T23:53:25.174Z", + "endTime": "2019-05-31T23:53:25.216Z", + "totalTime": 42, "timeout": 5000 }, "requisitions": [], @@ -2703,13 +2703,13 @@ "valid": true, "tests": [], "name": "Requisition #1 [0]", - "id": "1536580954_e87d17a22e_429633", + "id": "2053250092_e87d17a22e_483365", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.099Z", - "endTime": "2019-05-28T18:36:59.116Z", + "startTime": "2019-05-31T23:53:25.222Z", + "endTime": "2019-05-31T23:53:25.239Z", "totalTime": 17, "timeout": 5000 }, @@ -2718,13 +2718,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.101Z", - "endTime": "2019-05-28T18:36:59.109Z", + "startTime": "2019-05-31T23:53:25.224Z", + "endTime": "2019-05-31T23:53:25.232Z", "totalTime": 8, "timeout": 5000 }, @@ -2733,14 +2733,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.101Z", - "endTime": "2019-05-28T18:36:59.102Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.225Z", + "endTime": "2019-05-31T23:53:25.225Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [], @@ -2750,14 +2750,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.105Z", - "endTime": "2019-05-28T18:36:59.106Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.228Z", + "endTime": "2019-05-31T23:53:25.230Z", + "totalTime": 2, "timeout": 5000 }, "requisitions": [], @@ -2767,13 +2767,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.107Z", - "endTime": "2019-05-28T18:36:59.108Z", + "startTime": "2019-05-31T23:53:25.231Z", + "endTime": "2019-05-31T23:53:25.232Z", "totalTime": 1, "timeout": 5000 }, @@ -2787,14 +2787,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.109Z", - "endTime": "2019-05-28T18:36:59.114Z", - "totalTime": 5, + "startTime": "2019-05-31T23:53:25.233Z", + "endTime": "2019-05-31T23:53:25.236Z", + "totalTime": 3, "timeout": 5000 }, "requisitions": [ @@ -2802,14 +2802,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.110Z", - "endTime": "2019-05-28T18:36:59.110Z", - "totalTime": 0, + "startTime": "2019-05-31T23:53:25.233Z", + "endTime": "2019-05-31T23:53:25.234Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [], @@ -2819,14 +2819,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.111Z", - "endTime": "2019-05-28T18:36:59.111Z", - "totalTime": 0, + "startTime": "2019-05-31T23:53:25.234Z", + "endTime": "2019-05-31T23:53:25.235Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [], @@ -2836,14 +2836,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.111Z", - "endTime": "2019-05-28T18:36:59.113Z", - "totalTime": 2, + "startTime": "2019-05-31T23:53:25.235Z", + "endTime": "2019-05-31T23:53:25.236Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [], @@ -2856,14 +2856,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.114Z", - "endTime": "2019-05-28T18:36:59.116Z", - "totalTime": 2, + "startTime": "2019-05-31T23:53:25.238Z", + "endTime": "2019-05-31T23:53:25.239Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [ @@ -2871,14 +2871,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.114Z", - "endTime": "2019-05-28T18:36:59.115Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.238Z", + "endTime": "2019-05-31T23:53:25.238Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [], @@ -2888,13 +2888,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.115Z", - "endTime": "2019-05-28T18:36:59.115Z", + "startTime": "2019-05-31T23:53:25.239Z", + "endTime": "2019-05-31T23:53:25.239Z", "totalTime": 0, "timeout": 5000 }, @@ -2905,13 +2905,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.116Z", - "endTime": "2019-05-28T18:36:59.116Z", + "startTime": "2019-05-31T23:53:25.239Z", + "endTime": "2019-05-31T23:53:25.239Z", "totalTime": 0, "timeout": 5000 }, @@ -2928,13 +2928,13 @@ "valid": true, "tests": [], "name": "Requisition #1 [1]", - "id": "1536580954_e87d17a22e_429633", + "id": "2053250092_e87d17a22e_483365", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.116Z", - "endTime": "2019-05-28T18:36:59.120Z", + "startTime": "2019-05-31T23:53:25.239Z", + "endTime": "2019-05-31T23:53:25.243Z", "totalTime": 4, "timeout": 5000 }, @@ -2943,13 +2943,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.117Z", - "endTime": "2019-05-28T18:36:59.117Z", + "startTime": "2019-05-31T23:53:25.240Z", + "endTime": "2019-05-31T23:53:25.240Z", "totalTime": 0, "timeout": 5000 }, @@ -2958,13 +2958,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.117Z", - "endTime": "2019-05-28T18:36:59.117Z", + "startTime": "2019-05-31T23:53:25.240Z", + "endTime": "2019-05-31T23:53:25.240Z", "totalTime": 0, "timeout": 5000 }, @@ -2975,13 +2975,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.117Z", - "endTime": "2019-05-28T18:36:59.117Z", + "startTime": "2019-05-31T23:53:25.240Z", + "endTime": "2019-05-31T23:53:25.240Z", "totalTime": 0, "timeout": 5000 }, @@ -2992,13 +2992,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.117Z", - "endTime": "2019-05-28T18:36:59.117Z", + "startTime": "2019-05-31T23:53:25.240Z", + "endTime": "2019-05-31T23:53:25.240Z", "totalTime": 0, "timeout": 5000 }, @@ -3012,14 +3012,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.117Z", - "endTime": "2019-05-28T18:36:59.118Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.241Z", + "endTime": "2019-05-31T23:53:25.241Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [ @@ -3027,13 +3027,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.118Z", - "endTime": "2019-05-28T18:36:59.118Z", + "startTime": "2019-05-31T23:53:25.241Z", + "endTime": "2019-05-31T23:53:25.241Z", "totalTime": 0, "timeout": 5000 }, @@ -3044,13 +3044,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.118Z", - "endTime": "2019-05-28T18:36:59.118Z", + "startTime": "2019-05-31T23:53:25.241Z", + "endTime": "2019-05-31T23:53:25.241Z", "totalTime": 0, "timeout": 5000 }, @@ -3061,13 +3061,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.118Z", - "endTime": "2019-05-28T18:36:59.118Z", + "startTime": "2019-05-31T23:53:25.241Z", + "endTime": "2019-05-31T23:53:25.241Z", "totalTime": 0, "timeout": 5000 }, @@ -3081,14 +3081,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.119Z", - "endTime": "2019-05-28T18:36:59.120Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.242Z", + "endTime": "2019-05-31T23:53:25.242Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [ @@ -3096,13 +3096,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.119Z", - "endTime": "2019-05-28T18:36:59.119Z", + "startTime": "2019-05-31T23:53:25.242Z", + "endTime": "2019-05-31T23:53:25.242Z", "totalTime": 0, "timeout": 5000 }, @@ -3113,13 +3113,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.119Z", - "endTime": "2019-05-28T18:36:59.119Z", + "startTime": "2019-05-31T23:53:25.242Z", + "endTime": "2019-05-31T23:53:25.242Z", "totalTime": 0, "timeout": 5000 }, @@ -3130,13 +3130,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.119Z", - "endTime": "2019-05-28T18:36:59.119Z", + "startTime": "2019-05-31T23:53:25.242Z", + "endTime": "2019-05-31T23:53:25.242Z", "totalTime": 0, "timeout": 5000 }, @@ -3153,13 +3153,13 @@ "valid": true, "tests": [], "name": "Requisition #1 [2]", - "id": "1536580954_e87d17a22e_429633", + "id": "2053250092_e87d17a22e_483365", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.120Z", - "endTime": "2019-05-28T18:36:59.123Z", + "startTime": "2019-05-31T23:53:25.243Z", + "endTime": "2019-05-31T23:53:25.246Z", "totalTime": 3, "timeout": 5000 }, @@ -3168,13 +3168,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.120Z", - "endTime": "2019-05-28T18:36:59.121Z", + "startTime": "2019-05-31T23:53:25.243Z", + "endTime": "2019-05-31T23:53:25.244Z", "totalTime": 1, "timeout": 5000 }, @@ -3183,13 +3183,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.120Z", - "endTime": "2019-05-28T18:36:59.120Z", + "startTime": "2019-05-31T23:53:25.243Z", + "endTime": "2019-05-31T23:53:25.243Z", "totalTime": 0, "timeout": 5000 }, @@ -3200,13 +3200,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.121Z", - "endTime": "2019-05-28T18:36:59.121Z", + "startTime": "2019-05-31T23:53:25.243Z", + "endTime": "2019-05-31T23:53:25.243Z", "totalTime": 0, "timeout": 5000 }, @@ -3217,13 +3217,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.121Z", - "endTime": "2019-05-28T18:36:59.121Z", + "startTime": "2019-05-31T23:53:25.244Z", + "endTime": "2019-05-31T23:53:25.244Z", "totalTime": 0, "timeout": 5000 }, @@ -3237,13 +3237,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.121Z", - "endTime": "2019-05-28T18:36:59.122Z", + "startTime": "2019-05-31T23:53:25.244Z", + "endTime": "2019-05-31T23:53:25.245Z", "totalTime": 1, "timeout": 5000 }, @@ -3252,13 +3252,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.121Z", - "endTime": "2019-05-28T18:36:59.121Z", + "startTime": "2019-05-31T23:53:25.244Z", + "endTime": "2019-05-31T23:53:25.244Z", "totalTime": 0, "timeout": 5000 }, @@ -3269,13 +3269,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.122Z", - "endTime": "2019-05-28T18:36:59.122Z", + "startTime": "2019-05-31T23:53:25.244Z", + "endTime": "2019-05-31T23:53:25.244Z", "totalTime": 0, "timeout": 5000 }, @@ -3286,13 +3286,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.122Z", - "endTime": "2019-05-28T18:36:59.122Z", + "startTime": "2019-05-31T23:53:25.245Z", + "endTime": "2019-05-31T23:53:25.245Z", "totalTime": 0, "timeout": 5000 }, @@ -3306,13 +3306,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_55233c1965_639802", + "id": "2053250092_55233c1965_101914", "level": 3, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.122Z", - "endTime": "2019-05-28T18:36:59.123Z", + "startTime": "2019-05-31T23:53:25.245Z", + "endTime": "2019-05-31T23:53:25.246Z", "totalTime": 1, "timeout": 5000 }, @@ -3321,13 +3321,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.122Z", - "endTime": "2019-05-28T18:36:59.122Z", + "startTime": "2019-05-31T23:53:25.245Z", + "endTime": "2019-05-31T23:53:25.245Z", "totalTime": 0, "timeout": 5000 }, @@ -3338,13 +3338,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.123Z", - "endTime": "2019-05-28T18:36:59.123Z", + "startTime": "2019-05-31T23:53:25.245Z", + "endTime": "2019-05-31T23:53:25.245Z", "totalTime": 0, "timeout": 5000 }, @@ -3355,13 +3355,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_5e02f9345e_95904", + "id": "2053250092_5e02f9345e_466811", "level": 4, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.123Z", - "endTime": "2019-05-28T18:36:59.123Z", + "startTime": "2019-05-31T23:53:25.246Z", + "endTime": "2019-05-31T23:53:25.246Z", "totalTime": 0, "timeout": 5000 }, @@ -3384,13 +3384,13 @@ } ], "name": "Requisition #2", - "id": "1536580954_aef615856f_485912", + "id": "2053250092_aef615856f_136339", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.124Z", - "endTime": "2019-05-28T18:36:59.124Z", + "startTime": "2019-05-31T23:53:25.247Z", + "endTime": "2019-05-31T23:53:25.247Z", "totalTime": 0, "timeout": 5000 }, @@ -3404,14 +3404,14 @@ "valid": true, "tests": [], "name": "examples/requisition-delay-iterations.yml", - "id": "1536580954_4c0231a3e7_830880", + "id": "2053250092_4c0231a3e7_574407", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.029Z", - "endTime": "2019-05-28T18:37:02.118Z", - "totalTime": 3089, + "startTime": "2019-05-31T23:53:25.157Z", + "endTime": "2019-05-31T23:53:28.242Z", + "totalTime": 3085, "timeout": 5000 }, "requisitions": [ @@ -3419,14 +3419,14 @@ "valid": true, "tests": [], "name": "iterations [0]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.048Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 44, + "startTime": "2019-05-31T23:53:25.174Z", + "endTime": "2019-05-31T23:53:25.216Z", + "totalTime": 42, "timeout": 5000 }, "requisitions": [], @@ -3436,13 +3436,13 @@ "valid": true, "tests": [], "name": "iterations [1]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.096Z", - "endTime": "2019-05-28T18:36:59.101Z", + "startTime": "2019-05-31T23:53:25.220Z", + "endTime": "2019-05-31T23:53:25.225Z", "totalTime": 5, "timeout": 5000 }, @@ -3453,13 +3453,13 @@ "valid": true, "tests": [], "name": "iterations [2]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.102Z", - "endTime": "2019-05-28T18:36:59.105Z", + "startTime": "2019-05-31T23:53:25.226Z", + "endTime": "2019-05-31T23:53:25.229Z", "totalTime": 3, "timeout": 5000 }, @@ -3470,14 +3470,14 @@ "valid": true, "tests": [], "name": "iterations [3]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.106Z", - "endTime": "2019-05-28T18:36:59.108Z", - "totalTime": 2, + "startTime": "2019-05-31T23:53:25.230Z", + "endTime": "2019-05-31T23:53:25.231Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [], @@ -3487,14 +3487,14 @@ "valid": true, "tests": [], "name": "iterations [4]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.108Z", - "endTime": "2019-05-28T18:36:59.109Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.232Z", + "endTime": "2019-05-31T23:53:25.232Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [], @@ -3504,14 +3504,14 @@ "valid": true, "tests": [], "name": "iterations [5]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.109Z", - "endTime": "2019-05-28T18:36:59.110Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.233Z", + "endTime": "2019-05-31T23:53:25.233Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [], @@ -3521,14 +3521,14 @@ "valid": true, "tests": [], "name": "iterations [6]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.110Z", - "endTime": "2019-05-28T18:36:59.111Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.234Z", + "endTime": "2019-05-31T23:53:25.234Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [], @@ -3538,14 +3538,14 @@ "valid": true, "tests": [], "name": "iterations [7]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.111Z", - "endTime": "2019-05-28T18:36:59.113Z", - "totalTime": 2, + "startTime": "2019-05-31T23:53:25.235Z", + "endTime": "2019-05-31T23:53:25.235Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [], @@ -3555,14 +3555,14 @@ "valid": true, "tests": [], "name": "iterations [8]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.113Z", - "endTime": "2019-05-28T18:36:59.113Z", - "totalTime": 0, + "startTime": "2019-05-31T23:53:25.235Z", + "endTime": "2019-05-31T23:53:25.236Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [], @@ -3572,14 +3572,14 @@ "valid": true, "tests": [], "name": "iterations [9]", - "id": "1536580954_b4f515b70d_782407", + "id": "2053250092_b4f515b70d_755538", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.114Z", - "endTime": "2019-05-28T18:36:59.114Z", - "totalTime": 0, + "startTime": "2019-05-31T23:53:25.236Z", + "endTime": "2019-05-31T23:53:25.238Z", + "totalTime": 2, "timeout": 5000 }, "requisitions": [], @@ -3601,18 +3601,18 @@ { "name": "Assertion #2", "valid": true, - "description": "Expected 'new Date().getTime() - requisition.startTime.getTime()' to be greater than or equal to '3000'. Received '3003'" + "description": "Expected 'new Date().getTime() - requisition.startTime.getTime()' to be greater than or equal to '3000'. Received '3004'" } ], "name": "delayed", - "id": "1536580954_2181a04f2f_65231", + "id": "2053250092_2181a04f2f_234793", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.115Z", - "endTime": "2019-05-28T18:37:02.118Z", - "totalTime": 3003, + "startTime": "2019-05-31T23:53:25.238Z", + "endTime": "2019-05-31T23:53:28.242Z", + "totalTime": 3004, "timeout": 5000 }, "requisitions": [], @@ -3625,14 +3625,14 @@ "valid": true, "tests": [], "name": "examples/skipped.yml", - "id": "1536580954_bb333e1dde_69430", + "id": "2053250093_bb333e1dde_365567", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.030Z", - "endTime": "2019-05-28T18:36:59.115Z", - "totalTime": 85, + "startTime": "2019-05-31T23:53:25.159Z", + "endTime": "2019-05-31T23:53:25.239Z", + "totalTime": 80, "timeout": 5000 }, "requisitions": [ @@ -3640,14 +3640,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [0]", - "id": "1536580954_fc4b0751bf_6532", + "id": "2053250093_fc4b0751bf_86111", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.048Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 44, + "startTime": "2019-05-31T23:53:25.175Z", + "endTime": "2019-05-31T23:53:25.216Z", + "totalTime": 41, "timeout": 5000 }, "requisitions": [], @@ -3657,13 +3657,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [1]", - "id": "1536580954_fc4b0751bf_6532", + "id": "2053250093_fc4b0751bf_86111", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.097Z", - "endTime": "2019-05-28T18:36:59.101Z", + "startTime": "2019-05-31T23:53:25.221Z", + "endTime": "2019-05-31T23:53:25.225Z", "totalTime": 4, "timeout": 5000 }, @@ -3674,13 +3674,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [2]", - "id": "1536580954_fc4b0751bf_6532", + "id": "2053250093_fc4b0751bf_86111", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.102Z", - "endTime": "2019-05-28T18:36:59.105Z", + "startTime": "2019-05-31T23:53:25.226Z", + "endTime": "2019-05-31T23:53:25.229Z", "totalTime": 3, "timeout": 5000 }, @@ -3691,13 +3691,13 @@ "valid": true, "tests": [], "name": "Requisition #0 [3]", - "id": "1536580954_fc4b0751bf_6532", + "id": "2053250093_fc4b0751bf_86111", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.107Z", - "endTime": "2019-05-28T18:36:59.108Z", + "startTime": "2019-05-31T23:53:25.230Z", + "endTime": "2019-05-31T23:53:25.231Z", "totalTime": 1, "timeout": 5000 }, @@ -3708,14 +3708,14 @@ "valid": true, "tests": [], "name": "Requisition #0 [4]", - "id": "1536580954_fc4b0751bf_6532", + "id": "2053250093_fc4b0751bf_86111", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.108Z", - "endTime": "2019-05-28T18:36:59.109Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.232Z", + "endTime": "2019-05-31T23:53:25.232Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [], @@ -3731,14 +3731,14 @@ } ], "name": "Requisition #1", - "id": "1536580954_0813922659_695668", + "id": "2053250093_0813922659_133286", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.109Z", - "endTime": "2019-05-28T18:36:59.110Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.233Z", + "endTime": "2019-05-31T23:53:25.233Z", + "totalTime": 0, "timeout": 5000 }, "requisitions": [], @@ -3754,13 +3754,13 @@ } ], "name": "Requisition #2", - "id": "1536580954_38e558917b_211594", + "id": "2053250093_38e558917b_698875", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.110Z", - "endTime": "2019-05-28T18:36:59.110Z", + "startTime": "2019-05-31T23:53:25.234Z", + "endTime": "2019-05-31T23:53:25.234Z", "totalTime": 0 }, "requisitions": [] @@ -3775,13 +3775,13 @@ } ], "name": "Requisition #3", - "id": "1536580954_4aa5c78448_672735", + "id": "2053250093_4aa5c78448_178169", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.111Z", - "endTime": "2019-05-28T18:36:59.111Z", + "startTime": "2019-05-31T23:53:25.234Z", + "endTime": "2019-05-31T23:53:25.234Z", "totalTime": 0 }, "requisitions": [] @@ -3796,13 +3796,13 @@ } ], "name": "Requisition #4", - "id": "1536580954_6ac450666c_134417", + "id": "2053250093_6ac450666c_329415", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.111Z", - "endTime": "2019-05-28T18:36:59.111Z", + "startTime": "2019-05-31T23:53:25.234Z", + "endTime": "2019-05-31T23:53:25.234Z", "totalTime": 0 }, "requisitions": [] @@ -3817,14 +3817,14 @@ } ], "name": "Requisition #5", - "id": "1536580954_23f493719b_88366", + "id": "2053250093_23f493719b_507993", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.111Z", - "endTime": "2019-05-28T18:36:59.111Z", - "totalTime": 0, + "startTime": "2019-05-31T23:53:25.234Z", + "endTime": "2019-05-31T23:53:25.235Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [], @@ -3834,14 +3834,14 @@ "valid": true, "tests": [], "name": "Requisition #6", - "id": "1536580954_f9b72d5147_154931", + "id": "2053250093_f9b72d5147_146096", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.113Z", - "endTime": "2019-05-28T18:36:59.113Z", - "totalTime": 0, + "startTime": "2019-05-31T23:53:25.235Z", + "endTime": "2019-05-31T23:53:25.236Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [], @@ -3857,14 +3857,14 @@ } ], "name": "Requisition #7", - "id": "1536580954_b41f5d915d_279321", + "id": "2053250093_b41f5d915d_376696", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.114Z", - "endTime": "2019-05-28T18:36:59.114Z", - "totalTime": 0, + "startTime": "2019-05-31T23:53:25.236Z", + "endTime": "2019-05-31T23:53:25.238Z", + "totalTime": 2, "timeout": 5000 }, "requisitions": [], @@ -3877,14 +3877,14 @@ "valid": true, "tests": [], "name": "examples/ssl.yml", - "id": "1536580954_fbc833de59_645789", + "id": "2053250093_fbc833de59_319629", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.031Z", - "endTime": "2019-05-28T18:37:01.209Z", - "totalTime": 2178, + "startTime": "2019-05-31T23:53:25.161Z", + "endTime": "2019-05-31T23:53:27.334Z", + "totalTime": 2173, "timeout": 5000 }, "requisitions": [ @@ -3892,11 +3892,11 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580954_ec6b6289cc_644044", + "id": "2053250093_ec6b6289cc_910022", "level": 2, "subscriptions": [ { - "id": "1536580954_d5884fd0ec_414893", + "id": "2053250093_d5884fd0ec_80237", "name": "Subscription #0", "type": "ssl", "tests": [ @@ -3912,7 +3912,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "payload": "secureMessagereusingSecureMessage", "stream": { @@ -3925,7 +3925,7 @@ ], "publishers": [ { - "id": "1536580954_e063362e26_986654", + "id": "2053250093_e063362e26_505715", "name": "Publisher #0", "valid": true, "type": "ssl", @@ -3946,21 +3946,21 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:00.204Z", + "publishTime": "2019-05-31T23:53:26.325Z", "messageReceived": { "payload": "hisecureResponse", "stream": { "address": "127.0.0.1", "family": "IPv4", - "port": 62103 + "port": 64608 } } } ], "time": { - "startTime": "2019-05-28T18:36:59.049Z", - "endTime": "2019-05-28T18:37:00.204Z", - "totalTime": 1155, + "startTime": "2019-05-31T23:53:25.176Z", + "endTime": "2019-05-31T23:53:26.325Z", + "totalTime": 1149, "timeout": 5000 }, "requisitions": [], @@ -3970,11 +3970,11 @@ "valid": true, "tests": [], "name": "Requisition #1", - "id": "1536580954_c8e796a6f7_398043", + "id": "2053250093_c8e796a6f7_609546", "level": 2, "subscriptions": [ { - "id": "1536580954_464eaccac3_563012", + "id": "2053250093_464eaccac3_881301", "name": "Subscription #0", "type": "ssl", "tests": [ @@ -3990,7 +3990,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:37:00.205Z", + "connectionTime": "2019-05-31T23:53:26.327Z", "messageReceived": { "payload": "reusingSecureMessage", "stream": { @@ -4003,7 +4003,7 @@ ], "publishers": [ { - "id": "1536580954_26f6887fe6_503845", + "id": "2053250093_26f6887fe6_329717", "name": "Publisher #0", "valid": true, "type": "ssl", @@ -4024,21 +4024,21 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:01.208Z", + "publishTime": "2019-05-31T23:53:27.333Z", "messageReceived": { "payload": "reusingSecureResponse", "stream": { "address": "127.0.0.1", "family": "IPv4", - "port": 62103 + "port": 64608 } } } ], "time": { - "startTime": "2019-05-28T18:37:00.205Z", - "endTime": "2019-05-28T18:37:01.208Z", - "totalTime": 1003, + "startTime": "2019-05-31T23:53:26.326Z", + "endTime": "2019-05-31T23:53:27.334Z", + "totalTime": 1008, "timeout": 5000 }, "requisitions": [], @@ -4051,7 +4051,7 @@ "valid": true, "tests": [], "name": "examples/stdin.yml", - "id": "1536580955_ae6c8a1714_906296", + "id": "2053250093_ae6c8a1714_113788", "level": 1, "subscriptions": [ { @@ -4071,15 +4071,15 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.080Z", + "connectionTime": "2019-05-31T23:53:25.205Z", "messageReceived": "enqueuer standard-input payload" } ], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.032Z", - "endTime": "2019-05-28T18:36:59.153Z", - "totalTime": 121, + "startTime": "2019-05-31T23:53:25.161Z", + "endTime": "2019-05-31T23:53:25.276Z", + "totalTime": 115, "timeout": 5000 }, "requisitions": [], @@ -4089,14 +4089,14 @@ "valid": true, "tests": [], "name": "examples/store.yml", - "id": "1536580955_7b9aa96592_564254", + "id": "2053250093_7b9aa96592_348801", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.033Z", - "endTime": "2019-05-28T18:36:59.108Z", - "totalTime": 75, + "startTime": "2019-05-31T23:53:25.162Z", + "endTime": "2019-05-31T23:53:25.232Z", + "totalTime": 70, "timeout": 5000 }, "requisitions": [ @@ -4104,14 +4104,14 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580955_478dfcaed5_847608", + "id": "2053250093_478dfcaed5_321115", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.049Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 43, + "startTime": "2019-05-31T23:53:25.177Z", + "endTime": "2019-05-31T23:53:25.216Z", + "totalTime": 39, "timeout": 5000 }, "requisitions": [], @@ -4132,14 +4132,14 @@ } ], "name": "Requisition #1", - "id": "1536580955_c96621cca9_245418", + "id": "2053250093_c96621cca9_509940", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.099Z", - "endTime": "2019-05-28T18:36:59.102Z", - "totalTime": 3, + "startTime": "2019-05-31T23:53:25.223Z", + "endTime": "2019-05-31T23:53:25.225Z", + "totalTime": 2, "timeout": 5000 }, "requisitions": [], @@ -4155,14 +4155,14 @@ } ], "name": "Requisition #2", - "id": "1536580955_05a830b0a8_266748", + "id": "2053250093_05a830b0a8_530501", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.105Z", - "endTime": "2019-05-28T18:36:59.106Z", - "totalTime": 1, + "startTime": "2019-05-31T23:53:25.228Z", + "endTime": "2019-05-31T23:53:25.230Z", + "totalTime": 2, "timeout": 5000 }, "requisitions": [], @@ -4175,14 +4175,14 @@ "valid": true, "tests": [], "name": "examples/tcp.yml", - "id": "1536580955_bf35f3e127_202898", + "id": "2053250093_bf35f3e127_245884", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.035Z", - "endTime": "2019-05-28T18:37:02.171Z", - "totalTime": 3136, + "startTime": "2019-05-31T23:53:25.164Z", + "endTime": "2019-05-31T23:53:28.298Z", + "totalTime": 3134, "timeout": 5000 }, "requisitions": [ @@ -4190,11 +4190,11 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580955_595f6dfba1_865448", + "id": "2053250093_595f6dfba1_132896", "level": 2, "subscriptions": [ { - "id": "1536580955_4e5617f719_88411", + "id": "2053250093_4e5617f719_113218", "name": "Subscription #0", "type": "tcp", "tests": [ @@ -4215,7 +4215,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "payload": "Hey Jude", "stream": { @@ -4228,7 +4228,7 @@ ], "publishers": [ { - "id": "1536580955_3b7a9e3645_898745", + "id": "2053250093_3b7a9e3645_503130", "name": "Publisher #0", "valid": true, "type": "tcp", @@ -4249,21 +4249,21 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:00.161Z", + "publishTime": "2019-05-31T23:53:26.287Z", "messageReceived": { "payload": "Do not make it bad", "stream": { "address": "127.0.0.1", "family": "IPv4", - "port": 62104 + "port": 64609 } } } ], "time": { - "startTime": "2019-05-28T18:36:59.050Z", - "endTime": "2019-05-28T18:37:00.161Z", - "totalTime": 1111, + "startTime": "2019-05-31T23:53:25.177Z", + "endTime": "2019-05-31T23:53:26.287Z", + "totalTime": 1110, "timeout": 3000 }, "requisitions": [], @@ -4273,11 +4273,11 @@ "valid": true, "tests": [], "name": "Requisition #1", - "id": "1536580955_3f1b829a68_315148", + "id": "2053250094_3f1b829a68_55561", "level": 2, "subscriptions": [ { - "id": "1536580955_944c1488d1_411220", + "id": "2053250094_944c1488d1_730008", "name": "Subscription #0", "type": "tcp", "tests": [ @@ -4293,7 +4293,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:37:00.163Z", + "connectionTime": "2019-05-31T23:53:26.289Z", "messageReceived": { "payload": "I do not careThe socket is still open", "stream": { @@ -4306,7 +4306,7 @@ ], "publishers": [ { - "id": "1536580955_369e07d49e_291358", + "id": "2053250094_369e07d49e_665577", "name": "Publisher #0", "valid": true, "type": "tcp", @@ -4327,21 +4327,21 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:01.167Z", + "publishTime": "2019-05-31T23:53:27.291Z", "messageReceived": { "payload": "EnqueuerRocks", "stream": { "address": "127.0.0.1", "family": "IPv4", - "port": 62119 + "port": 64624 } } } ], "time": { - "startTime": "2019-05-28T18:37:00.162Z", - "endTime": "2019-05-28T18:37:01.167Z", - "totalTime": 1005, + "startTime": "2019-05-31T23:53:26.288Z", + "endTime": "2019-05-31T23:53:27.291Z", + "totalTime": 1003, "timeout": 3000 }, "requisitions": [], @@ -4351,11 +4351,11 @@ "valid": true, "tests": [], "name": "Requisition #2", - "id": "1536580955_7b3d80f664_335283", + "id": "2053250094_7b3d80f664_834849", "level": 2, "subscriptions": [ { - "id": "1536580955_a5c6b9dc6a_330921", + "id": "2053250094_a5c6b9dc6a_395193", "name": "Subscription #0", "type": "tcp", "tests": [ @@ -4371,7 +4371,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:37:01.169Z", + "connectionTime": "2019-05-31T23:53:27.293Z", "messageReceived": { "payload": "The socket is still open", "stream": { @@ -4384,7 +4384,7 @@ ], "publishers": [ { - "id": "1536580955_c04ec1e8aa_399089", + "id": "2053250094_c04ec1e8aa_146319", "name": "Publisher #0", "valid": true, "type": "tcp", @@ -4405,21 +4405,21 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:02.170Z", + "publishTime": "2019-05-31T23:53:28.297Z", "messageReceived": { "payload": "enqueuer Rocks", "stream": { "address": "127.0.0.1", "family": "IPv4", - "port": 62119 + "port": 64624 } } } ], "time": { - "startTime": "2019-05-28T18:37:01.168Z", - "endTime": "2019-05-28T18:37:02.171Z", - "totalTime": 1003, + "startTime": "2019-05-31T23:53:27.293Z", + "endTime": "2019-05-31T23:53:28.297Z", + "totalTime": 1004, "timeout": 3000 }, "requisitions": [], @@ -4432,14 +4432,14 @@ "valid": true, "tests": [], "name": "examples/udp.yml", - "id": "1536580955_348faa9734_458700", + "id": "2053250094_348faa9734_532887", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.036Z", - "endTime": "2019-05-28T18:36:59.158Z", - "totalTime": 122, + "startTime": "2019-05-31T23:53:25.165Z", + "endTime": "2019-05-31T23:53:25.282Z", + "totalTime": 117, "timeout": 5000 }, "requisitions": [ @@ -4447,11 +4447,11 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580955_5fb69ed363_349918", + "id": "2053250094_5fb69ed363_476756", "level": 2, "subscriptions": [ { - "id": "1536580955_81a962f56b_556733", + "id": "2053250094_81a962f56b_443930", "name": "subscription description", "type": "udp", "tests": [ @@ -4472,7 +4472,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.085Z", + "connectionTime": "2019-05-31T23:53:25.210Z", "messageReceived": { "payload": { "type": "Buffer", @@ -4484,7 +4484,7 @@ "remoteInfo": { "address": "127.0.0.1", "family": "IPv4", - "port": 53842, + "port": 56462, "size": 2 } } @@ -4492,7 +4492,7 @@ ], "publishers": [ { - "id": "1536580955_f1c5db9ba9_563985", + "id": "2053250094_f1c5db9ba9_878158", "name": "publisher description", "valid": true, "type": "udp", @@ -4503,13 +4503,13 @@ "description": "Published successfully" } ], - "publishTime": "2019-05-28T18:36:59.152Z" + "publishTime": "2019-05-31T23:53:25.275Z" } ], "time": { - "startTime": "2019-05-28T18:36:59.051Z", - "endTime": "2019-05-28T18:36:59.158Z", - "totalTime": 107, + "startTime": "2019-05-31T23:53:25.178Z", + "endTime": "2019-05-31T23:53:25.281Z", + "totalTime": 103, "timeout": 5000 }, "requisitions": [], @@ -4522,14 +4522,14 @@ "valid": true, "tests": [], "name": "examples/uds.yml", - "id": "1536580956_7441aa681e_765556", + "id": "2053250094_7441aa681e_766737", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.039Z", - "endTime": "2019-05-28T18:37:02.149Z", - "totalTime": 3110, + "startTime": "2019-05-31T23:53:25.167Z", + "endTime": "2019-05-31T23:53:28.269Z", + "totalTime": 3102, "timeout": 5000 }, "requisitions": [ @@ -4537,11 +4537,11 @@ "valid": true, "tests": [], "name": "Requisition #0", - "id": "1536580956_0368c25555_656075", + "id": "2053250094_0368c25555_745641", "level": 2, "subscriptions": [ { - "id": "1536580956_649bd5228c_226819", + "id": "2053250094_649bd5228c_706026", "name": "Subscription #0", "type": "uds", "tests": [ @@ -4557,7 +4557,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:36:59.127Z", + "connectionTime": "2019-05-31T23:53:25.250Z", "messageReceived": { "payload": "enqueuer", "stream": {}, @@ -4567,7 +4567,7 @@ ], "publishers": [ { - "id": "1536580956_b14ca3892b_823963", + "id": "2053250094_b14ca3892b_393370", "name": "Publisher #0", "valid": true, "type": "uds", @@ -4588,7 +4588,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:00.139Z", + "publishTime": "2019-05-31T23:53:26.260Z", "messageReceived": { "payload": "responsePayload", "stream": {} @@ -4596,9 +4596,9 @@ } ], "time": { - "startTime": "2019-05-28T18:36:59.052Z", - "endTime": "2019-05-28T18:37:00.139Z", - "totalTime": 1087, + "startTime": "2019-05-31T23:53:25.179Z", + "endTime": "2019-05-31T23:53:26.260Z", + "totalTime": 1081, "timeout": 3000 }, "requisitions": [], @@ -4608,11 +4608,11 @@ "valid": true, "tests": [], "name": "Requisition #1", - "id": "1536580956_7c8bece7e6_575484", + "id": "2053250094_7c8bece7e6_509347", "level": 2, "subscriptions": [ { - "id": "1536580956_84a1c6e69b_607975", + "id": "2053250094_84a1c6e69b_885060", "name": "Subscription #0", "type": "uds", "tests": [ @@ -4628,7 +4628,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:37:00.141Z", + "connectionTime": "2019-05-31T23:53:26.263Z", "messageReceived": { "payload": "enqueuerI am still bidirectional", "stream": {}, @@ -4638,7 +4638,7 @@ ], "publishers": [ { - "id": "1536580956_297aae1eb3_281853", + "id": "2053250094_297aae1eb3_561047", "name": "Publisher #0", "valid": true, "type": "uds", @@ -4654,13 +4654,13 @@ "description": "Published successfully" } ], - "publishTime": "2019-05-28T18:37:01.145Z" + "publishTime": "2019-05-31T23:53:27.263Z" } ], "time": { - "startTime": "2019-05-28T18:37:00.141Z", - "endTime": "2019-05-28T18:37:01.145Z", - "totalTime": 1004, + "startTime": "2019-05-31T23:53:26.262Z", + "endTime": "2019-05-31T23:53:27.263Z", + "totalTime": 1001, "timeout": 5000 }, "requisitions": [], @@ -4670,11 +4670,11 @@ "valid": true, "tests": [], "name": "Requisition #2", - "id": "1536580956_3321951a43_998974", + "id": "2053250094_3321951a43_71022", "level": 2, "subscriptions": [ { - "id": "1536580956_d308bbf817_52601", + "id": "2053250094_d308bbf817_877624", "name": "Subscription #0", "type": "uds", "tests": [ @@ -4690,7 +4690,7 @@ } ], "valid": true, - "connectionTime": "2019-05-28T18:37:01.146Z", + "connectionTime": "2019-05-31T23:53:27.265Z", "messageReceived": { "payload": "I am still opened", "stream": {} @@ -4699,7 +4699,7 @@ ], "publishers": [ { - "id": "1536580956_b6920facd0_152336", + "id": "2053250094_b6920facd0_865948", "name": "Publisher #0", "valid": true, "type": "uds", @@ -4720,7 +4720,7 @@ "description": "Response message was received" } ], - "publishTime": "2019-05-28T18:37:02.148Z", + "publishTime": "2019-05-31T23:53:28.268Z", "messageReceived": { "payload": "I am still bidirectional", "stream": {} @@ -4728,9 +4728,9 @@ } ], "time": { - "startTime": "2019-05-28T18:37:01.146Z", - "endTime": "2019-05-28T18:37:02.148Z", - "totalTime": 1002, + "startTime": "2019-05-31T23:53:27.265Z", + "endTime": "2019-05-31T23:53:28.268Z", + "totalTime": 1003, "timeout": 5000 }, "requisitions": [], @@ -4743,14 +4743,14 @@ "valid": true, "tests": [], "name": "examples/variables.yml", - "id": "1536580956_3a6eb18d6d_736094", + "id": "2053250094_3a6eb18d6d_184733", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.040Z", - "endTime": "2019-05-28T18:36:59.106Z", - "totalTime": 66, + "startTime": "2019-05-31T23:53:25.168Z", + "endTime": "2019-05-31T23:53:25.229Z", + "totalTime": 61, "timeout": 5000 }, "requisitions": [ @@ -4769,14 +4769,14 @@ } ], "name": "Requisition #0", - "id": "1536580956_bdf0ac0681_139932", + "id": "2053250094_bdf0ac0681_346506", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.053Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 39, + "startTime": "2019-05-31T23:53:25.180Z", + "endTime": "2019-05-31T23:53:25.216Z", + "totalTime": 36, "timeout": 5000 }, "requisitions": [], @@ -4802,13 +4802,13 @@ } ], "name": "Requisition #1", - "id": "1536580956_5153bc0c75_932752", + "id": "2053250094_5153bc0c75_354849", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.100Z", - "endTime": "2019-05-28T18:36:59.102Z", + "startTime": "2019-05-31T23:53:25.223Z", + "endTime": "2019-05-31T23:53:25.225Z", "totalTime": 2, "timeout": 5000 }, @@ -4833,14 +4833,14 @@ } ], "name": "examples/number.json", - "id": "1536580956_1925b227c5_812941", + "id": "2053250094_1925b227c5_357405", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.041Z", - "endTime": "2019-05-28T18:36:59.090Z", - "totalTime": 49, + "startTime": "2019-05-31T23:53:25.169Z", + "endTime": "2019-05-31T23:53:25.214Z", + "totalTime": 45, "timeout": 5000 }, "requisitions": [], @@ -4850,14 +4850,14 @@ "valid": true, "tests": [], "name": "examples/requisition-navigation.yaml", - "id": "1536580957_e848774ac1_268738", + "id": "2053250094_e848774ac1_73575", "level": 1, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.041Z", - "endTime": "2019-05-28T18:36:59.106Z", - "totalTime": 65, + "startTime": "2019-05-31T23:53:25.169Z", + "endTime": "2019-05-31T23:53:25.229Z", + "totalTime": 60, "timeout": 5000 }, "requisitions": [ @@ -4871,14 +4871,14 @@ } ], "name": "first", - "id": "1536580957_542da8f206_677751", + "id": "2053250094_542da8f206_732829", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.053Z", - "endTime": "2019-05-28T18:36:59.092Z", - "totalTime": 39, + "startTime": "2019-05-31T23:53:25.180Z", + "endTime": "2019-05-31T23:53:25.216Z", + "totalTime": 36, "timeout": 5000 }, "requisitions": [], @@ -4894,14 +4894,14 @@ } ], "name": "second", - "id": "1536580957_d7c80e2b4e_752363", + "id": "2053250094_d7c80e2b4e_557232", "level": 2, "subscriptions": [], "publishers": [], "time": { - "startTime": "2019-05-28T18:36:59.100Z", - "endTime": "2019-05-28T18:36:59.102Z", - "totalTime": 2, + "startTime": "2019-05-31T23:53:25.224Z", + "endTime": "2019-05-31T23:53:25.225Z", + "totalTime": 1, "timeout": 5000 }, "requisitions": [], diff --git a/output/examples.yml b/output/examples.yml index 2e2747b5..5b0b4f0f 100644 --- a/output/examples.yml +++ b/output/examples.yml @@ -1,14 +1,14 @@ valid: true tests: [] name: enqueuer -id: 1536580948_d15b46e99a_287910 +id: 2053250088_d15b46e99a_437563 level: 0 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:58.990Z' - endTime: '2019-05-28T18:37:02.171Z' - totalTime: 3181 + startTime: '2019-05-31T23:53:25.119Z' + endTime: '2019-05-31T23:53:28.298Z' + totalTime: 3179 requisitions: - valid: true @@ -90,14 +90,14 @@ requisitions: valid: true description: 'Expected ''1'' not to be equal to ''0''. Received ''1''' name: examples/assertions.yml - id: 1536580949_2ca609e341_795469 + id: 2053250088_2ca609e341_40524 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:58.994Z' - endTime: '2019-05-28T18:36:59.087Z' - totalTime: 93 + startTime: '2019-05-31T23:53:25.123Z' + endTime: '2019-05-31T23:53:25.211Z' + totalTime: 88 timeout: 5000 requisitions: [] iteration: 0 @@ -105,11 +105,11 @@ requisitions: valid: true tests: [] name: examples/avoid.yml - id: 1536580949_852d538668_520058 + id: 2053250088_852d538668_287370 level: 1 subscriptions: - - id: 1536580949_2e0cc1fd7c_827439 + id: 2053250088_2e0cc1fd7c_668478 name: 'Subscription #0' type: tcp tests: @@ -118,9 +118,9 @@ requisitions: name: 'Subscription avoided' description: 'Avoidable subscription has not received any message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' - - id: 1536580949_8444956d6a_893727 + id: 2053250088_8444956d6a_708030 name: 'Subscription #1' type: HTTP tests: @@ -129,12 +129,12 @@ requisitions: name: 'Subscription avoided' description: 'Avoidable subscription has not received any message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' publishers: [] time: - startTime: '2019-05-28T18:36:58.996Z' - endTime: '2019-05-28T18:37:02.055Z' - totalTime: 3059 + startTime: '2019-05-31T23:53:25.125Z' + endTime: '2019-05-31T23:53:28.181Z' + totalTime: 3056 timeout: 5000 requisitions: [] iteration: 0 @@ -146,14 +146,14 @@ requisitions: valid: true description: 'Expected ''requisition.toEncrypt'' to be equal to ''7aad9a1a6a91e0f18c417cb3aa0e0217b283778e636c580509e494eeec1472e0''. Received ''7aad9a1a6a91e0f18c417cb3aa0e0217b283778e636c580509e494eeec1472e0''' name: examples/crypto-require.yml - id: 1536580949_1d33e31a27_143801 + id: 2053250088_1d33e31a27_259973 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:58.997Z' - endTime: '2019-05-28T18:36:59.087Z' - totalTime: 90 + startTime: '2019-05-31T23:53:25.126Z' + endTime: '2019-05-31T23:53:25.211Z' + totalTime: 85 timeout: 5000 requisitions: [] iteration: 0 @@ -161,11 +161,11 @@ requisitions: valid: true tests: [] name: examples/custom.yml - id: 1536580949_a503614ed6_380220 + id: 2053250089_a503614ed6_476152 level: 1 subscriptions: - - id: 1536580949_32e9fee766_974445 + id: 2053250089_32e9fee766_625006 name: 'subscription description' type: custom tests: @@ -182,7 +182,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.081Z' + connectionTime: '2019-05-31T23:53:25.206Z' messageReceived: payload: type: Buffer @@ -192,11 +192,11 @@ requisitions: remoteInfo: address: 127.0.0.1 family: IPv4 - port: 50171 + port: 62591 size: 2 publishers: - - id: 1536580949_816cec1424_788775 + id: 2053250089_816cec1424_836409 name: 'publisher description' valid: true type: custom @@ -205,11 +205,11 @@ requisitions: name: Published valid: true description: 'Published successfully' - publishTime: '2019-05-28T18:36:59.152Z' + publishTime: '2019-05-31T23:53:25.274Z' time: - startTime: '2019-05-28T18:36:58.998Z' - endTime: '2019-05-28T18:36:59.157Z' - totalTime: 159 + startTime: '2019-05-31T23:53:25.127Z' + endTime: '2019-05-31T23:53:25.280Z' + totalTime: 153 timeout: 5000 requisitions: [] iteration: 0 @@ -217,14 +217,14 @@ requisitions: valid: true tests: [] name: examples/file-placeholder.yml - id: 1536580949_a5f62352f4_838236 + id: 2053250089_a5f62352f4_640720 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.000Z' - endTime: '2019-05-28T18:36:59.106Z' - totalTime: 106 + startTime: '2019-05-31T23:53:25.129Z' + endTime: '2019-05-31T23:53:25.229Z' + totalTime: 100 timeout: 5000 requisitions: - @@ -247,14 +247,14 @@ requisitions: valid: true description: 'Expected ''requisition.javascript(20)'' to be equal to ''40''. Received ''40''' name: 'Requisition #0' - id: 1536580949_374c18eaf8_995631 + id: 2053250089_374c18eaf8_571227 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.043Z' - endTime: '2019-05-28T18:36:59.091Z' - totalTime: 48 + startTime: '2019-05-31T23:53:25.170Z' + endTime: '2019-05-31T23:53:25.215Z' + totalTime: 45 timeout: 5000 requisitions: [] iteration: 0 @@ -266,14 +266,14 @@ requisitions: valid: true description: 'Expecting ''requisition.yml'' to be undefined. Received: undefined' name: 'Requisition #1' - id: 1536580949_8067e3ed86_777493 + id: 2053250089_8067e3ed86_526250 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.097Z' - endTime: '2019-05-28T18:36:59.102Z' - totalTime: 5 + startTime: '2019-05-31T23:53:25.221Z' + endTime: '2019-05-31T23:53:25.225Z' + totalTime: 4 timeout: 5000 requisitions: [] iteration: 0 @@ -282,22 +282,22 @@ requisitions: valid: true tests: [] name: examples/file.yml - id: 1536580950_8959b75199_401846 + id: 2053250089_8959b75199_901963 level: 1 subscriptions: - - id: 1536580950_46b3c9d8c8_143899 + id: 2053250089_46b3c9d8c8_838043 name: 'subscription description' type: file-system-watcher tests: - name: 'Some time has passed' valid: true - description: 'Expected ''now'' to be greater than or equal to ''1559068619002''. Received ''1559068619150''' + description: 'Expected ''now'' to be greater than or equal to ''1559346805130''. Received ''1559346805272''' - name: Filename valid: true - description: 'Expecting ''temp/fileTest1536590088_2a2066112e_49686.file'' (name) to contain ''temp/''' + description: 'Expecting ''temp/fileTest2053250212_e6df0b8e4b_940580.file'' (name) to contain ''temp/''' - name: Content valid: true @@ -319,16 +319,16 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.079Z' + connectionTime: '2019-05-31T23:53:25.205Z' messageReceived: - content: '1559068619002' - name: temp/fileTest1536590088_2a2066112e_49686.file + content: '1559346805130' + name: temp/fileTest2053250212_e6df0b8e4b_940580.file size: 13 - modified: '2019-05-28T18:36:59.088Z' - created: '2019-05-28T18:36:59.088Z' + modified: '2019-05-31T23:53:25.213Z' + created: '2019-05-31T23:53:25.213Z' publishers: - - id: 1536580950_4b5a457015_19215 + id: 2053250089_4b5a457015_743141 name: 'publisher description' valid: true type: file @@ -337,11 +337,11 @@ requisitions: name: Published valid: true description: 'Published successfully' - publishTime: '2019-05-28T18:36:59.091Z' + publishTime: '2019-05-31T23:53:25.215Z' time: - startTime: '2019-05-28T18:36:59.002Z' - endTime: '2019-05-28T18:36:59.151Z' - totalTime: 149 + startTime: '2019-05-31T23:53:25.130Z' + endTime: '2019-05-31T23:53:25.273Z' + totalTime: 143 timeout: 3000 requisitions: [] iteration: 0 @@ -353,11 +353,11 @@ requisitions: valid: true description: 'Expecting ''requisition'' to be defined' name: examples/hooks.yml - id: 1536580950_d0147f400c_104837 + id: 2053250089_d0147f400c_965394 level: 1 subscriptions: - - id: 1536580950_f076f53bb1_288573 + id: 2053250089_f076f53bb1_234071 name: 'Subscription #0' type: tcp tests: @@ -386,7 +386,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: payload: it stream: @@ -395,7 +395,7 @@ requisitions: port: 23080 publishers: - - id: 1536580950_ce73838413_903924 + id: 2053250089_ce73838413_519445 name: 'Publisher #0' valid: true type: tcp @@ -436,17 +436,17 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:00.160Z' + publishTime: '2019-05-31T23:53:26.285Z' messageReceived: payload: 'hook response' stream: address: 127.0.0.1 family: IPv4 - port: 62102 + port: 64607 time: - startTime: '2019-05-28T18:36:59.005Z' - endTime: '2019-05-28T18:37:00.161Z' - totalTime: 1156 + startTime: '2019-05-31T23:53:25.132Z' + endTime: '2019-05-31T23:53:26.286Z' + totalTime: 1154 timeout: 3000 requisitions: [] iteration: 0 @@ -454,11 +454,11 @@ requisitions: valid: true tests: [] name: examples/http-auth-basic.yml - id: 1536580950_94dbdaa68d_90912 + id: 2053250089_94dbdaa68d_500416 level: 1 subscriptions: - - id: 1536580950_f8b31336cb_738189 + id: 2053250089_f8b31336cb_891052 name: 'Subscription #0' type: http tests: @@ -487,7 +487,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: headers: content-type: application/json @@ -500,7 +500,7 @@ requisitions: body: 'basic auth' publishers: - - id: 1536580950_f4551bd7af_563510 + id: 2053250089_f4551bd7af_244813 name: 'Publisher #0' valid: true type: http @@ -517,7 +517,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.198Z' + publishTime: '2019-05-31T23:53:25.320Z' messageReceived: statusCode: 200 body: 'basic auth response' @@ -528,7 +528,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '19' etag: 'W/"13-nGN7LEwCUKXpQoLxNqKZXSglYNc"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -550,9 +550,9 @@ requisitions: authorization: 'Basic dXNlcjpwYXNzd29yZA==' Content-Length: 10 time: - startTime: '2019-05-28T18:36:59.007Z' - endTime: '2019-05-28T18:36:59.198Z' - totalTime: 191 + startTime: '2019-05-31T23:53:25.134Z' + endTime: '2019-05-31T23:53:25.320Z' + totalTime: 186 timeout: 3000 requisitions: [] iteration: 0 @@ -560,11 +560,11 @@ requisitions: valid: true tests: [] name: examples/http-auth-bearer.yml - id: 1536580950_95f54fc773_969984 + id: 2053250089_95f54fc773_145354 level: 1 subscriptions: - - id: 1536580950_8b0a8f4b53_725202 + id: 2053250089_8b0a8f4b53_652827 name: 'Subscription #0' type: http tests: @@ -589,7 +589,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: headers: content-type: application/json @@ -602,7 +602,7 @@ requisitions: body: Rech publishers: - - id: 1536580950_388c1593e3_71460 + id: 2053250089_388c1593e3_37688 name: 'Publisher #0' valid: true type: http @@ -619,7 +619,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.194Z' + publishTime: '2019-05-31T23:53:25.316Z' messageReceived: statusCode: 321 body: responsePayload @@ -630,7 +630,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '15' etag: 'W/"f-V9sBEzo+y6k6sqGXsr1Ql2B0tAk"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -652,9 +652,9 @@ requisitions: authorization: 'Bearer bearerToken' Content-Length: 4 time: - startTime: '2019-05-28T18:36:59.008Z' - endTime: '2019-05-28T18:36:59.194Z' - totalTime: 186 + startTime: '2019-05-31T23:53:25.135Z' + endTime: '2019-05-31T23:53:25.316Z' + totalTime: 181 timeout: 3000 requisitions: [] iteration: 0 @@ -662,11 +662,11 @@ requisitions: valid: true tests: [] name: examples/http-auth-digest.yml - id: 1536580950_d35ae8dd4d_229035 + id: 2053250090_d35ae8dd4d_747398 level: 1 subscriptions: - - id: 1536580950_6edffc9ab2_514006 + id: 2053250090_6edffc9ab2_743828 name: 'Subscription #0' type: http tests: @@ -715,7 +715,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.079Z' + connectionTime: '2019-05-31T23:53:25.205Z' messageReceived: headers: content-type: application/json @@ -728,7 +728,7 @@ requisitions: body: Rech publishers: - - id: 1536580950_b553ccdd3b_442890 + id: 2053250090_b553ccdd3b_494635 name: 'Publisher #0' valid: true type: http @@ -745,7 +745,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.192Z' + publishTime: '2019-05-31T23:53:25.314Z' messageReceived: statusCode: 321 body: responsePayload @@ -756,7 +756,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '15' etag: 'W/"f-V9sBEzo+y6k6sqGXsr1Ql2B0tAk"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -778,9 +778,9 @@ requisitions: authorization: 'Digest username="guest", realm="nqrRealm", nonce="58bac26865505", uri="/digest", algorithm="MD5", response="6309166f64557e9d56ffe6c34a0a6ca4", opaque="opaque"' Content-Length: 4 time: - startTime: '2019-05-28T18:36:59.010Z' - endTime: '2019-05-28T18:36:59.193Z' - totalTime: 183 + startTime: '2019-05-31T23:53:25.137Z' + endTime: '2019-05-31T23:53:25.315Z' + totalTime: 178 timeout: 3000 requisitions: [] iteration: 0 @@ -788,25 +788,25 @@ requisitions: valid: true tests: [] name: examples/http-more-examples.yml - id: 1536580950_7db8a3761c_34391 + id: 2053250090_7db8a3761c_334207 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.014Z' - endTime: '2019-05-28T18:37:01.392Z' - totalTime: 2378 + startTime: '2019-05-31T23:53:25.141Z' + endTime: '2019-05-31T23:53:27.525Z' + totalTime: 2384 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580951_684f707a30_920444 + id: 2053250090_684f707a30_850152 level: 2 subscriptions: - - id: 1536580951_b9fd747935_250162 + id: 2053250090_b9fd747935_532414 name: 'Subscription #0' type: http tests: @@ -831,7 +831,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.085Z' + connectionTime: '2019-05-31T23:53:25.210Z' messageReceived: headers: content-type: application/json @@ -845,7 +845,7 @@ requisitions: query: '2345' body: '{"enqueuer":"virgs"}' - - id: 1536580951_97c8fb993f_564855 + id: 2053250090_97c8fb993f_299157 name: 'same port' type: http tests: @@ -854,7 +854,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.085Z' + connectionTime: '2019-05-31T23:53:25.210Z' messageReceived: headers: content-length: '5' @@ -864,7 +864,7 @@ requisitions: query: {} body: virgs - - id: 1536580951_42d8fc1293_258483 + id: 2053250090_42d8fc1293_582252 name: 'yet another, but avoidable' type: http tests: @@ -873,10 +873,10 @@ requisitions: name: 'Subscription avoided' description: 'Avoidable subscription has not received any message' valid: true - connectionTime: '2019-05-28T18:36:59.085Z' + connectionTime: '2019-05-31T23:53:25.210Z' publishers: - - id: 1536580951_254b0b3fae_320809 + id: 2053250090_254b0b3fae_776465 name: 'Publisher #0' valid: true type: http @@ -901,7 +901,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.195Z' + publishTime: '2019-05-31T23:53:25.317Z' messageReceived: statusCode: 321 body: 'dynamically changed payload' @@ -913,7 +913,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '27' etag: 'W/"1b-e5esTWfu+XftewZ5g2Tclr7ClTo"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -935,7 +935,7 @@ requisitions: nqr: publisher Content-Length: 20 - - id: 1536580951_92ae58473e_432068 + id: 2053250090_92ae58473e_408001 name: 'Publisher #1' valid: true type: http @@ -952,7 +952,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.195Z' + publishTime: '2019-05-31T23:53:25.317Z' messageReceived: statusCode: 444 body: blah @@ -963,7 +963,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '4' etag: 'W/"4-W/H9kn37hnlJai5s8Ay+UMHIcUU"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -983,9 +983,9 @@ requisitions: headers: Content-Length: 5 time: - startTime: '2019-05-28T18:36:59.045Z' - endTime: '2019-05-28T18:36:59.380Z' - totalTime: 335 + startTime: '2019-05-31T23:53:25.172Z' + endTime: '2019-05-31T23:53:25.510Z' + totalTime: 338 timeout: 3000 requisitions: [] iteration: 0 @@ -993,11 +993,11 @@ requisitions: valid: true tests: [] name: 'Requisition #1' - id: 1536580951_4f1f928c4f_679841 + id: 2053250090_4f1f928c4f_563823 level: 2 subscriptions: - - id: 1536580951_4010211a40_362795 + id: 2053250090_4010211a40_687569 name: 'Subscription #0' type: http tests: @@ -1010,7 +1010,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.381Z' + connectionTime: '2019-05-31T23:53:25.512Z' messageReceived: headers: content-type: application/json @@ -1024,7 +1024,7 @@ requisitions: body: '{"duplicated":true}' publishers: - - id: 1536580951_7630ef29c8_762785 + id: 2053250090_7630ef29c8_750141 name: 'publisher description' valid: true type: http @@ -1045,7 +1045,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.385Z' + publishTime: '2019-05-31T23:53:25.516Z' messageReceived: statusCode: 321 body: duplicatedResponsePayload @@ -1056,7 +1056,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '25' etag: 'W/"19-yZRAgggcER0sMyRTVBBpErTPT/A"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -1077,8 +1077,8 @@ requisitions: content-type: application/json Content-Length: 19 time: - startTime: '2019-05-28T18:36:59.381Z' - endTime: '2019-05-28T18:36:59.385Z' + startTime: '2019-05-31T23:53:25.512Z' + endTime: '2019-05-31T23:53:25.516Z' totalTime: 4 timeout: 5000 requisitions: [] @@ -1087,11 +1087,11 @@ requisitions: valid: true tests: [] name: 'requisition 2 (port 23076)' - id: 1536580951_eff03cbee0_366059 + id: 2053250090_eff03cbee0_1244 level: 2 subscriptions: - - id: 1536580951_e5e0d9ff8c_144222 + id: 2053250090_e5e0d9ff8c_126228 name: 'subscription description' type: http tests: @@ -1100,12 +1100,12 @@ requisitions: name: 'Subscription avoided' description: 'Avoidable subscription has not received any message' valid: true - connectionTime: '2019-05-28T18:36:59.387Z' + connectionTime: '2019-05-31T23:53:25.517Z' publishers: [] time: - startTime: '2019-05-28T18:36:59.386Z' - endTime: '2019-05-28T18:37:00.388Z' - totalTime: 1002 + startTime: '2019-05-31T23:53:25.516Z' + endTime: '2019-05-31T23:53:26.521Z' + totalTime: 1005 timeout: 5000 requisitions: [] iteration: 0 @@ -1113,11 +1113,11 @@ requisitions: valid: true tests: [] name: 'check port releasing (23076)' - id: 1536580951_1d85da2e3e_642363 + id: 2053250090_1d85da2e3e_460050 level: 2 subscriptions: - - id: 1536580951_3861169172_312322 + id: 2053250090_3861169172_113353 name: 'same port subscription' type: tcp tests: @@ -1126,12 +1126,12 @@ requisitions: name: 'Subscription avoided' description: 'Avoidable subscription has not received any message' valid: true - connectionTime: '2019-05-28T18:37:00.389Z' + connectionTime: '2019-05-31T23:53:26.522Z' publishers: [] time: - startTime: '2019-05-28T18:37:00.389Z' - endTime: '2019-05-28T18:37:01.391Z' - totalTime: 1002 + startTime: '2019-05-31T23:53:26.522Z' + endTime: '2019-05-31T23:53:27.525Z' + totalTime: 1003 timeout: 5000 requisitions: [] iteration: 0 @@ -1140,11 +1140,11 @@ requisitions: valid: true tests: [] name: examples/http-proxy.yml - id: 1536580951_f81cd0977e_941699 + id: 2053250090_f81cd0977e_921835 level: 1 subscriptions: - - id: 1536580951_ef12dc14a5_217019 + id: 2053250090_ef12dc14a5_27732 name: 'proxy server' type: http-proxy tests: @@ -1181,7 +1181,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: headers: content-type: application/json @@ -1196,7 +1196,7 @@ requisitions: query: proxied body: '{"proxy":"test"}' - - id: 1536580951_f7b397b2a5_307197 + id: 2053250090_f7b397b2a5_421749 name: 'real server' type: http tests: @@ -1233,7 +1233,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: headers: content-type: application/json @@ -1248,7 +1248,7 @@ requisitions: body: '{"proxy":"test"}' publishers: - - id: 1536580951_375842a323_684501 + id: 2053250090_375842a323_92036 name: 'publisher proxy' valid: true type: http @@ -1269,7 +1269,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.208Z' + publishTime: '2019-05-31T23:53:25.329Z' messageReceived: statusCode: 333 body: responsePayload @@ -1280,7 +1280,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '15' etag: 'W/"f-V9sBEzo+y6k6sqGXsr1Ql2B0tAk"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -1302,9 +1302,9 @@ requisitions: authorization: 'Basic dXNlcjpwYXNzd29yZA==' Content-Length: 16 time: - startTime: '2019-05-28T18:36:59.016Z' - endTime: '2019-05-28T18:36:59.208Z' - totalTime: 192 + startTime: '2019-05-31T23:53:25.144Z' + endTime: '2019-05-31T23:53:25.329Z' + totalTime: 185 timeout: 5000 requisitions: [] iteration: 0 @@ -1312,11 +1312,11 @@ requisitions: valid: true tests: [] name: examples/http.yml - id: 1536580951_559809288c_680381 + id: 2053250091_559809288c_69723 level: 1 subscriptions: - - id: 1536580951_36baa23c89_800004 + id: 2053250091_36baa23c89_122582 name: 'Subscription #0' type: http tests: @@ -1325,7 +1325,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: headers: content-length: '5' @@ -1336,7 +1336,7 @@ requisitions: body: virgs publishers: - - id: 1536580951_3f90d159b3_463839 + id: 2053250091_3f90d159b3_559536 name: 'Publisher #0' valid: true type: http @@ -1353,7 +1353,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.197Z' + publishTime: '2019-05-31T23:53:25.319Z' messageReceived: statusCode: 444 body: blah @@ -1364,7 +1364,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '4' etag: 'W/"4-W/H9kn37hnlJai5s8Ay+UMHIcUU"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -1384,9 +1384,9 @@ requisitions: headers: Content-Length: 5 time: - startTime: '2019-05-28T18:36:59.017Z' - endTime: '2019-05-28T18:36:59.197Z' - totalTime: 180 + startTime: '2019-05-31T23:53:25.144Z' + endTime: '2019-05-31T23:53:25.320Z' + totalTime: 176 timeout: 5000 requisitions: [] iteration: 0 @@ -1394,11 +1394,11 @@ requisitions: valid: true tests: [] name: examples/https.yml - id: 1536580951_549deca2dd_861377 + id: 2053250091_549deca2dd_806904 level: 1 subscriptions: - - id: 1536580952_b985f54687_23959 + id: 2053250091_b985f54687_479580 name: 'Subscription #0' type: https tests: @@ -1411,7 +1411,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: headers: content-type: application/json @@ -1423,7 +1423,7 @@ requisitions: body: '{"https":"works!"}' publishers: - - id: 1536580951_e61bd763bd_430679 + id: 2053250091_e61bd763bd_444448 name: 'publisher description' valid: true type: HTTPS @@ -1444,7 +1444,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.207Z' + publishTime: '2019-05-31T23:53:25.328Z' messageReceived: statusCode: 200 body: https @@ -1455,7 +1455,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '5' etag: 'W/"5-w0N9vHwSVdOiHURNhuvy6SNMIr0"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -1476,9 +1476,9 @@ requisitions: content-type: application/json Content-Length: 18 time: - startTime: '2019-05-28T18:36:59.020Z' - endTime: '2019-05-28T18:36:59.207Z' - totalTime: 187 + startTime: '2019-05-31T23:53:25.147Z' + endTime: '2019-05-31T23:53:25.328Z' + totalTime: 181 timeout: 3000 requisitions: [] iteration: 0 @@ -1486,35 +1486,35 @@ requisitions: valid: true tests: [] name: examples/ignore.yml - id: 1536580952_8ea767da7b_269017 + id: 2053250091_8ea767da7b_850932 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.021Z' - endTime: '2019-05-28T18:36:59.107Z' - totalTime: 86 + startTime: '2019-05-31T23:53:25.148Z' + endTime: '2019-05-31T23:53:25.231Z' + totalTime: 83 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580952_cbabde97ea_735653 + id: 2053250091_cbabde97ea_720133 level: 2 subscriptions: [] publishers: - - id: 1536580952_c325787526_260981 + id: 2053250091_c325787526_258403 name: 'Publisher #0' ignored: true valid: true type: file tests: [] time: - startTime: '2019-05-28T18:36:59.045Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 47 + startTime: '2019-05-31T23:53:25.173Z' + endTime: '2019-05-31T23:53:25.217Z' + totalTime: 44 timeout: 5000 requisitions: [] iteration: 0 @@ -1522,11 +1522,11 @@ requisitions: valid: true tests: [] name: 'Requisition #1' - id: 1536580952_24ec47c05e_892394 + id: 2053250091_24ec47c05e_752629 level: 2 subscriptions: - - id: 1536580952_41bbcab029_448778 + id: 2053250091_41bbcab029_487688 name: 'Subscription #0' ignored: true type: file @@ -1534,9 +1534,9 @@ requisitions: valid: true publishers: [] time: - startTime: '2019-05-28T18:36:59.100Z' - endTime: '2019-05-28T18:36:59.103Z' - totalTime: 3 + startTime: '2019-05-31T23:53:25.224Z' + endTime: '2019-05-31T23:53:25.226Z' + totalTime: 2 timeout: 5000 requisitions: [] iteration: 0 @@ -1544,14 +1544,14 @@ requisitions: valid: true tests: [] name: 'Requisition #2' - id: 1536580952_73301c2bc1_500945 + id: 2053250091_73301c2bc1_770284 ignored: true level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.105Z' - endTime: '2019-05-28T18:36:59.105Z' + startTime: '2019-05-31T23:53:25.229Z' + endTime: '2019-05-31T23:53:25.229Z' totalTime: 0 requisitions: [] iteration: 0 @@ -1559,14 +1559,14 @@ requisitions: valid: true tests: [] name: examples/import.yml - id: 1536580952_11d1ffbd36_95380 + id: 2053250091_11d1ffbd36_602283 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.023Z' - endTime: '2019-05-28T18:36:59.197Z' - totalTime: 174 + startTime: '2019-05-31T23:53:25.150Z' + endTime: '2019-05-31T23:53:25.319Z' + totalTime: 169 timeout: 5000 requisitions: - @@ -1577,14 +1577,14 @@ requisitions: valid: true description: 'Expecting ''requisition.imported'' to be true. Received: true' name: 'static importRequisition' - id: 1536580952_0c14282f98_688388 + id: 2053250091_0c14282f98_456359 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.046Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 46 + startTime: '2019-05-31T23:53:25.173Z' + endTime: '2019-05-31T23:53:25.216Z' + totalTime: 43 timeout: 5000 requisitions: [] iteration: 0 @@ -1600,13 +1600,13 @@ requisitions: valid: true description: 'Expected ''requisition.priority'' to be equal to ''higher''. Received ''higher''' name: 'dynamic importRequisition' - id: 1536580952_6857a59a1d_317867 + id: 2053250091_6857a59a1d_347471 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.098Z' - endTime: '2019-05-28T18:36:59.102Z' + startTime: '2019-05-31T23:53:25.221Z' + endTime: '2019-05-31T23:53:25.225Z' totalTime: 4 timeout: 5000 requisitions: [] @@ -1615,11 +1615,11 @@ requisitions: valid: true tests: [] name: 'Requisition #2' - id: 1536580953_28f1b301b5_267511 + id: 2053250091_28f1b301b5_964569 level: 2 subscriptions: - - id: 1536580953_a7a23228b4_862276 + id: 2053250091_a7a23228b4_172707 name: 'Subscription #0' type: http tests: @@ -1636,7 +1636,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.105Z' + connectionTime: '2019-05-31T23:53:25.229Z' messageReceived: headers: content-length: '5' @@ -1647,7 +1647,7 @@ requisitions: body: virgs publishers: - - id: 1536580953_5163661566_351205 + id: 2053250091_5163661566_567568 name: 'Publisher #0' valid: true type: http @@ -1672,7 +1672,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.195Z' + publishTime: '2019-05-31T23:53:25.318Z' messageReceived: statusCode: 444 body: blah @@ -1683,7 +1683,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '4' etag: 'W/"4-W/H9kn37hnlJai5s8Ay+UMHIcUU"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -1703,9 +1703,9 @@ requisitions: headers: Content-Length: 5 time: - startTime: '2019-05-28T18:36:59.104Z' - endTime: '2019-05-28T18:36:59.196Z' - totalTime: 92 + startTime: '2019-05-31T23:53:25.228Z' + endTime: '2019-05-31T23:53:25.319Z' + totalTime: 91 timeout: 5000 requisitions: [] iteration: 0 @@ -1714,28 +1714,28 @@ requisitions: valid: true tests: [] name: examples/no-tests.yml - id: 1536580953_92334e1554_30258 + id: 2053250091_92334e1554_556318 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.023Z' - endTime: '2019-05-28T18:36:59.237Z' - totalTime: 214 + startTime: '2019-05-31T23:53:25.151Z' + endTime: '2019-05-31T23:53:25.358Z' + totalTime: 207 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580953_35cb1b4ae8_1000252 + id: 2053250091_35cb1b4ae8_648681 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.133Z' - endTime: '2019-05-28T18:36:59.237Z' - totalTime: 104 + startTime: '2019-05-31T23:53:25.255Z' + endTime: '2019-05-31T23:53:25.357Z' + totalTime: 102 timeout: 5000 requisitions: [] iteration: 0 @@ -1744,13 +1744,13 @@ requisitions: valid: true tests: [] name: examples/parallel-requisition.yml - id: 1536580953_e05b5acab1_844680 + id: 2053250091_e05b5acab1_801794 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.024Z' - endTime: '2019-05-28T18:36:59.888Z' + startTime: '2019-05-31T23:53:25.152Z' + endTime: '2019-05-31T23:53:26.016Z' totalTime: 864 timeout: 5000 requisitions: @@ -1764,29 +1764,29 @@ requisitions: - name: 'Assertion #1' valid: true - description: 'Expected ''elapsedTime'' not to be less than or equal to ''400''. Received ''331''' + description: 'Expected ''elapsedTime'' not to be less than or equal to ''400''. Received ''334''' name: 'Requisition #0' - id: 1536580953_e2f0694b46_783518 + id: 2053250091_e2f0694b46_114104 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.047Z' - endTime: '2019-05-28T18:36:59.379Z' - totalTime: 332 + startTime: '2019-05-31T23:53:25.174Z' + endTime: '2019-05-31T23:53:25.509Z' + totalTime: 335 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580953_913ffe0794_793873 + id: 2053250092_913ffe0794_179545 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.077Z' - endTime: '2019-05-28T18:36:59.283Z' + startTime: '2019-05-31T23:53:25.203Z' + endTime: '2019-05-31T23:53:25.409Z' totalTime: 206 timeout: 5000 requisitions: [] @@ -1795,14 +1795,14 @@ requisitions: valid: true tests: [] name: 'Requisition #1' - id: 1536580953_fdabeaad92_368784 + id: 2053250092_fdabeaad92_260513 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.077Z' - endTime: '2019-05-28T18:36:59.378Z' - totalTime: 301 + startTime: '2019-05-31T23:53:25.203Z' + endTime: '2019-05-31T23:53:25.508Z' + totalTime: 305 timeout: 5000 requisitions: [] iteration: 0 @@ -1813,34 +1813,34 @@ requisitions: - name: 'started after the other' valid: true - description: 'Expected ''requisition.requisitions[1].startTime.getTime() - requisition.requisitions[0].startTime.getTime()'' to be greater than or equal to ''200''. Received ''205''' + description: 'Expected ''requisition.requisitions[1].startTime.getTime() - requisition.requisitions[0].startTime.getTime()'' to be greater than or equal to ''200''. Received ''201''' - name: 'Assertion #1' valid: true - description: 'Expected ''elapsedTime'' not to be less than or equal to ''600''. Received ''508''' + description: 'Expected ''elapsedTime'' not to be less than or equal to ''600''. Received ''506''' name: 'Requisition #1' - id: 1536580953_30bc9c1ac3_234875 + id: 2053250092_30bc9c1ac3_229438 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.379Z' - endTime: '2019-05-28T18:36:59.888Z' - totalTime: 509 + startTime: '2019-05-31T23:53:25.510Z' + endTime: '2019-05-31T23:53:26.016Z' + totalTime: 506 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580953_913ffe0794_982206 + id: 2053250092_913ffe0794_66197 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.380Z' - endTime: '2019-05-28T18:36:59.584Z' - totalTime: 204 + startTime: '2019-05-31T23:53:25.510Z' + endTime: '2019-05-31T23:53:25.710Z' + totalTime: 200 timeout: 5000 requisitions: [] iteration: 0 @@ -1848,14 +1848,14 @@ requisitions: valid: true tests: [] name: 'Requisition #1' - id: 1536580953_463f29d694_766397 + id: 2053250092_463f29d694_69856 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.585Z' - endTime: '2019-05-28T18:36:59.887Z' - totalTime: 302 + startTime: '2019-05-31T23:53:25.711Z' + endTime: '2019-05-31T23:53:26.015Z' + totalTime: 304 timeout: 5000 requisitions: [] iteration: 0 @@ -1865,12 +1865,12 @@ requisitions: valid: true tests: [] name: examples/parallel-test-publisher.yml - id: 1536580953_98a37b717a_434534 + id: 2053250092_98a37b717a_464040 level: 1 subscriptions: [] publishers: - - id: 1536580953_2955c0f42c_623473 + id: 2053250092_2955c0f42c_435515 name: 'Publisher #0' valid: true type: tcp @@ -1887,17 +1887,17 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.529Z' + publishTime: '2019-05-31T23:53:25.660Z' messageReceived: payload: anyValue stream: address: 127.0.0.1 family: IPv4 - port: 62118 + port: 64623 time: - startTime: '2019-05-28T18:36:59.025Z' - endTime: '2019-05-28T18:36:59.529Z' - totalTime: 504 + startTime: '2019-05-31T23:53:25.152Z' + endTime: '2019-05-31T23:53:25.660Z' + totalTime: 508 timeout: 3000 requisitions: [] iteration: 0 @@ -1905,11 +1905,11 @@ requisitions: valid: true tests: [] name: examples/parallel-test-subscription.yml - id: 1536580953_eb9c2c8618_798077 + id: 2053250092_eb9c2c8618_843632 level: 1 subscriptions: - - id: 1536580953_b419ff22d8_249878 + id: 2053250092_b419ff22d8_191477 name: 'Subscription #0' type: tcp tests: @@ -1922,7 +1922,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: payload: anything stream: @@ -1931,9 +1931,9 @@ requisitions: port: 23081 publishers: [] time: - startTime: '2019-05-28T18:36:59.025Z' - endTime: '2019-05-28T18:36:59.528Z' - totalTime: 503 + startTime: '2019-05-31T23:53:25.153Z' + endTime: '2019-05-31T23:53:25.659Z' + totalTime: 506 timeout: 3000 requisitions: [] iteration: 0 @@ -1941,28 +1941,28 @@ requisitions: valid: true tests: [] name: examples/parent.yml - id: 1536580953_b79240b3fa_573611 + id: 2053250092_b79240b3fa_335137 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.026Z' - endTime: '2019-05-28T18:36:59.202Z' - totalTime: 176 + startTime: '2019-05-31T23:53:25.154Z' + endTime: '2019-05-31T23:53:25.325Z' + totalTime: 171 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580953_c28c57bc75_35822 + id: 2053250092_c28c57bc75_40657 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.047Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 45 + startTime: '2019-05-31T23:53:25.174Z' + endTime: '2019-05-31T23:53:25.216Z' + totalTime: 42 timeout: 5000 requisitions: [] iteration: 0 @@ -1970,11 +1970,11 @@ requisitions: valid: true tests: [] name: 'Requisition #1' - id: 1536580953_52aeba2265_394952 + id: 2053250092_52aeba2265_62748 level: 2 subscriptions: - - id: 1536580953_f3eb57f16a_243452 + id: 2053250092_f3eb57f16a_342854 name: 'Subscription #0' type: tcp tests: @@ -1987,12 +1987,12 @@ requisitions: name: 'Subscription avoided' description: 'Avoidable subscription has not received any message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' publishers: [] time: - startTime: '2019-05-28T18:36:59.098Z' - endTime: '2019-05-28T18:36:59.202Z' - totalTime: 104 + startTime: '2019-05-31T23:53:25.222Z' + endTime: '2019-05-31T23:53:25.325Z' + totalTime: 103 timeout: 5000 requisitions: [] iteration: 0 @@ -2001,11 +2001,11 @@ requisitions: valid: true tests: [] name: 'readme self-test' - id: 1536580953_e04fc9d966_42122 + id: 2053250092_e04fc9d966_499324 level: 1 subscriptions: - - id: 1536580953_a55bf990de_848728 + id: 2053250092_a55bf990de_653187 name: 'mock endpoint' type: http tests: @@ -2023,7 +2023,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: headers: content-length: '19' @@ -2034,7 +2034,7 @@ requisitions: body: 'does enqueuer rock?' publishers: - - id: 1536580953_b6b0515566_588210 + id: 2053250092_b6b0515566_567264 name: 'Publisher #0' valid: true type: http @@ -2055,7 +2055,7 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:36:59.198Z' + publishTime: '2019-05-31T23:53:25.321Z' messageReceived: statusCode: 200 body: 'mock response' @@ -2066,7 +2066,7 @@ requisitions: content-type: 'text/html; charset=utf-8' content-length: '13' etag: 'W/"d-6UKeP76zmvXmSg17xN19aS1KU0w"' - date: 'Tue, 28 May 2019 18:36:59 GMT' + date: 'Fri, 31 May 2019 23:53:25 GMT' connection: close request: uri: @@ -2086,9 +2086,9 @@ requisitions: headers: Content-Length: 19 time: - startTime: '2019-05-28T18:36:59.027Z' - endTime: '2019-05-28T18:36:59.199Z' - totalTime: 172 + startTime: '2019-05-31T23:53:25.155Z' + endTime: '2019-05-31T23:53:25.321Z' + totalTime: 166 timeout: 5000 requisitions: [] iteration: 0 @@ -2096,12 +2096,12 @@ requisitions: valid: true tests: [] name: examples/readme-enqueuer-repo-hit.yml - id: 1536580953_e3ebc84b64_33319 + id: 2053250092_e3ebc84b64_599105 level: 1 subscriptions: [] publishers: - - id: 1536580953_af24198d15_228524 + id: 2053250092_af24198d15_150073 name: 'Publisher #0' valid: true type: http @@ -2118,33 +2118,33 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:00.704Z' + publishTime: '2019-05-31T23:53:26.762Z' messageReceived: statusCode: 200 - body: "\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n \n \n \n \n\n \n \n GitHub - enqueuer-land/enqueuer: Multi protocol testing tool\n \n \n \n \n\n \n \n\n \n \n \n \n \n\n\n \n\n \n\n \n \n \n\n \n\n\n\n\n \n\n\n\n\n\n\n \n\n \n \n\n \n \n\n \n\n \n\n \n \n\n \n\n \n\n \n\n\n \n\n\n \n\n \n\n \n \n\n\n\n\n\n\n\n \n\n \n\n \n \n\n
\n Skip to content\n
\n\n \n \n \n\n\n
\n
\n
\n \n \n \n
\n\n
\n
\n \n
\n\n \n\n \n
\n
\n
\n\n
\n\n
\n\n\n
\n\n
\n\n\n\n
\n
\n
\n \n \n\n\n\n \n\n\n\n\n
\n
\n\n \n\n

\n \n enqueuer-land/enqueuer\n \n\n

\n\n
\n \n\n\n\n
\n
\n
\n\n \n \n
\n
\n
\n
\n \n

Join GitHub today

\n

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

\n Sign up\n
\n
\n
\n\n\n\n
\n
\n \n Multi protocol testing tool\n \n https://enqueuer.com\n
\n
\n
\n\n \n\n\n\n \n\n \n\n\n\n\n\n\n
\n \n
\n \n Branch:\n master\n \n\n \n \n \n \n \n
\n\n\n \n\n
\n \n
\n\n
\n\n Find File\n
\n\n\n \n\n
\n \n Clone or download\n \n
\n
\n\n
\n
\n\n

\n Clone with HTTPS\n \n \n \n

\n

\n Use Git or checkout with SVN using the web URL.\n

\n\n
\n \n
\n \n
\n
\n\n
\n\n
\n \nDownload ZIP\n\n
\n
\n\n \n\n
\n

Launching GitHub Desktop...

\n

If nothing happens, download GitHub Desktop and try again.

\n

\n
\n\n
\n

Launching GitHub Desktop...

\n

If nothing happens, download GitHub Desktop and try again.

\n

\n
\n\n
\n

Launching Xcode...

\n

If nothing happens, download Xcode and try again.

\n

\n
\n\n
\n

Launching Visual Studio...

\n

If nothing happens, download the GitHub extension for Visual Studio and try again.

\n

\n
\n\n
\n
\n
\n\n
\n\n\n \n\n\n
\n \n
\n
\n \n \"@lopidio\"\n
\n
\n\n \n
\n Latest commit\n \n de89626\n \n May 27, 2019\n
\n
\n\n\n\n
\n Permalink\n\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
TypeNameLatest commit messageCommit time
Failed to load latest commit information.
\n \n \"\"\n \n .github/ISSUE_TEMPLATE\n \n \n Update bug_report.md\n \n \n Mar 4, 2019\n
\n \n \"\"\n \n conf\n \n \n Adding number.json to examplesTest\n \n \n Mar 12, 2019\n
\n \n \"\"\n \n docs\n \n \n refactor(TestsAnalyzer): Expose TestsAnalyzer in the public API\n \n \n May 27, 2019\n
\n \n \"\"\n \n examples\n \n \n fix(RequisitionRunner): Print requisition report only when explicitly…\n \n \n May 27, 2019\n
\n \n \"\"\n \n https-cert\n \n \n Adding support to https\n \n \n Aug 9, 2018\n
\n \n \"\"\n \n misc\n \n \n fix(Favicon fix):\n \n \n May 24, 2019\n
\n \n \"\"\n \n output\n \n \n fix(RequisitionRunner): Print requisition report only when explicitly…\n \n \n May 27, 2019\n
\n \n \"\"\n \n src\n \n \n fix(RequisitionRunner): Print requisition report only when explicitly…\n \n \n May 27, 2019\n
\n \n \"\"\n \n temp\n \n \n #19 adding attempting to create a topic at kafka\n \n \n Oct 3, 2018\n
\n \n \"\"\n \n .codeclimate.yml\n \n \n Updating .codeclimate\n \n \n Sep 24, 2018\n
\n \n \"\"\n \n .gitignore\n \n \n docs(README): Improve docs\n \n \n Mar 23, 2019\n
\n \n \"\"\n \n .npmignore\n \n \n Removing SummaryTestOutput dependency with Configuration and start te…\n \n \n Mar 10, 2019\n
\n \n \"\"\n \n .travis.yml\n \n \n feat(dynamic-modules-manager): Look for a ~/.nqr folder to load plugi…\n \n \n Mar 22, 2019\n
\n \n \"\"\n \n CNAME\n \n \n Create CNAME\n \n \n May 10, 2019\n
\n \n \"\"\n \n CONTRIBUTING.md\n \n \n chore(Automatic Release): Add automatic release with semantic-release.\n \n \n Mar 21, 2019\n
\n \n \"\"\n \n License\n \n \n Creating License\n \n \n Mar 10, 2018\n
\n \n \"\"\n \n README.md\n \n \n refactor(DynamicModulesManager): Dynamically import module at any tim…\n \n \n May 21, 2019\n
\n \n \"\"\n \n enqueuer.ts\n \n \n refactor(TestsAnalyzer): Expose TestsAnalyzer in the public API\n \n \n May 27, 2019\n
\n \n \"\"\n \n package-lock.json\n \n \n feat(NotificationEmitter): Create the concept of Notification and Not…\n \n \n May 24, 2019\n
\n \n \"\"\n \n package.json\n \n \n fix(Favicon fix):\n \n \n May 24, 2019\n
\n \n \"\"\n \n tsconfig.json\n \n \n feat(NotificationEmitter): Create the concept of Notification and Not…\n \n \n May 24, 2019\n
\n \n \"\"\n \n tslint.json\n \n \n Subscription refactoring\n \n \n Mar 12, 2019\n
\n\n
\n\n\n\n
\n
\n

\n \n README.md\n

\n
\n
\n

\"npm\"\n\"Build\n\"Greenkeeper\n\"Known\n\"License:

\n

\"enqueuerlogo\"

\n

Want to ensure that a user journey which involves several steps with different protocols is working properly?\nHave you ever struggled with testing multi protocol flows?\nDepending services have become a pain?\nDon't you worry anymore. Enqueuer is what you're looking for.

\n

What it is

\n

It's not just an integration testing tool. It is a platform that provides the following capabilities:

\n
    \n
  • Support for many protocols out of the box
  • \n
  • Chainable message flows
  • \n
  • Easily mock numerous services to alleviate the headaches of functional and integration tests
  • \n
  • Friendly for developers and non developers
  • \n
  • Built in assertion library to verify response data coming from/going to your services
  • \n
  • Easily extensible behavior through third party plugins, including your own custom ones
  • \n
  • CLI is easy to add to your team's existing CI pipelines
  • \n
  • Act and react on your system under test
  • \n
  • Place tests front and center
  • \n
\n

Welcome to the enqueuer world.

\n

install it

\n

First things first, let's get the enqueuer installed on your machine.

\n
$ npm install --global enqueuer\n
\n

Alright, it's time to create a requisition file.\nSomething like:

\n
#enqueuer-repo-hit.yml\npublishers:\n-   type: http\n    url: https://github.com/enqueuer-land/enqueuer\n    onMessageReceived:\n        assertions:\n        -   expect: statusCode\n            toBeEqualTo: 200\n
\n

Pretty simple, hum? Small and concise, how it should be!\nRun it:

\n
$ enqueuer enqueuer-repo-hit.yml\n
\n

What if I want to mock a http server and hit it at the same time, you may ask. Not a big deal for enqueuer lovers:

\n
name: readme self-test\npublishers:\n-   type: http\n    url: http://localhost:9085/readme-example\n    method: POST\n    payload: does enqueuer rock?\n    onMessageReceived:\n        script: doubleStatus = statusCode * 2\n        assertions:\n            -   expect: body\n                toBeEqualTo: `mock response`\n            -   expect: doubleStatus\n                toBeGreaterThan: 300\nsubscriptions:\n-   type: http\n    name: mock endpoint\n    endpoint: /readme-example\n    port: 9085\n    method: POST\n    response:\n        status: 200\n        payload: mock response\n    onMessageReceived:\n        assertions:\n        -   expect: message.body\n            toContain: `enqueuer`\n        -   name: failing test\n            expectToBeTruthy: false\n
\n

Note that the second subscription assertion is a failing one. By running this example, we get this:

\n
$ nqr http-self-test.yml\n   [FAIL]      readme self-test                                                   6 tests passing of 7 (85.71%) ran in 37ms\n   [FAIL] enqueuer                                                                6 tests passing of 7 (85.71%) ran in 42ms\n               enqueuer › readme self-test › mock endpoint › failing test\n                           Expecting 'false' to be true. Received: false\n
\n

I told you it was simple.\nNow, let's say you want to mix different protocols to test a bit more complex flow.\nHow about publishing an amqp message and making sure that, once a service consumes that message an endpoint of your is hit?\nIn order to achieve that, we have to make use of a plugin, given that amqp support is provided by a plugin.\nIn this scenario, we're talking about the amqp plugin.\nOnce we get this plugin installed we are able to create and run files like this:

\n
publishers:\n-   type: amqp\n    payload: 123456\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.readme.routing.key\nsubscriptions:\n-   type: http\n    endpoint: /polyglot-flow\n    port: 8080\n    method: GET\n    response:\n        status: 200\n        payload: polyglot message\n    onMessageReceived:\n        assertions:\n        -   expect: message.body\n            toContain: 123456\n
\n

Now go nuts!\nIt's all yours. Have fun.\nIf you want more examples about http, consider looking at this test.\nCheck this out, you'll find countless examples.\nCertainly one is what you need.

\n

if you need more

\n
$ nqr -h\nUsage: nqr [options] <test-file> [other-test-files...]\n\nTake a look at the full documentation: https://enqueuer.com\n\nOptions:\n  -v, --version                             output the version number\n  -b, --verbosity <level>                   set verbosity (default: \"warn\")\n  -c, --config-file <path>                  set configurationFile\n  -e, --parsers-list [parser]               list available object parsers\n  -f, --formatters-description [formatter]  describe report formatters\n  -o, --stdout-requisition-output           add stdout as requisition output\n  -m, --max-report-level-print <level>      set max report level print\n  -p, --protocols-description [protocol]    describe protocols\n  -u, --loaded-modules-list                 list loaded modules\n  -t, --tests-list                          list available tests assertions\n  -s, --store [store]                       add variables values to this session (default: [])\n  -l, --add-plugin [plugin]                 add plugin (default: [])\n  -a, --add-file <file>                     add file to be tested (default: [])\n  -A, --add-file-and-ignore-others <file>   add file to be tested and ignore others (default: [])\n  -h, --help                                output usage information\n\nExamples:\n  $ nqr --config-file config-file.yml --verbosity error --store key=value\n  $ enqueuer -c config-file.yml test-file.yml --add-file another-test-file.yml -b info\n  $ enqueuer test-file.yml --store someKey=true --store someOtherKey=false\n  $ nqr --protocols-description -s key=value\n  $ nqr -t expect\n  $ nqr -l my-enqueuer-plugin-name -p plugin-protocol\n  $ nqr -p http\n  $ nqr --formatters-description json\n
\n
\n

Components

\n

In order to accomplish more than just hitting enqueuer's repo or doing a quick self http hit, there are a few things that you'll probably need to know.\nDon't worry, it's not too much and, as mentioned earlier, there is a lot of examples here, just in case.\nThere are only three important component concepts: requisitions, publishers and subscriptions.\nThey work along with each other and are responsible for the full behavior of enqueuer.

\n

requisition

\n

Test scenario description. It tells what, when, and how test your applications and services.\nPicture it as if it was a collection of publishers, subscriptions and other requisitions.\nIt helps because this is exactly what it is.\nAs the others components, it has some attributes. All of them are optionals. And it supports multi-level test scenarios out of the box. Yeap, go as recursive as you want.\nEvery test file is a requisition.\nYou don't know some of these attributes values yet? Don't worry, just put a variable there and let enqueuer replace it with the value you set later.\nVariable replacements are available through the entire requisition.

\n
requisition attributes
\n

These are the requisition attributes:

\n

name
\nDescribes what the requisition is suppose to do.\nDefaults to requisition index.

\n
name: requisition action\n
\n

timeout
\nDefaults to 5000.\nSets in milliseconds how long the requisition waits to expire.\nSet to zero or less than zero to run it endlessly.

\n
timeout: 3000\n
\n

delay
\nDefaults to 0. Sets in milliseconds how long the test waits before starting. Check this to get the full idea.

\n
delay: 0\n
\n

iterations
\nDefaults to 1. Sets how many times this test will be executed. Check this and this to get the full idea.

\n
iterations: 3\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this requisitions should be skipped. Check this to see it working.

\n
ignore: true\n
\n

parallel
\nDefaults to false. Immediate children requisitions should be executed in parallel mode.\nTake a look at this to see it working.

\n
parallel: true\n
\n

import
\nAllows requisition to be dynamically defined, be it by loading an external file or creating dynamically by other requisitions. Want to reuse the same requisition multiple times? This is you you need.\nTake a look at this to behold this feature.

\n
import: path/to/another/requisition/file\n
\n

publishers
\nList of publishers

\n
publishers:\n- name: some publisher name\n  type: http\n- type: tcp\n
\n

subscriptions
\nList of subscriptions

\n
subscriptions:\n- name: some subscription name\n  type: udp\n- name: another subscription name\n  type: file\n
\n

requisitions
\nA list of child scenarios. List of requisitions.\nCheck this example, it may help.

\n
requisitions:\n- name: some requisition name\n  iterations: 2\n- name: another requisition name\n  delay: 200\n
\n
events
\n

Available events are described here. A requisition object is available to access and change its attributes.

\n
name: my name\nonInit:\n  script: requisition.delay = 3000;\n  assertions:\n  - expectToBeDefined: requisition.name\nonFinish:  \n  assertions:\n  - expectToBeDefined: requisition.name\n
\n

publisher

\n

A publisher action is triggered by enqueuer itself. It acts whereas a subscription reacts.\nIt publishes something, it writes, it enqueues, hits and endpoint... These kinds of actions.

\n
publisher attributes
\n

Every publisher has its own properties, depending on its protocol and implementation.\nThe built-in http publisher implementation, for instance, demands a url, a method, and a payload, if the method is not a GET.\nOn the other hand, the built-in tcp publisher implementation requires a serverAddress and a port.\nThese are the publisher attributes:

\n

name
\nDefaults to publisher index.\nDescribes what the publisher is supposed to do.

\n
name: publisher action\n
\n

type
\nMandatory. Key tag to identify which publisher will be instantiated

\n
type: http\n
\n

payload
\nSince a publisher usually publishes something, it's very likely you have to set a value here.\nThe message itself that will be send through this protocol. Be it a string, a number, a boolean value or even whole objects.

\n
payload: value\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this publisher should be skipped. Check this to see it working.

\n
ignore: true\n
\n
events
\n

Available events are described here. A publisher object is available to access and change its attributes.\nDepending on the protocol and its implementation, such as http and tcp, there may exist a onMessageReceived event and a special object given message.\nOn the other hand, an asynchronous protocol, like: udp and amqp, usually does not provide it.

\n
onInit:\n  script: publisher.ignore = false\n  assertions:\n  - expectToBeDefined: publisher.type\nonMessageReceived: #Provided in synchronous protocols  \n  assertions:\n  - expectToBeDefined: message\nonFinish:  \n  assertions:\n  - expectToBeDefined: publisher.type\n
\n

subscription

\n

A subscription is an \"under demand\" event. It reacts whereas a publisher acts.\nIt consumes something, it reads, it dequeues, gets hit... These kinds of actions.\nThis means that it is not triggered by enqueuer itself.\nRather than that, enqueuer waits on an external event to be triggered and then it asserts against the message that was passed to the subscription.

\n
subscription attributes
\n

Every subscription has its own properties, depending on its protocol and implementation.\nThe built-in http subscription implementation, for instance, demands an endpoint, a method, and a port, if the method is not a GET.\nOn the other hand, the built-in tcp subscription implementation requires only a port.

\n

These are the subscription attributes:

\n

name
\nDefaults to subscription index.\nDescribes what the subscription is supposed to do.

\n
name: subscription action\n
\n

type
\nMandatory. Key tag to identify which subscription will be instantiated

\n
type: http\n
\n

avoid
\nIdentifies whether or not this subscription should not receive any message. Defaults to false.\nIf set and a message is received a failing test will be generated.\nTake a look at this to see it working.\nOn the other hand, when it's false and no message is received in a given timeout. The subscription is valid.

\n
avoid: false\n
\n

timeout
\nSets in milliseconds how long the subscription waits to expire. Defaults to 3000.\nSet to zero or less than zero to run it endlessly.

\n
timeout: 3000\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this subscription should be skipped. Check this to see it working.

\n
ignore: true    \n
\n
events
\n

Available events are described here. A subscription object is available to access and change its attributes.

\n
onInit:\n  script: subscription.avoid = false;\n  assertions:\n  - expectToBeDefined: subscription.type\nonMessageReceived:  \n  assertions:\n  - expectToBeDefined: message\nonFinish:  \n  assertions:\n  - expectToBeDefined: subscription.type\n
\n
\n

Event

\n

Events are hook methods executed by enqueuer when an action occurs on publishers, subscriptions or requisitions.\nThis is where you'll write your tests. In its assertions field.\nDepending on the event's owner, there may be a variable called publisher, subscription or requisition.\nYou're free to explore them however you want, even doing things like this:

\n
publisher.parent.subscriptions[0].timeout = 1000;\n
\n

hooks

\n

There are three hook events available:

\n

onInit
\nAvailable in requisitions, publishers and subscriptions. It gets executed as soon as the test is initialized.

\n

onFinish
\nAvailable in requisitions, publishers and subscriptions. It gets executed when the test is about to finish.\nAs available parameter, an elapsedTime variable is given, counting every milliseconds since the instantiation of this component.

\n

onMessageReceived
\nAvailable in every subscription and in publishers that provide synchronous properties.\nIt gets executed when the subscription or publisher receives a message.\nA message object is available having all of attributes returned from the received message.\nDepending on the protocol implementation, there'll be additional objects to this hook.\nFor instance, in the built-in http publisher implementation, there's a statusCode, headers and a body among others, and the subscription implementation has body, query, params and headers , among other variables.\nelapsedTime is also available here, counting every milliseconds since the instantiation of this component.

\n

fields

\n

Every hook object has 3 properties:

\n

script
\nJavascript code snippet executed when the event is triggered.\nYeah, I mean it. See it it by yourself.\nBut be careful, with great power comes great responsibility.

\n

store
\nData to be persisted across requisitions.

\n

assertions
\nArray of assertions.\nRun $ nqr -t to see available ones.\nConsider looking at this test example.\nOf course, just like almost everything else in enqueuer world, you can extend this available list using some plugin.\nYou can check them out or even write your own.

\n
onInit:\n  script: variableIdentifier = 'string value'\n\n  assertions:\n  - expect: variableIdentifier\n    toBeEqualTo: `string value`\n\nonMessageReceived:\n  script: |-\n    message += 3;\n    console.log(`Message received plus 3 is: ${message}`);\n\n  store:\n    key: message\n\n  assertions:\n  - name: anyValue #optional\n    expect: message\n    toBeEqualTo: store.key\n  - expect: message + 3\n    toBeGreaterThan: 3\n
\n

event example

\n

Check this test file to see it in practice.

\n
\n

Requisition Flow

\n

Now that you know what are requisitions, publishers, subscriptions and events. How about seeing how they interact with each other in a fancier way?

\n

\"enqueuerInstanceFlow\"

\n
\n

Configuration File

\n

To save yourself some time, a configuration file may be used.\nConfiguration files tell enqueuer which tests will be executed, log-level, and which output test report files should be generated.\nThis file tells how enqueuer should be executed.\nTo run enqueuer with the configuration:

\n
$ nqr -c path/to/configuration/file.yml\n
\n

or

\n
$ nqr --config-file path/to/configuration/file.yml\n
\n

attributes

\n

These are the configuration file attributes:

\n

files
\nRequisition file names or glob. Enqueuer runs every file that matches an element value.

\n
files:\n- 1.yml\n- 2.yml\n- *.json\n
\n

parallel
\nDefaults to false. Requisition files should be executed in parallel mode. The requisition file itself is still sequential, but the files are executes in parallel.

\n
parallel: true\n
\n

log-level
\nDefaults to warning. Defines how information are logged in the console. Accepted values are: trace; debug; info; warning (default); error; and fatal.

\n
log-level: trace\n
\n

max-report-level-print
\nDefaults to 1. The deepest level of report to be printed to the console.

\n
max-report-level-print: 2\n
\n

plugins
\nList of in plugins used by the test scenarios. You can check them out or write your own.

\n
plugins:\n- enqueuer-plugin-amqp \n- enqueuer-plugin-ws \n- enqueuer-plugin-mqtt\n- enqueuer-plugin-html-report\n
\n

outputs
\nOnce enqueuer runs every execution, it compiles a summary and sends it to every publisher listed in output.\nAn important thing to note is that every available report publisher is available here.\nYes, it means that you are able to send this report through http, tcp, etc. or through a plugin one or a custom one.\nYou can run $ nqr -p to check available report publishers installed.\nAnother important thing to note is the format value. By default a json summary is generated, but you can change it to whatever format you would like, such as: Xunit, html\nYou can run $ nqr -f to check available installed formats or even write your own

\n
outputs:\n- type: file\n  format: json (default)\n  filename: output/examples.json\n- type: file\n  format: yml\n  filename: output/examples.yml\n- type: standard-output (default)\n  format: console\n
\n

store
\nValues defined here use the 'key: value' pattern and are available to every test scenario throughout the entire execution

\n
store:\n  variableKey: \"my value\" # Defines 'variableKey' key and its value 'my value'. \n  \n  'separated key': 6\n  \n  object: # You can even define whole objects here:\n    first: first value\n    second:\n      nested: thing\n
\n

example

\n

Here's a complete example of a configuration file.

\n
\n

Variables

\n

Providing power and flexibility, enqueuer allows you to use variables placeholder replacement.\nThat's why there is a store field and you'll see a lot of << and {{ being used in the examples files.\nIt works as simple as this:

\n
name: my name is <<variableKey>>\n
\n

Every time enqueuer sees these kind of notations, it searches in its store for a key/value pair like:

\n
variableKey: `enqueuer`\n
\n

Then, when enqueuer parses the original map, it gets translated to this:

\n
name: my name is enqueuer\n
\n

By default, every ENV_VAR set is loaded automatically to the store. Check this example.

\n

set a variable

\n

There are a few ways to set a value in the store.

\n
configuration file
\n

Configuration file store object. Set it as you wish, as you can see here

\n
command line
\n

A command line argument using the key=value format. This way:

\n
$ nqr --store key=value -s anotherVariable=true\n
\n
event
\n

Dynamically set it through any event.\nBe it in its script field or straight through its store field.\nBoth ways work:

\n
onInit:\n    script: store.key = 123;\n    store:\n        anotherKey: `another Value` \n
\n

use a variable

\n

There are two ways two use a variable:

\n
non js code snippet
\n

The easiest one is to type <<variableKey>> or {{variableKey}} where you want it to be replaced in a test file, as you can see here

\n
js code snippet
\n

Using the store object. It's attributes are the keys and their values are their respective values.\nTherefore, you're free to use store.variableKey, console.log(store.variableKey); or console.log(2 * store['separated key']); and get them.\nLike this one.

\n

variables example

\n

Check out this test example test to see it working.

\n
\n

Content File Injection

\n

You are able to inject file content into a requisition/publisher/subscription field.

\n
file: <<file://path/to/file.txt>>\n
\n

Other than that, enqueuer can read it and parse its content as an object using this familiar syntax: <<tag://path/to/file?query=value&other=true>>.

\n
requisition:\n    json: <<json://path/to/file.json>>\n    yml: <<yml://path/to/file.yml>>\n    csv: <<csv://path/to/file.csv?header=true&delimiter=;>>\n    file: <<file://path/to/file.txt>>\n
\n

Once the object is parsed, your free to use it as a regular object in any event

\n
onInit:\n    script: console.log(requisition.yml.deep.field);\nonFinish:\n    assertions:\n    -   expect: json.key\n        toBeEqualTo: csv[0].key\n
\n

It get's event better.\nDue its fantastic plugin architecture design, you can extend its default modules and use any of these plugins or event write your own to parse however you want.\nThe built-in modules for object parsers are: json, yml, csv and file.\nRun $ nqr -e to see available ones.

\n

example

\n

Check out this test example test to get a full picture of it.

\n
\n

Plugins

\n

You're probably aware by now but it doesn't hurt do emphasize it: enqueuer provides an amazingly powerful plugin extensible architecture.\nIt has several plugins available, but if none of them pleases you, you're free to create your own.\nAlbeit you don't have to share the one you created, we encourage you to do so. Then go ahead and publish yours to npm and add it to our plugins list.

\n

plugin types

\n

So far, you're able to extend enqueuer default behavior in four ways. Using a protocol plugin, an object parser plugin, an asserter plugin and using a report formatter plugin.

\n
protocol
\n

A protocol plugin enables you to use a different publisher/subscription types.\nRun $ nqr -p [protocol-name] to get the full available list:

\n
publishers: \n-   name:                  custom\n-   name:                  file\n-   name:                  http\n    messageReceivedParams: statusCode, statusMessage, body\n-   name:                  stdout\n-   name:                  tcp\n-   ...\nsubscriptions: \n-   name:                  custom\n-   name:                  file\n    messageReceivedParams: content, name, size, modified, created\n-   name:                  http\n    messageReceivedParams: headers, params, query, body\n-   name:                  stdin\n-   name:                  tcp\n    messageReceivedParams: payload, stream\n-   ...\n
\n

Each one listed above has a respective example in the examples folder.\nThis one, for instance, provides support for amqp protocol, so you can create this publisher and subscription:

\n
publishers:\n-   type: amqp\n    payload: enqueuermaniac\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.integration.test.routing.key\nsubscriptions:\n-   type: amqp\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.integration.test.routing.#\n    onMessageReceived:\n        assertions:\n        -   expect: payload\n            toBeEqualTo: `enqueuermaniac`\n
\n
object parser
\n

An object parser plugin enables you to read and parse files as you wish.\nThis test example demonstrates how to use it,\nRun $ nqr -e [object-parser-name] to check available ones:

\n
parsers: \n- yml, yaml\n- json\n- file\n- csv\n
\n

This one, for example, provides the ability to read xml files and inject their values like this:

\n
xmlContent: <<xml://path/to/xml/file.xml>>\n
\n
asserter
\n

An asserter plugin provides you a nicely way to use different assertions than these built-in ones.

\n
asserters: \n-   expect: \n        required:    true\n        type:        string, array\n        description: actual value\n    not: \n        required:    false\n        type:        null\n        description: negates\n    toContain: \n        required:    true\n        type:        string, any\n        description: element\n
\n

Looking at the asserter above, we can create assertions like these:

\n
assertions:\n-   expect: [`a`, 1, true]\n    not:\n    toContain: `b`\n-   expect: [`a`, 1, true]\n    toContain: 1\n
\n

Run $ nqr -t to get the full available list.\nConsider looking at this test example.

\n
report formatter
\n

A report formatter plugin gives you the ability to export enqueuer reports the way you want.\nRun $ nqr -f [formatter-name] to list available report formatters:

\n
formatters: \n- console, stdout\n- json\n- yml, yaml\n
\n

Consider looking at the example of configuration file to see it in use.\nThis one, for instance, generates xUnit like reports from enqueuer's output.

\n

plugin installation

\n

In order to enqueuer get awareness that you want to use a plugin, you have to tell it, right?\nYou can tell enqueuer to use a plugin in three different ways: using it as a command line argument, through the configuration file or letting enqueuer finding it in a default location.

\n
command line
\n

Tell enqueuer to use your plugin through command line this way $ nqr -l <plugin-folder> -l <another-plugin-folder>.\nWhere plugin-folder and another-plugin-folder are the directories where the plugins are installed in.

\n
configuration file
\n

Tell enqueuer to use your plugin through configuration file this way:

\n
plugins: \n-   plugin-folder\n-   another-plugin-folder\n
\n

Where plugin-folder and another-plugin-folder are the directories where the plugins are installed in.

\n
implicitly
\n

When enqueuer runs, it looks for modules in .nqr folder in the home directory, a.k.a. ~/ folder in linux distributions.\nTherefore, if you run:

\n
$ npm install --global enqueuer\n$ mkdir ~/.nqr\n$ cd ~/.nqr\n$ npm install enqueuer-plugin-amqp\n$ nqr -p amqp\n
\n

You'll see that the enqueuer-plugin-amqp plugin will be loaded.\nEvery enqueuer compatible module gets implicitly loaded.\nIn order to be enqueuer compatible, a module has to have an entryPoint exported function in its main file and, in its package.json file, it has to have either 'enqueuer' or 'nqr' as keywords.

\n

Stacker

\n

Looking for a really really good looking an human error proof solution way of writing these requisition files?
\nConsider taking a look at stacker: open source, cross-platform, multi protocol client testing tool.\nThe official enqueuer's best friend forever. Do amazing things and change the world with enqueuer’s GUI!\nWith them, you create, manage and run requisitions and and see their results in a really nice way.\nSee this amazing beauty with your own eyes to get an idea of how it works:

\n

\"screenshot-passing\"

\n
\n

Open source

\n

We (by 'we' we mean enqueuer's maintainers not the human race, unfortunately) are very opened to any kind of contributions in general.\nAs long as they make sense and add value to the product, you're free to go.\nWe mean it, do it. Even if it's a typo fix in this README file. Go ahead.\nIf you like it but don't want to waste time creating a pull request, no problem either.\nCreate an issue, or, even easier, give it a github star. It's cheap and it doesn't hurt anyone.\nYou know what? Just head up to enqueuer's github repo and keep staring at its repo.\nIt may help somehow.

\n

contributors

\n

Thank you. It sounds cliché, but this project wouldn't be the same without the massive contribution from everyone.

\n

code it

\n

In order to contribute with some code, you have to follow a few steps.\nFirst of all, get the code:

\n
$ git clone git@github.com:enqueuer-land/enqueuer.git\n$ cd enqueuer\n
\n

Get its dependencies installed:

\n
$ npm install\n
\n

Build it:

\n
$ npm run build\n
\n

Go for it. Make the changes you want.\nAfter everything is done:

\n
$ npm run all\n
\n

Commit it:

\n
$ npm run commit\n
\n

Push it:

\n
$ git push\n
\n

feedback

\n

We'd love to get your feedback!\nIf you have any comments, suggestions, etc. you can reach us here.

\n

\"NPM\"

\n
\n
\n
\n\n\n\n
\n
\n
\n\n
\n
\n \n\n
\n\n \n
\n
\n \n\n \n \n\n \n
\n
\n \n
\n
\n\n\n\n
\n \n \n You can’t perform that action at this time.\n
\n\n\n \n \n \n \n \n \n \n
\n \n You signed in with another tab or window. Reload to refresh your session.\n You signed out in another tab or window. Reload to refresh your session.\n
\n \n\n
\n
\n
\n
\n\n
\n\n \n\n\n" + body: "\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n \n \n \n \n\n \n \n GitHub - enqueuer-land/enqueuer: Multi protocol microservice testing tool\n \n \n \n \n\n \n \n\n \n \n \n \n \n\n\n \n\n \n\n \n \n \n\n \n\n\n\n\n \n\n\n\n\n\n\n \n\n \n \n\n \n \n\n \n\n \n\n \n \n\n \n\n \n\n \n\n\n \n\n\n \n\n \n\n \n \n\n\n\n\n\n\n\n \n\n \n\n \n \n\n
\n Skip to content\n
\n\n \n \n \n\n\n
\n
\n
\n \n \n \n
\n\n
\n
\n \n
\n\n \n\n \n
\n
\n
\n\n
\n\n
\n\n\n
\n\n
\n\n\n\n
\n
\n
\n \n \n\n\n\n \n\n\n\n\n
\n
\n\n \n\n

\n \n enqueuer-land/enqueuer\n \n\n

\n\n
\n \n\n\n\n
\n
\n
\n\n \n \n
\n
\n
\n
\n \n

Join GitHub today

\n

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

\n Sign up\n
\n
\n
\n\n\n\n
\n
\n \n Multi protocol microservice testing tool\n \n https://enqueuer.com\n
\n
\n
\n\n \n\n\n\n \n\n \n\n\n\n\n\n\n
\n \n
\n \n Branch:\n master\n \n\n \n \n \n \n \n
\n\n\n \n\n
\n \n
\n\n
\n\n Find File\n
\n\n\n \n\n
\n \n Clone or download\n \n
\n
\n\n
\n
\n\n

\n Clone with HTTPS\n \n \n \n

\n

\n Use Git or checkout with SVN using the web URL.\n

\n\n
\n \n
\n \n
\n
\n\n
\n\n
\n \nDownload ZIP\n\n
\n
\n\n \n\n
\n

Launching GitHub Desktop...

\n

If nothing happens, download GitHub Desktop and try again.

\n

\n
\n\n
\n

Launching GitHub Desktop...

\n

If nothing happens, download GitHub Desktop and try again.

\n

\n
\n\n
\n

Launching Xcode...

\n

If nothing happens, download Xcode and try again.

\n

\n
\n\n
\n

Launching Visual Studio...

\n

If nothing happens, download the GitHub extension for Visual Studio and try again.

\n

\n
\n\n
\n
\n
\n\n
\n\n\n \n\n\n
\n \n
\n
\n \n \"@lopidio\"\n
\n
\n\n
\n \n lopidio\n\n\n \n\n\n fix(EnqueuerRunner): Reports only get printed when EnqueuerRunner det…\n \n \n \n\n
…ects its report\n\nn
\n
\n
\n Latest commit\n \n 80fd20b\n \n May 28, 2019\n
\n
\n\n\n\n\n Permalink\n\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
TypeNameLatest commit messageCommit time
Failed to load latest commit information.
\n \n \"\"\n \n .github/ISSUE_TEMPLATE\n \n \n Update bug_report.md\n \n \n Mar 4, 2019\n
\n \n \"\"\n \n conf\n \n \n \n \n \n
\n \n \"\"\n \n docs\n \n \n refactor(TestsAnalyzer): Expose TestsAnalyzer in the public API\n \n \n May 27, 2019\n
\n \n \"\"\n \n examples\n \n \n fix(RequisitionRunner): Print requisition report only when explicitly…\n \n \n May 27, 2019\n
\n \n \"\"\n \n https-cert\n \n \n Adding support to https\n \n \n Aug 9, 2018\n
\n \n \"\"\n \n misc\n \n \n fix(Favicon fix):\n \n \n May 24, 2019\n
\n \n \"\"\n \n output\n \n \n fix(EnqueuerRunner): Reports only get printed when EnqueuerRunner det…\n \n \n May 28, 2019\n
\n \n \"\"\n \n src\n \n \n fix(EnqueuerRunner): Reports only get printed when EnqueuerRunner det…\n \n \n May 28, 2019\n
\n \n \"\"\n \n temp\n \n \n #19 adding attempting to create a topic at kafka\n \n \n Oct 3, 2018\n
\n \n \"\"\n \n .codeclimate.yml\n \n \n Updating .codeclimate\n \n \n Sep 24, 2018\n
\n \n \"\"\n \n .gitignore\n \n \n docs(README): Improve docs\n \n \n Mar 23, 2019\n
\n \n \"\"\n \n .npmignore\n \n \n Removing SummaryTestOutput dependency with Configuration and start te…\n \n \n Mar 10, 2019\n
\n \n \"\"\n \n .travis.yml\n \n \n feat(dynamic-modules-manager): Look for a ~/.nqr folder to load plugi…\n \n \n Mar 22, 2019\n
\n \n \"\"\n \n CNAME\n \n \n Create CNAME\n \n \n May 10, 2019\n
\n \n \"\"\n \n CONTRIBUTING.md\n \n \n chore(Automatic Release): Add automatic release with semantic-release.\n \n \n Mar 21, 2019\n
\n \n \"\"\n \n License\n \n \n Creating License\n \n \n Mar 10, 2018\n
\n \n \"\"\n \n README.md\n \n \n refactor(DynamicModulesManager): Dynamically import module at any tim…\n \n \n May 21, 2019\n
\n \n \"\"\n \n enqueuer.ts\n \n \n fix(EnqueuerRunner): Reports only get printed when EnqueuerRunner det…\n \n \n May 28, 2019\n
\n \n \"\"\n \n package-lock.json\n \n \n feat(NotificationEmitter): Create the concept of Notification and Not…\n \n \n May 24, 2019\n
\n \n \"\"\n \n package.json\n \n \n fix(Favicon fix):\n \n \n May 24, 2019\n
\n \n \"\"\n \n tsconfig.json\n \n \n feat(NotificationEmitter): Create the concept of Notification and Not…\n \n \n May 24, 2019\n
\n \n \"\"\n \n tslint.json\n \n \n Subscription refactoring\n \n \n Mar 12, 2019\n
\n\n
\n\n\n\n
\n
\n

\n \n README.md\n

\n
\n
\n

\"npm\"\n\"Build\n\"Greenkeeper\n\"Known\n\"License:

\n

\"enqueuerlogo\"

\n

Want to ensure that a user journey which involves several steps with different protocols is working properly?\nHave you ever struggled with testing multi protocol flows?\nDepending services have become a pain?\nDon't you worry anymore. Enqueuer is what you're looking for.

\n

What it is

\n

It's not just an integration testing tool. It is a platform that provides the following capabilities:

\n
    \n
  • Support for many protocols out of the box
  • \n
  • Chainable message flows
  • \n
  • Easily mock numerous services to alleviate the headaches of functional and integration tests
  • \n
  • Friendly for developers and non developers
  • \n
  • Built in assertion library to verify response data coming from/going to your services
  • \n
  • Easily extensible behavior through third party plugins, including your own custom ones
  • \n
  • CLI is easy to add to your team's existing CI pipelines
  • \n
  • Act and react on your system under test
  • \n
  • Place tests front and center
  • \n
\n

Welcome to the enqueuer world.

\n

install it

\n

First things first, let's get the enqueuer installed on your machine.

\n
$ npm install --global enqueuer\n
\n

Alright, it's time to create a requisition file.\nSomething like:

\n
#enqueuer-repo-hit.yml\npublishers:\n-   type: http\n    url: https://github.com/enqueuer-land/enqueuer\n    onMessageReceived:\n        assertions:\n        -   expect: statusCode\n            toBeEqualTo: 200\n
\n

Pretty simple, hum? Small and concise, how it should be!\nRun it:

\n
$ enqueuer enqueuer-repo-hit.yml\n
\n

What if I want to mock a http server and hit it at the same time, you may ask. Not a big deal for enqueuer lovers:

\n
name: readme self-test\npublishers:\n-   type: http\n    url: http://localhost:9085/readme-example\n    method: POST\n    payload: does enqueuer rock?\n    onMessageReceived:\n        script: doubleStatus = statusCode * 2\n        assertions:\n            -   expect: body\n                toBeEqualTo: `mock response`\n            -   expect: doubleStatus\n                toBeGreaterThan: 300\nsubscriptions:\n-   type: http\n    name: mock endpoint\n    endpoint: /readme-example\n    port: 9085\n    method: POST\n    response:\n        status: 200\n        payload: mock response\n    onMessageReceived:\n        assertions:\n        -   expect: message.body\n            toContain: `enqueuer`\n        -   name: failing test\n            expectToBeTruthy: false\n
\n

Note that the second subscription assertion is a failing one. By running this example, we get this:

\n
$ nqr http-self-test.yml\n   [FAIL]      readme self-test                                                   6 tests passing of 7 (85.71%) ran in 37ms\n   [FAIL] enqueuer                                                                6 tests passing of 7 (85.71%) ran in 42ms\n               enqueuer › readme self-test › mock endpoint › failing test\n                           Expecting 'false' to be true. Received: false\n
\n

I told you it was simple.\nNow, let's say you want to mix different protocols to test a bit more complex flow.\nHow about publishing an amqp message and making sure that, once a service consumes that message an endpoint of your is hit?\nIn order to achieve that, we have to make use of a plugin, given that amqp support is provided by a plugin.\nIn this scenario, we're talking about the amqp plugin.\nOnce we get this plugin installed we are able to create and run files like this:

\n
publishers:\n-   type: amqp\n    payload: 123456\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.readme.routing.key\nsubscriptions:\n-   type: http\n    endpoint: /polyglot-flow\n    port: 8080\n    method: GET\n    response:\n        status: 200\n        payload: polyglot message\n    onMessageReceived:\n        assertions:\n        -   expect: message.body\n            toContain: 123456\n
\n

Now go nuts!\nIt's all yours. Have fun.\nIf you want more examples about http, consider looking at this test.\nCheck this out, you'll find countless examples.\nCertainly one is what you need.

\n

if you need more

\n
$ nqr -h\nUsage: nqr [options] <test-file> [other-test-files...]\n\nTake a look at the full documentation: https://enqueuer.com\n\nOptions:\n  -v, --version                             output the version number\n  -b, --verbosity <level>                   set verbosity (default: \"warn\")\n  -c, --config-file <path>                  set configurationFile\n  -e, --parsers-list [parser]               list available object parsers\n  -f, --formatters-description [formatter]  describe report formatters\n  -o, --stdout-requisition-output           add stdout as requisition output\n  -m, --max-report-level-print <level>      set max report level print\n  -p, --protocols-description [protocol]    describe protocols\n  -u, --loaded-modules-list                 list loaded modules\n  -t, --tests-list                          list available tests assertions\n  -s, --store [store]                       add variables values to this session (default: [])\n  -l, --add-plugin [plugin]                 add plugin (default: [])\n  -a, --add-file <file>                     add file to be tested (default: [])\n  -A, --add-file-and-ignore-others <file>   add file to be tested and ignore others (default: [])\n  -h, --help                                output usage information\n\nExamples:\n  $ nqr --config-file config-file.yml --verbosity error --store key=value\n  $ enqueuer -c config-file.yml test-file.yml --add-file another-test-file.yml -b info\n  $ enqueuer test-file.yml --store someKey=true --store someOtherKey=false\n  $ nqr --protocols-description -s key=value\n  $ nqr -t expect\n  $ nqr -l my-enqueuer-plugin-name -p plugin-protocol\n  $ nqr -p http\n  $ nqr --formatters-description json\n
\n
\n

Components

\n

In order to accomplish more than just hitting enqueuer's repo or doing a quick self http hit, there are a few things that you'll probably need to know.\nDon't worry, it's not too much and, as mentioned earlier, there is a lot of examples here, just in case.\nThere are only three important component concepts: requisitions, publishers and subscriptions.\nThey work along with each other and are responsible for the full behavior of enqueuer.

\n

requisition

\n

Test scenario description. It tells what, when, and how test your applications and services.\nPicture it as if it was a collection of publishers, subscriptions and other requisitions.\nIt helps because this is exactly what it is.\nAs the others components, it has some attributes. All of them are optionals. And it supports multi-level test scenarios out of the box. Yeap, go as recursive as you want.\nEvery test file is a requisition.\nYou don't know some of these attributes values yet? Don't worry, just put a variable there and let enqueuer replace it with the value you set later.\nVariable replacements are available through the entire requisition.

\n
requisition attributes
\n

These are the requisition attributes:

\n

name
\nDescribes what the requisition is suppose to do.\nDefaults to requisition index.

\n
name: requisition action\n
\n

timeout
\nDefaults to 5000.\nSets in milliseconds how long the requisition waits to expire.\nSet to zero or less than zero to run it endlessly.

\n
timeout: 3000\n
\n

delay
\nDefaults to 0. Sets in milliseconds how long the test waits before starting. Check this to get the full idea.

\n
delay: 0\n
\n

iterations
\nDefaults to 1. Sets how many times this test will be executed. Check this and this to get the full idea.

\n
iterations: 3\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this requisitions should be skipped. Check this to see it working.

\n
ignore: true\n
\n

parallel
\nDefaults to false. Immediate children requisitions should be executed in parallel mode.\nTake a look at this to see it working.

\n
parallel: true\n
\n

import
\nAllows requisition to be dynamically defined, be it by loading an external file or creating dynamically by other requisitions. Want to reuse the same requisition multiple times? This is you you need.\nTake a look at this to behold this feature.

\n
import: path/to/another/requisition/file\n
\n

publishers
\nList of publishers

\n
publishers:\n- name: some publisher name\n  type: http\n- type: tcp\n
\n

subscriptions
\nList of subscriptions

\n
subscriptions:\n- name: some subscription name\n  type: udp\n- name: another subscription name\n  type: file\n
\n

requisitions
\nA list of child scenarios. List of requisitions.\nCheck this example, it may help.

\n
requisitions:\n- name: some requisition name\n  iterations: 2\n- name: another requisition name\n  delay: 200\n
\n
events
\n

Available events are described here. A requisition object is available to access and change its attributes.

\n
name: my name\nonInit:\n  script: requisition.delay = 3000;\n  assertions:\n  - expectToBeDefined: requisition.name\nonFinish:  \n  assertions:\n  - expectToBeDefined: requisition.name\n
\n

publisher

\n

A publisher action is triggered by enqueuer itself. It acts whereas a subscription reacts.\nIt publishes something, it writes, it enqueues, hits and endpoint... These kinds of actions.

\n
publisher attributes
\n

Every publisher has its own properties, depending on its protocol and implementation.\nThe built-in http publisher implementation, for instance, demands a url, a method, and a payload, if the method is not a GET.\nOn the other hand, the built-in tcp publisher implementation requires a serverAddress and a port.\nThese are the publisher attributes:

\n

name
\nDefaults to publisher index.\nDescribes what the publisher is supposed to do.

\n
name: publisher action\n
\n

type
\nMandatory. Key tag to identify which publisher will be instantiated

\n
type: http\n
\n

payload
\nSince a publisher usually publishes something, it's very likely you have to set a value here.\nThe message itself that will be send through this protocol. Be it a string, a number, a boolean value or even whole objects.

\n
payload: value\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this publisher should be skipped. Check this to see it working.

\n
ignore: true\n
\n
events
\n

Available events are described here. A publisher object is available to access and change its attributes.\nDepending on the protocol and its implementation, such as http and tcp, there may exist a onMessageReceived event and a special object given message.\nOn the other hand, an asynchronous protocol, like: udp and amqp, usually does not provide it.

\n
onInit:\n  script: publisher.ignore = false\n  assertions:\n  - expectToBeDefined: publisher.type\nonMessageReceived: #Provided in synchronous protocols  \n  assertions:\n  - expectToBeDefined: message\nonFinish:  \n  assertions:\n  - expectToBeDefined: publisher.type\n
\n

subscription

\n

A subscription is an \"under demand\" event. It reacts whereas a publisher acts.\nIt consumes something, it reads, it dequeues, gets hit... These kinds of actions.\nThis means that it is not triggered by enqueuer itself.\nRather than that, enqueuer waits on an external event to be triggered and then it asserts against the message that was passed to the subscription.

\n
subscription attributes
\n

Every subscription has its own properties, depending on its protocol and implementation.\nThe built-in http subscription implementation, for instance, demands an endpoint, a method, and a port, if the method is not a GET.\nOn the other hand, the built-in tcp subscription implementation requires only a port.

\n

These are the subscription attributes:

\n

name
\nDefaults to subscription index.\nDescribes what the subscription is supposed to do.

\n
name: subscription action\n
\n

type
\nMandatory. Key tag to identify which subscription will be instantiated

\n
type: http\n
\n

avoid
\nIdentifies whether or not this subscription should not receive any message. Defaults to false.\nIf set and a message is received a failing test will be generated.\nTake a look at this to see it working.\nOn the other hand, when it's false and no message is received in a given timeout. The subscription is valid.

\n
avoid: false\n
\n

timeout
\nSets in milliseconds how long the subscription waits to expire. Defaults to 3000.\nSet to zero or less than zero to run it endlessly.

\n
timeout: 3000\n
\n

ignore
\nDefaults to false. Tells to enqueuer that this subscription should be skipped. Check this to see it working.

\n
ignore: true    \n
\n
events
\n

Available events are described here. A subscription object is available to access and change its attributes.

\n
onInit:\n  script: subscription.avoid = false;\n  assertions:\n  - expectToBeDefined: subscription.type\nonMessageReceived:  \n  assertions:\n  - expectToBeDefined: message\nonFinish:  \n  assertions:\n  - expectToBeDefined: subscription.type\n
\n
\n

Event

\n

Events are hook methods executed by enqueuer when an action occurs on publishers, subscriptions or requisitions.\nThis is where you'll write your tests. In its assertions field.\nDepending on the event's owner, there may be a variable called publisher, subscription or requisition.\nYou're free to explore them however you want, even doing things like this:

\n
publisher.parent.subscriptions[0].timeout = 1000;\n
\n

hooks

\n

There are three hook events available:

\n

onInit
\nAvailable in requisitions, publishers and subscriptions. It gets executed as soon as the test is initialized.

\n

onFinish
\nAvailable in requisitions, publishers and subscriptions. It gets executed when the test is about to finish.\nAs available parameter, an elapsedTime variable is given, counting every milliseconds since the instantiation of this component.

\n

onMessageReceived
\nAvailable in every subscription and in publishers that provide synchronous properties.\nIt gets executed when the subscription or publisher receives a message.\nA message object is available having all of attributes returned from the received message.\nDepending on the protocol implementation, there'll be additional objects to this hook.\nFor instance, in the built-in http publisher implementation, there's a statusCode, headers and a body among others, and the subscription implementation has body, query, params and headers , among other variables.\nelapsedTime is also available here, counting every milliseconds since the instantiation of this component.

\n

fields

\n

Every hook object has 3 properties:

\n

script
\nJavascript code snippet executed when the event is triggered.\nYeah, I mean it. See it it by yourself.\nBut be careful, with great power comes great responsibility.

\n

store
\nData to be persisted across requisitions.

\n

assertions
\nArray of assertions.\nRun $ nqr -t to see available ones.\nConsider looking at this test example.\nOf course, just like almost everything else in enqueuer world, you can extend this available list using some plugin.\nYou can check them out or even write your own.

\n
onInit:\n  script: variableIdentifier = 'string value'\n\n  assertions:\n  - expect: variableIdentifier\n    toBeEqualTo: `string value`\n\nonMessageReceived:\n  script: |-\n    message += 3;\n    console.log(`Message received plus 3 is: ${message}`);\n\n  store:\n    key: message\n\n  assertions:\n  - name: anyValue #optional\n    expect: message\n    toBeEqualTo: store.key\n  - expect: message + 3\n    toBeGreaterThan: 3\n
\n

event example

\n

Check this test file to see it in practice.

\n
\n

Requisition Flow

\n

Now that you know what are requisitions, publishers, subscriptions and events. How about seeing how they interact with each other in a fancier way?

\n

\"enqueuerInstanceFlow\"

\n
\n

Configuration File

\n

To save yourself some time, a configuration file may be used.\nConfiguration files tell enqueuer which tests will be executed, log-level, and which output test report files should be generated.\nThis file tells how enqueuer should be executed.\nTo run enqueuer with the configuration:

\n
$ nqr -c path/to/configuration/file.yml\n
\n

or

\n
$ nqr --config-file path/to/configuration/file.yml\n
\n

attributes

\n

These are the configuration file attributes:

\n

files
\nRequisition file names or glob. Enqueuer runs every file that matches an element value.

\n
files:\n- 1.yml\n- 2.yml\n- *.json\n
\n

parallel
\nDefaults to false. Requisition files should be executed in parallel mode. The requisition file itself is still sequential, but the files are executes in parallel.

\n
parallel: true\n
\n

log-level
\nDefaults to warning. Defines how information are logged in the console. Accepted values are: trace; debug; info; warning (default); error; and fatal.

\n
log-level: trace\n
\n

max-report-level-print
\nDefaults to 1. The deepest level of report to be printed to the console.

\n
max-report-level-print: 2\n
\n

plugins
\nList of in plugins used by the test scenarios. You can check them out or write your own.

\n
plugins:\n- enqueuer-plugin-amqp \n- enqueuer-plugin-ws \n- enqueuer-plugin-mqtt\n- enqueuer-plugin-html-report\n
\n

outputs
\nOnce enqueuer runs every execution, it compiles a summary and sends it to every publisher listed in output.\nAn important thing to note is that every available report publisher is available here.\nYes, it means that you are able to send this report through http, tcp, etc. or through a plugin one or a custom one.\nYou can run $ nqr -p to check available report publishers installed.\nAnother important thing to note is the format value. By default a json summary is generated, but you can change it to whatever format you would like, such as: Xunit, html\nYou can run $ nqr -f to check available installed formats or even write your own

\n
outputs:\n- type: file\n  format: json (default)\n  filename: output/examples.json\n- type: file\n  format: yml\n  filename: output/examples.yml\n- type: standard-output (default)\n  format: console\n
\n

store
\nValues defined here use the 'key: value' pattern and are available to every test scenario throughout the entire execution

\n
store:\n  variableKey: \"my value\" # Defines 'variableKey' key and its value 'my value'. \n  \n  'separated key': 6\n  \n  object: # You can even define whole objects here:\n    first: first value\n    second:\n      nested: thing\n
\n

example

\n

Here's a complete example of a configuration file.

\n
\n

Variables

\n

Providing power and flexibility, enqueuer allows you to use variables placeholder replacement.\nThat's why there is a store field and you'll see a lot of << and {{ being used in the examples files.\nIt works as simple as this:

\n
name: my name is <<variableKey>>\n
\n

Every time enqueuer sees these kind of notations, it searches in its store for a key/value pair like:

\n
variableKey: `enqueuer`\n
\n

Then, when enqueuer parses the original map, it gets translated to this:

\n
name: my name is enqueuer\n
\n

By default, every ENV_VAR set is loaded automatically to the store. Check this example.

\n

set a variable

\n

There are a few ways to set a value in the store.

\n
configuration file
\n

Configuration file store object. Set it as you wish, as you can see here

\n
command line
\n

A command line argument using the key=value format. This way:

\n
$ nqr --store key=value -s anotherVariable=true\n
\n
event
\n

Dynamically set it through any event.\nBe it in its script field or straight through its store field.\nBoth ways work:

\n
onInit:\n    script: store.key = 123;\n    store:\n        anotherKey: `another Value` \n
\n

use a variable

\n

There are two ways two use a variable:

\n
non js code snippet
\n

The easiest one is to type <<variableKey>> or {{variableKey}} where you want it to be replaced in a test file, as you can see here

\n
js code snippet
\n

Using the store object. It's attributes are the keys and their values are their respective values.\nTherefore, you're free to use store.variableKey, console.log(store.variableKey); or console.log(2 * store['separated key']); and get them.\nLike this one.

\n

variables example

\n

Check out this test example test to see it working.

\n
\n

Content File Injection

\n

You are able to inject file content into a requisition/publisher/subscription field.

\n
file: <<file://path/to/file.txt>>\n
\n

Other than that, enqueuer can read it and parse its content as an object using this familiar syntax: <<tag://path/to/file?query=value&other=true>>.

\n
requisition:\n    json: <<json://path/to/file.json>>\n    yml: <<yml://path/to/file.yml>>\n    csv: <<csv://path/to/file.csv?header=true&delimiter=;>>\n    file: <<file://path/to/file.txt>>\n
\n

Once the object is parsed, your free to use it as a regular object in any event

\n
onInit:\n    script: console.log(requisition.yml.deep.field);\nonFinish:\n    assertions:\n    -   expect: json.key\n        toBeEqualTo: csv[0].key\n
\n

It get's event better.\nDue its fantastic plugin architecture design, you can extend its default modules and use any of these plugins or event write your own to parse however you want.\nThe built-in modules for object parsers are: json, yml, csv and file.\nRun $ nqr -e to see available ones.

\n

example

\n

Check out this test example test to get a full picture of it.

\n
\n

Plugins

\n

You're probably aware by now but it doesn't hurt do emphasize it: enqueuer provides an amazingly powerful plugin extensible architecture.\nIt has several plugins available, but if none of them pleases you, you're free to create your own.\nAlbeit you don't have to share the one you created, we encourage you to do so. Then go ahead and publish yours to npm and add it to our plugins list.

\n

plugin types

\n

So far, you're able to extend enqueuer default behavior in four ways. Using a protocol plugin, an object parser plugin, an asserter plugin and using a report formatter plugin.

\n
protocol
\n

A protocol plugin enables you to use a different publisher/subscription types.\nRun $ nqr -p [protocol-name] to get the full available list:

\n
publishers: \n-   name:                  custom\n-   name:                  file\n-   name:                  http\n    messageReceivedParams: statusCode, statusMessage, body\n-   name:                  stdout\n-   name:                  tcp\n-   ...\nsubscriptions: \n-   name:                  custom\n-   name:                  file\n    messageReceivedParams: content, name, size, modified, created\n-   name:                  http\n    messageReceivedParams: headers, params, query, body\n-   name:                  stdin\n-   name:                  tcp\n    messageReceivedParams: payload, stream\n-   ...\n
\n

Each one listed above has a respective example in the examples folder.\nThis one, for instance, provides support for amqp protocol, so you can create this publisher and subscription:

\n
publishers:\n-   type: amqp\n    payload: enqueuermaniac\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.integration.test.routing.key\nsubscriptions:\n-   type: amqp\n    exchange: enqueuer.exchange\n    routingKey: enqueuer.integration.test.routing.#\n    onMessageReceived:\n        assertions:\n        -   expect: payload\n            toBeEqualTo: `enqueuermaniac`\n
\n
object parser
\n

An object parser plugin enables you to read and parse files as you wish.\nThis test example demonstrates how to use it,\nRun $ nqr -e [object-parser-name] to check available ones:

\n
parsers: \n- yml, yaml\n- json\n- file\n- csv\n
\n

This one, for example, provides the ability to read xml files and inject their values like this:

\n
xmlContent: <<xml://path/to/xml/file.xml>>\n
\n
asserter
\n

An asserter plugin provides you a nicely way to use different assertions than these built-in ones.

\n
asserters: \n-   expect: \n        required:    true\n        type:        string, array\n        description: actual value\n    not: \n        required:    false\n        type:        null\n        description: negates\n    toContain: \n        required:    true\n        type:        string, any\n        description: element\n
\n

Looking at the asserter above, we can create assertions like these:

\n
assertions:\n-   expect: [`a`, 1, true]\n    not:\n    toContain: `b`\n-   expect: [`a`, 1, true]\n    toContain: 1\n
\n

Run $ nqr -t to get the full available list.\nConsider looking at this test example.

\n
report formatter
\n

A report formatter plugin gives you the ability to export enqueuer reports the way you want.\nRun $ nqr -f [formatter-name] to list available report formatters:

\n
formatters: \n- console, stdout\n- json\n- yml, yaml\n
\n

Consider looking at the example of configuration file to see it in use.\nThis one, for instance, generates xUnit like reports from enqueuer's output.

\n

plugin installation

\n

In order to enqueuer get awareness that you want to use a plugin, you have to tell it, right?\nYou can tell enqueuer to use a plugin in three different ways: using it as a command line argument, through the configuration file or letting enqueuer finding it in a default location.

\n
command line
\n

Tell enqueuer to use your plugin through command line this way $ nqr -l <plugin-folder> -l <another-plugin-folder>.\nWhere plugin-folder and another-plugin-folder are the directories where the plugins are installed in.

\n
configuration file
\n

Tell enqueuer to use your plugin through configuration file this way:

\n
plugins: \n-   plugin-folder\n-   another-plugin-folder\n
\n

Where plugin-folder and another-plugin-folder are the directories where the plugins are installed in.

\n
implicitly
\n

When enqueuer runs, it looks for modules in .nqr folder in the home directory, a.k.a. ~/ folder in linux distributions.\nTherefore, if you run:

\n
$ npm install --global enqueuer\n$ mkdir ~/.nqr\n$ cd ~/.nqr\n$ npm install enqueuer-plugin-amqp\n$ nqr -p amqp\n
\n

You'll see that the enqueuer-plugin-amqp plugin will be loaded.\nEvery enqueuer compatible module gets implicitly loaded.\nIn order to be enqueuer compatible, a module has to have an entryPoint exported function in its main file and, in its package.json file, it has to have either 'enqueuer' or 'nqr' as keywords.

\n

Stacker

\n

Looking for a really really good looking an human error proof solution way of writing these requisition files?
\nConsider taking a look at stacker: open source, cross-platform, multi protocol client testing tool.\nThe official enqueuer's best friend forever. Do amazing things and change the world with enqueuer’s GUI!\nWith them, you create, manage and run requisitions and and see their results in a really nice way.\nSee this amazing beauty with your own eyes to get an idea of how it works:

\n

\"screenshot-passing\"

\n
\n

Open source

\n

We (by 'we' we mean enqueuer's maintainers not the human race, unfortunately) are very opened to any kind of contributions in general.\nAs long as they make sense and add value to the product, you're free to go.\nWe mean it, do it. Even if it's a typo fix in this README file. Go ahead.\nIf you like it but don't want to waste time creating a pull request, no problem either.\nCreate an issue, or, even easier, give it a github star. It's cheap and it doesn't hurt anyone.\nYou know what? Just head up to enqueuer's github repo and keep staring at its repo.\nIt may help somehow.

\n

contributors

\n

Thank you. It sounds cliché, but this project wouldn't be the same without the massive contribution from everyone.

\n

code it

\n

In order to contribute with some code, you have to follow a few steps.\nFirst of all, get the code:

\n
$ git clone git@github.com:enqueuer-land/enqueuer.git\n$ cd enqueuer\n
\n

Get its dependencies installed:

\n
$ npm install\n
\n

Build it:

\n
$ npm run build\n
\n

Go for it. Make the changes you want.\nAfter everything is done:

\n
$ npm run all\n
\n

Commit it:

\n
$ npm run commit\n
\n

Push it:

\n
$ git push\n
\n

feedback

\n

We'd love to get your feedback!\nIf you have any comments, suggestions, etc. you can reach us here.

\n

\"NPM\"

\n
\n
\n
\n\n\n\n
\n
\n
\n\n
\n
\n \n\n
\n\n \n
\n
\n \n\n \n \n\n \n
\n
\n \n
\n
\n\n\n\n
\n \n \n You can’t perform that action at this time.\n
\n\n\n \n \n \n \n \n \n \n
\n \n You signed in with another tab or window. Reload to refresh your session.\n You signed out in another tab or window. Reload to refresh your session.\n
\n \n\n
\n
\n
\n
\n\n
\n\n \n\n\n" headers: server: GitHub.com - date: 'Tue, 28 May 2019 18:37:03 GMT' + date: 'Fri, 31 May 2019 23:53:30 GMT' content-type: 'text/html; charset=utf-8' transfer-encoding: chunked connection: close status: '200 OK' vary: X-PJAX - etag: 'W/"056e3096be718e2ddfdea87ce3fe62d0"' + etag: 'W/"e1ed11adb44e876a80f65321af9f9411"' cache-control: 'max-age=0, private, must-revalidate' set-cookie: - - 'has_recent_activity=1; path=/; expires=Tue, 28 May 2019 19:37:02 -0000' - - '_octo=GH1.1.1531019903.1559068623; domain=.github.com; path=/; expires=Fri, 28 May 2021 18:37:03 -0000' - - 'logged_in=no; domain=.github.com; path=/; expires=Sat, 28 May 2039 18:37:03 -0000; secure; HttpOnly' - - '_gh_sess=MWJoakJkQjdWU3F5aERjcE5KY2NVU1pGbmlhalI3QUlmYXBIekRrdFU0OEZGdktlSkZyZEdkQzc4Z1FjdVduSS9hMElpRUIvRmhmRXNNQ2hCbTBVZk82bjk4cFgvNVE0OSt1enhsM0hjTGRlMCs1V3VOY2lMeFczeHFZN1Vkd0JYeXBYN1NZMmFSVzBselErMDdhMUhVRy9HZE9XV3BBRWk0MWo3QWUvU1ZlZEk1cllsa2FTaEVaZm5aVjAyeDUyQUYvSEVBeVZ0Z3JaQk5ZN01TQlRRdlVXbXJSN0U3S21LcElIcmVpSkJCb2lLSWdpYVlLV3FTRmpEdUk1YW9lR3BTOXVXQXhUWEdLMU4rY2t3ejRhdVQvcHFuNlpOWTBpU2ZsMzVjbXJLWWM9LS1pMFVVdGJldElvSGdUZFZpNisyaFdBPT0%3D--e94783435cec536536961ef3b888a51bbfe8421e; path=/; secure; HttpOnly' - x-request-id: 5386eb20-b037-4d45-b4c7-08438c986160 + - 'has_recent_activity=1; path=/; expires=Sat, 01 Jun 2019 00:53:30 -0000' + - '_octo=GH1.1.2126822140.1559346810; domain=.github.com; path=/; expires=Mon, 31 May 2021 23:53:30 -0000' + - 'logged_in=no; domain=.github.com; path=/; expires=Tue, 31 May 2039 23:53:30 -0000; secure; HttpOnly' + - '_gh_sess=akhxUStvS292KzdFZnlPRWJyWlFiWE04dkdTMlZJNWV0UVFtSjdVU2Vxc05vZEhTbFBMek1KbG8rYnZOSVNad1R3cm83VUw2bXlNMEFreXJTODFlMGVsWGs3amExUVU5T2IwYkNuZWo5eUxEL1lkZ0V0YW9sTHl5MTBVZFNJZGpSMjR5RnV2NmVxS3lmNW1IbnIrcDREVDMvUjBYODIxMkxiZXJFQlNsMVhOZGhEYjRIU3RMN2hlbVFvV0lWSFl2TGc4K1VQZkpoMHdJRUwxMHpGdkpUdHNiNlJoODhZRGxJWFhXWS9NRnA5RzJyUVBUUXBwWDVqcjk5VDBLRGNNejlreVFHNWR1LzgvREROK3ZteXpXNnIyMlpwMVJkWmxJSzBJSFBuRjFCRXM9LS1ZanFzbEpCYm5KN3pLd3VMV1U0bWhBPT0%3D--a40f04bb9a458b3e243fe27debdbb970751c8264; path=/; secure; HttpOnly' + x-request-id: 275e8ecd-95a8-4821-9b52-fdee473d768e strict-transport-security: 'max-age=31536000; includeSubdomains; preload' x-frame-options: deny x-content-type-options: nosniff x-xss-protection: '1; mode=block' expect-ct: 'max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"' content-security-policy: 'default-src ''none''; base-uri ''self''; block-all-mixed-content; connect-src ''self'' uploads.github.com www.githubstatus.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src github.githubassets.com; form-action ''self'' github.com gist.github.com; frame-ancestors ''none''; frame-src render.githubusercontent.com; img-src ''self'' data: github.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src ''self''; media-src ''none''; script-src github.githubassets.com; style-src ''unsafe-inline'' github.githubassets.com' - x-github-request-id: '9259:16D2:34545:580E5:5CED7FCE' + x-github-request-id: '0ADD:24AB:CD1AC9:147E0A1:5CF1BE79' request: uri: protocol: 'https:' @@ -2163,9 +2163,9 @@ requisitions: headers: content-length: 0 time: - startTime: '2019-05-28T18:36:59.027Z' - endTime: '2019-05-28T18:37:00.704Z' - totalTime: 1677 + startTime: '2019-05-31T23:53:25.156Z' + endTime: '2019-05-31T23:53:26.762Z' + totalTime: 1606 timeout: 5000 requisitions: [] iteration: 0 @@ -2173,28 +2173,28 @@ requisitions: valid: true tests: [] name: examples/recursion.yml - id: 1536580953_00da84a874_387945 + id: 2053250092_00da84a874_371173 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.028Z' - endTime: '2019-05-28T18:36:59.124Z' - totalTime: 96 + startTime: '2019-05-31T23:53:25.157Z' + endTime: '2019-05-31T23:53:25.247Z' + totalTime: 90 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580954_75977bc4c1_22919 + id: 2053250092_75977bc4c1_743490 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.047Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 45 + startTime: '2019-05-31T23:53:25.174Z' + endTime: '2019-05-31T23:53:25.216Z' + totalTime: 42 timeout: 5000 requisitions: [] iteration: 0 @@ -2202,13 +2202,13 @@ requisitions: valid: true tests: [] name: 'Requisition #1 [0]' - id: 1536580954_e87d17a22e_429633 + id: 2053250092_e87d17a22e_483365 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.099Z' - endTime: '2019-05-28T18:36:59.116Z' + startTime: '2019-05-31T23:53:25.222Z' + endTime: '2019-05-31T23:53:25.239Z' totalTime: 17 timeout: 5000 requisitions: @@ -2216,13 +2216,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.101Z' - endTime: '2019-05-28T18:36:59.109Z' + startTime: '2019-05-31T23:53:25.224Z' + endTime: '2019-05-31T23:53:25.232Z' totalTime: 8 timeout: 5000 requisitions: @@ -2230,14 +2230,14 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.101Z' - endTime: '2019-05-28T18:36:59.102Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.225Z' + endTime: '2019-05-31T23:53:25.225Z' + totalTime: 0 timeout: 5000 requisitions: [] iteration: 0 @@ -2245,14 +2245,14 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.105Z' - endTime: '2019-05-28T18:36:59.106Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.228Z' + endTime: '2019-05-31T23:53:25.230Z' + totalTime: 2 timeout: 5000 requisitions: [] iteration: 1 @@ -2260,13 +2260,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.107Z' - endTime: '2019-05-28T18:36:59.108Z' + startTime: '2019-05-31T23:53:25.231Z' + endTime: '2019-05-31T23:53:25.232Z' totalTime: 1 timeout: 5000 requisitions: [] @@ -2276,28 +2276,28 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.109Z' - endTime: '2019-05-28T18:36:59.114Z' - totalTime: 5 + startTime: '2019-05-31T23:53:25.233Z' + endTime: '2019-05-31T23:53:25.236Z' + totalTime: 3 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.110Z' - endTime: '2019-05-28T18:36:59.110Z' - totalTime: 0 + startTime: '2019-05-31T23:53:25.233Z' + endTime: '2019-05-31T23:53:25.234Z' + totalTime: 1 timeout: 5000 requisitions: [] iteration: 0 @@ -2305,14 +2305,14 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.111Z' - endTime: '2019-05-28T18:36:59.111Z' - totalTime: 0 + startTime: '2019-05-31T23:53:25.234Z' + endTime: '2019-05-31T23:53:25.235Z' + totalTime: 1 timeout: 5000 requisitions: [] iteration: 1 @@ -2320,14 +2320,14 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.111Z' - endTime: '2019-05-28T18:36:59.113Z' - totalTime: 2 + startTime: '2019-05-31T23:53:25.235Z' + endTime: '2019-05-31T23:53:25.236Z' + totalTime: 1 timeout: 5000 requisitions: [] iteration: 2 @@ -2336,28 +2336,28 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.114Z' - endTime: '2019-05-28T18:36:59.116Z' - totalTime: 2 + startTime: '2019-05-31T23:53:25.238Z' + endTime: '2019-05-31T23:53:25.239Z' + totalTime: 1 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.114Z' - endTime: '2019-05-28T18:36:59.115Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.238Z' + endTime: '2019-05-31T23:53:25.238Z' + totalTime: 0 timeout: 5000 requisitions: [] iteration: 0 @@ -2365,13 +2365,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.115Z' - endTime: '2019-05-28T18:36:59.115Z' + startTime: '2019-05-31T23:53:25.239Z' + endTime: '2019-05-31T23:53:25.239Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2380,13 +2380,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.116Z' - endTime: '2019-05-28T18:36:59.116Z' + startTime: '2019-05-31T23:53:25.239Z' + endTime: '2019-05-31T23:53:25.239Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2397,13 +2397,13 @@ requisitions: valid: true tests: [] name: 'Requisition #1 [1]' - id: 1536580954_e87d17a22e_429633 + id: 2053250092_e87d17a22e_483365 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.116Z' - endTime: '2019-05-28T18:36:59.120Z' + startTime: '2019-05-31T23:53:25.239Z' + endTime: '2019-05-31T23:53:25.243Z' totalTime: 4 timeout: 5000 requisitions: @@ -2411,13 +2411,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.117Z' - endTime: '2019-05-28T18:36:59.117Z' + startTime: '2019-05-31T23:53:25.240Z' + endTime: '2019-05-31T23:53:25.240Z' totalTime: 0 timeout: 5000 requisitions: @@ -2425,13 +2425,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.117Z' - endTime: '2019-05-28T18:36:59.117Z' + startTime: '2019-05-31T23:53:25.240Z' + endTime: '2019-05-31T23:53:25.240Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2440,13 +2440,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.117Z' - endTime: '2019-05-28T18:36:59.117Z' + startTime: '2019-05-31T23:53:25.240Z' + endTime: '2019-05-31T23:53:25.240Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2455,13 +2455,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.117Z' - endTime: '2019-05-28T18:36:59.117Z' + startTime: '2019-05-31T23:53:25.240Z' + endTime: '2019-05-31T23:53:25.240Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2471,27 +2471,27 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.117Z' - endTime: '2019-05-28T18:36:59.118Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.241Z' + endTime: '2019-05-31T23:53:25.241Z' + totalTime: 0 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.118Z' - endTime: '2019-05-28T18:36:59.118Z' + startTime: '2019-05-31T23:53:25.241Z' + endTime: '2019-05-31T23:53:25.241Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2500,13 +2500,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.118Z' - endTime: '2019-05-28T18:36:59.118Z' + startTime: '2019-05-31T23:53:25.241Z' + endTime: '2019-05-31T23:53:25.241Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2515,13 +2515,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.118Z' - endTime: '2019-05-28T18:36:59.118Z' + startTime: '2019-05-31T23:53:25.241Z' + endTime: '2019-05-31T23:53:25.241Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2531,27 +2531,27 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.119Z' - endTime: '2019-05-28T18:36:59.120Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.242Z' + endTime: '2019-05-31T23:53:25.242Z' + totalTime: 0 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.119Z' - endTime: '2019-05-28T18:36:59.119Z' + startTime: '2019-05-31T23:53:25.242Z' + endTime: '2019-05-31T23:53:25.242Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2560,13 +2560,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.119Z' - endTime: '2019-05-28T18:36:59.119Z' + startTime: '2019-05-31T23:53:25.242Z' + endTime: '2019-05-31T23:53:25.242Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2575,13 +2575,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.119Z' - endTime: '2019-05-28T18:36:59.119Z' + startTime: '2019-05-31T23:53:25.242Z' + endTime: '2019-05-31T23:53:25.242Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2592,13 +2592,13 @@ requisitions: valid: true tests: [] name: 'Requisition #1 [2]' - id: 1536580954_e87d17a22e_429633 + id: 2053250092_e87d17a22e_483365 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.120Z' - endTime: '2019-05-28T18:36:59.123Z' + startTime: '2019-05-31T23:53:25.243Z' + endTime: '2019-05-31T23:53:25.246Z' totalTime: 3 timeout: 5000 requisitions: @@ -2606,13 +2606,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.120Z' - endTime: '2019-05-28T18:36:59.121Z' + startTime: '2019-05-31T23:53:25.243Z' + endTime: '2019-05-31T23:53:25.244Z' totalTime: 1 timeout: 5000 requisitions: @@ -2620,13 +2620,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.120Z' - endTime: '2019-05-28T18:36:59.120Z' + startTime: '2019-05-31T23:53:25.243Z' + endTime: '2019-05-31T23:53:25.243Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2635,13 +2635,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.121Z' - endTime: '2019-05-28T18:36:59.121Z' + startTime: '2019-05-31T23:53:25.243Z' + endTime: '2019-05-31T23:53:25.243Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2650,13 +2650,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.121Z' - endTime: '2019-05-28T18:36:59.121Z' + startTime: '2019-05-31T23:53:25.244Z' + endTime: '2019-05-31T23:53:25.244Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2666,13 +2666,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.121Z' - endTime: '2019-05-28T18:36:59.122Z' + startTime: '2019-05-31T23:53:25.244Z' + endTime: '2019-05-31T23:53:25.245Z' totalTime: 1 timeout: 5000 requisitions: @@ -2680,13 +2680,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.121Z' - endTime: '2019-05-28T18:36:59.121Z' + startTime: '2019-05-31T23:53:25.244Z' + endTime: '2019-05-31T23:53:25.244Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2695,13 +2695,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.122Z' - endTime: '2019-05-28T18:36:59.122Z' + startTime: '2019-05-31T23:53:25.244Z' + endTime: '2019-05-31T23:53:25.244Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2710,13 +2710,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.122Z' - endTime: '2019-05-28T18:36:59.122Z' + startTime: '2019-05-31T23:53:25.245Z' + endTime: '2019-05-31T23:53:25.245Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2726,13 +2726,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_55233c1965_639802 + id: 2053250092_55233c1965_101914 level: 3 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.122Z' - endTime: '2019-05-28T18:36:59.123Z' + startTime: '2019-05-31T23:53:25.245Z' + endTime: '2019-05-31T23:53:25.246Z' totalTime: 1 timeout: 5000 requisitions: @@ -2740,13 +2740,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.122Z' - endTime: '2019-05-28T18:36:59.122Z' + startTime: '2019-05-31T23:53:25.245Z' + endTime: '2019-05-31T23:53:25.245Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2755,13 +2755,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.123Z' - endTime: '2019-05-28T18:36:59.123Z' + startTime: '2019-05-31T23:53:25.245Z' + endTime: '2019-05-31T23:53:25.245Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2770,13 +2770,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_5e02f9345e_95904 + id: 2053250092_5e02f9345e_466811 level: 4 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.123Z' - endTime: '2019-05-28T18:36:59.123Z' + startTime: '2019-05-31T23:53:25.246Z' + endTime: '2019-05-31T23:53:25.246Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2791,13 +2791,13 @@ requisitions: valid: true description: 'Expected ''store.counter'' to be equal to ''27''. Received ''27''' name: 'Requisition #2' - id: 1536580954_aef615856f_485912 + id: 2053250092_aef615856f_136339 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.124Z' - endTime: '2019-05-28T18:36:59.124Z' + startTime: '2019-05-31T23:53:25.247Z' + endTime: '2019-05-31T23:53:25.247Z' totalTime: 0 timeout: 5000 requisitions: [] @@ -2807,28 +2807,28 @@ requisitions: valid: true tests: [] name: examples/requisition-delay-iterations.yml - id: 1536580954_4c0231a3e7_830880 + id: 2053250092_4c0231a3e7_574407 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.029Z' - endTime: '2019-05-28T18:37:02.118Z' - totalTime: 3089 + startTime: '2019-05-31T23:53:25.157Z' + endTime: '2019-05-31T23:53:28.242Z' + totalTime: 3085 timeout: 5000 requisitions: - valid: true tests: [] name: 'iterations [0]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.048Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 44 + startTime: '2019-05-31T23:53:25.174Z' + endTime: '2019-05-31T23:53:25.216Z' + totalTime: 42 timeout: 5000 requisitions: [] iteration: 0 @@ -2836,13 +2836,13 @@ requisitions: valid: true tests: [] name: 'iterations [1]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.096Z' - endTime: '2019-05-28T18:36:59.101Z' + startTime: '2019-05-31T23:53:25.220Z' + endTime: '2019-05-31T23:53:25.225Z' totalTime: 5 timeout: 5000 requisitions: [] @@ -2851,13 +2851,13 @@ requisitions: valid: true tests: [] name: 'iterations [2]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.102Z' - endTime: '2019-05-28T18:36:59.105Z' + startTime: '2019-05-31T23:53:25.226Z' + endTime: '2019-05-31T23:53:25.229Z' totalTime: 3 timeout: 5000 requisitions: [] @@ -2866,14 +2866,14 @@ requisitions: valid: true tests: [] name: 'iterations [3]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.106Z' - endTime: '2019-05-28T18:36:59.108Z' - totalTime: 2 + startTime: '2019-05-31T23:53:25.230Z' + endTime: '2019-05-31T23:53:25.231Z' + totalTime: 1 timeout: 5000 requisitions: [] iteration: 3 @@ -2881,14 +2881,14 @@ requisitions: valid: true tests: [] name: 'iterations [4]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.108Z' - endTime: '2019-05-28T18:36:59.109Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.232Z' + endTime: '2019-05-31T23:53:25.232Z' + totalTime: 0 timeout: 5000 requisitions: [] iteration: 4 @@ -2896,14 +2896,14 @@ requisitions: valid: true tests: [] name: 'iterations [5]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.109Z' - endTime: '2019-05-28T18:36:59.110Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.233Z' + endTime: '2019-05-31T23:53:25.233Z' + totalTime: 0 timeout: 5000 requisitions: [] iteration: 5 @@ -2911,14 +2911,14 @@ requisitions: valid: true tests: [] name: 'iterations [6]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.110Z' - endTime: '2019-05-28T18:36:59.111Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.234Z' + endTime: '2019-05-31T23:53:25.234Z' + totalTime: 0 timeout: 5000 requisitions: [] iteration: 6 @@ -2926,14 +2926,14 @@ requisitions: valid: true tests: [] name: 'iterations [7]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.111Z' - endTime: '2019-05-28T18:36:59.113Z' - totalTime: 2 + startTime: '2019-05-31T23:53:25.235Z' + endTime: '2019-05-31T23:53:25.235Z' + totalTime: 0 timeout: 5000 requisitions: [] iteration: 7 @@ -2941,14 +2941,14 @@ requisitions: valid: true tests: [] name: 'iterations [8]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.113Z' - endTime: '2019-05-28T18:36:59.113Z' - totalTime: 0 + startTime: '2019-05-31T23:53:25.235Z' + endTime: '2019-05-31T23:53:25.236Z' + totalTime: 1 timeout: 5000 requisitions: [] iteration: 8 @@ -2956,14 +2956,14 @@ requisitions: valid: true tests: [] name: 'iterations [9]' - id: 1536580954_b4f515b70d_782407 + id: 2053250092_b4f515b70d_755538 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.114Z' - endTime: '2019-05-28T18:36:59.114Z' - totalTime: 0 + startTime: '2019-05-31T23:53:25.236Z' + endTime: '2019-05-31T23:53:25.238Z' + totalTime: 2 timeout: 5000 requisitions: [] iteration: 9 @@ -2981,16 +2981,16 @@ requisitions: - name: 'Assertion #2' valid: true - description: 'Expected ''new Date().getTime() - requisition.startTime.getTime()'' to be greater than or equal to ''3000''. Received ''3003''' + description: 'Expected ''new Date().getTime() - requisition.startTime.getTime()'' to be greater than or equal to ''3000''. Received ''3004''' name: delayed - id: 1536580954_2181a04f2f_65231 + id: 2053250092_2181a04f2f_234793 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.115Z' - endTime: '2019-05-28T18:37:02.118Z' - totalTime: 3003 + startTime: '2019-05-31T23:53:25.238Z' + endTime: '2019-05-31T23:53:28.242Z' + totalTime: 3004 timeout: 5000 requisitions: [] iteration: 0 @@ -2999,28 +2999,28 @@ requisitions: valid: true tests: [] name: examples/skipped.yml - id: 1536580954_bb333e1dde_69430 + id: 2053250093_bb333e1dde_365567 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.030Z' - endTime: '2019-05-28T18:36:59.115Z' - totalTime: 85 + startTime: '2019-05-31T23:53:25.159Z' + endTime: '2019-05-31T23:53:25.239Z' + totalTime: 80 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0 [0]' - id: 1536580954_fc4b0751bf_6532 + id: 2053250093_fc4b0751bf_86111 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.048Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 44 + startTime: '2019-05-31T23:53:25.175Z' + endTime: '2019-05-31T23:53:25.216Z' + totalTime: 41 timeout: 5000 requisitions: [] iteration: 0 @@ -3028,13 +3028,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [1]' - id: 1536580954_fc4b0751bf_6532 + id: 2053250093_fc4b0751bf_86111 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.097Z' - endTime: '2019-05-28T18:36:59.101Z' + startTime: '2019-05-31T23:53:25.221Z' + endTime: '2019-05-31T23:53:25.225Z' totalTime: 4 timeout: 5000 requisitions: [] @@ -3043,13 +3043,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [2]' - id: 1536580954_fc4b0751bf_6532 + id: 2053250093_fc4b0751bf_86111 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.102Z' - endTime: '2019-05-28T18:36:59.105Z' + startTime: '2019-05-31T23:53:25.226Z' + endTime: '2019-05-31T23:53:25.229Z' totalTime: 3 timeout: 5000 requisitions: [] @@ -3058,13 +3058,13 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [3]' - id: 1536580954_fc4b0751bf_6532 + id: 2053250093_fc4b0751bf_86111 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.107Z' - endTime: '2019-05-28T18:36:59.108Z' + startTime: '2019-05-31T23:53:25.230Z' + endTime: '2019-05-31T23:53:25.231Z' totalTime: 1 timeout: 5000 requisitions: [] @@ -3073,14 +3073,14 @@ requisitions: valid: true tests: [] name: 'Requisition #0 [4]' - id: 1536580954_fc4b0751bf_6532 + id: 2053250093_fc4b0751bf_86111 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.108Z' - endTime: '2019-05-28T18:36:59.109Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.232Z' + endTime: '2019-05-31T23:53:25.232Z' + totalTime: 0 timeout: 5000 requisitions: [] iteration: 4 @@ -3092,14 +3092,14 @@ requisitions: valid: true description: 'Expected ''store.skippedExecutions'' to be equal to ''5''. Received ''5''' name: 'Requisition #1' - id: 1536580954_0813922659_695668 + id: 2053250093_0813922659_133286 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.109Z' - endTime: '2019-05-28T18:36:59.110Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.233Z' + endTime: '2019-05-31T23:53:25.233Z' + totalTime: 0 timeout: 5000 requisitions: [] iteration: 0 @@ -3111,13 +3111,13 @@ requisitions: name: 'Requisition skipped' description: 'There is no iterations set to this requisition' name: 'Requisition #2' - id: 1536580954_38e558917b_211594 + id: 2053250093_38e558917b_698875 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.110Z' - endTime: '2019-05-28T18:36:59.110Z' + startTime: '2019-05-31T23:53:25.234Z' + endTime: '2019-05-31T23:53:25.234Z' totalTime: 0 requisitions: [] - @@ -3128,13 +3128,13 @@ requisitions: name: 'Requisition skipped' description: 'There is no iterations set to this requisition' name: 'Requisition #3' - id: 1536580954_4aa5c78448_672735 + id: 2053250093_4aa5c78448_178169 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.111Z' - endTime: '2019-05-28T18:36:59.111Z' + startTime: '2019-05-31T23:53:25.234Z' + endTime: '2019-05-31T23:53:25.234Z' totalTime: 0 requisitions: [] - @@ -3145,13 +3145,13 @@ requisitions: name: 'Requisition skipped' description: 'There is no iterations set to this requisition' name: 'Requisition #4' - id: 1536580954_6ac450666c_134417 + id: 2053250093_6ac450666c_329415 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.111Z' - endTime: '2019-05-28T18:36:59.111Z' + startTime: '2019-05-31T23:53:25.234Z' + endTime: '2019-05-31T23:53:25.234Z' totalTime: 0 requisitions: [] - @@ -3162,14 +3162,14 @@ requisitions: valid: true description: 'Expecting ''true'' to be true. Received: true' name: 'Requisition #5' - id: 1536580954_23f493719b_88366 + id: 2053250093_23f493719b_507993 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.111Z' - endTime: '2019-05-28T18:36:59.111Z' - totalTime: 0 + startTime: '2019-05-31T23:53:25.234Z' + endTime: '2019-05-31T23:53:25.235Z' + totalTime: 1 timeout: 5000 requisitions: [] iteration: 0 @@ -3177,14 +3177,14 @@ requisitions: valid: true tests: [] name: 'Requisition #6' - id: 1536580954_f9b72d5147_154931 + id: 2053250093_f9b72d5147_146096 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.113Z' - endTime: '2019-05-28T18:36:59.113Z' - totalTime: 0 + startTime: '2019-05-31T23:53:25.235Z' + endTime: '2019-05-31T23:53:25.236Z' + totalTime: 1 timeout: 5000 requisitions: [] iteration: 0 @@ -3196,14 +3196,14 @@ requisitions: valid: true description: 'Expecting ''store.executed'' to be defined' name: 'Requisition #7' - id: 1536580954_b41f5d915d_279321 + id: 2053250093_b41f5d915d_376696 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.114Z' - endTime: '2019-05-28T18:36:59.114Z' - totalTime: 0 + startTime: '2019-05-31T23:53:25.236Z' + endTime: '2019-05-31T23:53:25.238Z' + totalTime: 2 timeout: 5000 requisitions: [] iteration: 0 @@ -3212,25 +3212,25 @@ requisitions: valid: true tests: [] name: examples/ssl.yml - id: 1536580954_fbc833de59_645789 + id: 2053250093_fbc833de59_319629 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.031Z' - endTime: '2019-05-28T18:37:01.209Z' - totalTime: 2178 + startTime: '2019-05-31T23:53:25.161Z' + endTime: '2019-05-31T23:53:27.334Z' + totalTime: 2173 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580954_ec6b6289cc_644044 + id: 2053250093_ec6b6289cc_910022 level: 2 subscriptions: - - id: 1536580954_d5884fd0ec_414893 + id: 2053250093_d5884fd0ec_80237 name: 'Subscription #0' type: ssl tests: @@ -3243,7 +3243,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: payload: secureMessagereusingSecureMessage stream: @@ -3252,7 +3252,7 @@ requisitions: port: 23082 publishers: - - id: 1536580954_e063362e26_986654 + id: 2053250093_e063362e26_505715 name: 'Publisher #0' valid: true type: ssl @@ -3269,17 +3269,17 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:00.204Z' + publishTime: '2019-05-31T23:53:26.325Z' messageReceived: payload: hisecureResponse stream: address: 127.0.0.1 family: IPv4 - port: 62103 + port: 64608 time: - startTime: '2019-05-28T18:36:59.049Z' - endTime: '2019-05-28T18:37:00.204Z' - totalTime: 1155 + startTime: '2019-05-31T23:53:25.176Z' + endTime: '2019-05-31T23:53:26.325Z' + totalTime: 1149 timeout: 5000 requisitions: [] iteration: 0 @@ -3287,11 +3287,11 @@ requisitions: valid: true tests: [] name: 'Requisition #1' - id: 1536580954_c8e796a6f7_398043 + id: 2053250093_c8e796a6f7_609546 level: 2 subscriptions: - - id: 1536580954_464eaccac3_563012 + id: 2053250093_464eaccac3_881301 name: 'Subscription #0' type: ssl tests: @@ -3304,12 +3304,12 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:37:00.205Z' + connectionTime: '2019-05-31T23:53:26.327Z' messageReceived: payload: reusingSecureMessage publishers: - - id: 1536580954_26f6887fe6_503845 + id: 2053250093_26f6887fe6_329717 name: 'Publisher #0' valid: true type: ssl @@ -3326,13 +3326,13 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:01.208Z' + publishTime: '2019-05-31T23:53:27.333Z' messageReceived: payload: reusingSecureResponse time: - startTime: '2019-05-28T18:37:00.205Z' - endTime: '2019-05-28T18:37:01.208Z' - totalTime: 1003 + startTime: '2019-05-31T23:53:26.326Z' + endTime: '2019-05-31T23:53:27.334Z' + totalTime: 1008 timeout: 5000 requisitions: [] iteration: 0 @@ -3341,7 +3341,7 @@ requisitions: valid: true tests: [] name: examples/stdin.yml - id: 1536580955_ae6c8a1714_906296 + id: 2053250093_ae6c8a1714_113788 level: 1 subscriptions: - @@ -3358,13 +3358,13 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.080Z' + connectionTime: '2019-05-31T23:53:25.205Z' messageReceived: 'enqueuer standard-input payload' publishers: [] time: - startTime: '2019-05-28T18:36:59.032Z' - endTime: '2019-05-28T18:36:59.153Z' - totalTime: 121 + startTime: '2019-05-31T23:53:25.161Z' + endTime: '2019-05-31T23:53:25.276Z' + totalTime: 115 timeout: 5000 requisitions: [] iteration: 0 @@ -3372,28 +3372,28 @@ requisitions: valid: true tests: [] name: examples/store.yml - id: 1536580955_7b9aa96592_564254 + id: 2053250093_7b9aa96592_348801 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.033Z' - endTime: '2019-05-28T18:36:59.108Z' - totalTime: 75 + startTime: '2019-05-31T23:53:25.162Z' + endTime: '2019-05-31T23:53:25.232Z' + totalTime: 70 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580955_478dfcaed5_847608 + id: 2053250093_478dfcaed5_321115 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.049Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 43 + startTime: '2019-05-31T23:53:25.177Z' + endTime: '2019-05-31T23:53:25.216Z' + totalTime: 39 timeout: 5000 requisitions: [] iteration: 0 @@ -3409,14 +3409,14 @@ requisitions: valid: true description: 'Expecting ''store.PATH'' to be defined' name: 'Requisition #1' - id: 1536580955_c96621cca9_245418 + id: 2053250093_c96621cca9_509940 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.099Z' - endTime: '2019-05-28T18:36:59.102Z' - totalTime: 3 + startTime: '2019-05-31T23:53:25.223Z' + endTime: '2019-05-31T23:53:25.225Z' + totalTime: 2 timeout: 5000 requisitions: [] iteration: 0 @@ -3428,14 +3428,14 @@ requisitions: valid: true description: 'Expected ''124'' to be equal to ''124''. Received ''124''' name: 'Requisition #2' - id: 1536580955_05a830b0a8_266748 + id: 2053250093_05a830b0a8_530501 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.105Z' - endTime: '2019-05-28T18:36:59.106Z' - totalTime: 1 + startTime: '2019-05-31T23:53:25.228Z' + endTime: '2019-05-31T23:53:25.230Z' + totalTime: 2 timeout: 5000 requisitions: [] iteration: 0 @@ -3444,25 +3444,25 @@ requisitions: valid: true tests: [] name: examples/tcp.yml - id: 1536580955_bf35f3e127_202898 + id: 2053250093_bf35f3e127_245884 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.035Z' - endTime: '2019-05-28T18:37:02.171Z' - totalTime: 3136 + startTime: '2019-05-31T23:53:25.164Z' + endTime: '2019-05-31T23:53:28.298Z' + totalTime: 3134 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580955_595f6dfba1_865448 + id: 2053250093_595f6dfba1_132896 level: 2 subscriptions: - - id: 1536580955_4e5617f719_88411 + id: 2053250093_4e5617f719_113218 name: 'Subscription #0' type: tcp tests: @@ -3479,7 +3479,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: payload: 'Hey Jude' stream: @@ -3488,7 +3488,7 @@ requisitions: port: 23069 publishers: - - id: 1536580955_3b7a9e3645_898745 + id: 2053250093_3b7a9e3645_503130 name: 'Publisher #0' valid: true type: tcp @@ -3505,17 +3505,17 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:00.161Z' + publishTime: '2019-05-31T23:53:26.287Z' messageReceived: payload: 'Do not make it bad' stream: address: 127.0.0.1 family: IPv4 - port: 62104 + port: 64609 time: - startTime: '2019-05-28T18:36:59.050Z' - endTime: '2019-05-28T18:37:00.161Z' - totalTime: 1111 + startTime: '2019-05-31T23:53:25.177Z' + endTime: '2019-05-31T23:53:26.287Z' + totalTime: 1110 timeout: 3000 requisitions: [] iteration: 0 @@ -3523,11 +3523,11 @@ requisitions: valid: true tests: [] name: 'Requisition #1' - id: 1536580955_3f1b829a68_315148 + id: 2053250094_3f1b829a68_55561 level: 2 subscriptions: - - id: 1536580955_944c1488d1_411220 + id: 2053250094_944c1488d1_730008 name: 'Subscription #0' type: tcp tests: @@ -3540,7 +3540,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:37:00.163Z' + connectionTime: '2019-05-31T23:53:26.289Z' messageReceived: payload: 'I do not careThe socket is still open' stream: @@ -3549,7 +3549,7 @@ requisitions: port: 23070 publishers: - - id: 1536580955_369e07d49e_291358 + id: 2053250094_369e07d49e_665577 name: 'Publisher #0' valid: true type: tcp @@ -3566,17 +3566,17 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:01.167Z' + publishTime: '2019-05-31T23:53:27.291Z' messageReceived: payload: EnqueuerRocks stream: address: 127.0.0.1 family: IPv4 - port: 62119 + port: 64624 time: - startTime: '2019-05-28T18:37:00.162Z' - endTime: '2019-05-28T18:37:01.167Z' - totalTime: 1005 + startTime: '2019-05-31T23:53:26.288Z' + endTime: '2019-05-31T23:53:27.291Z' + totalTime: 1003 timeout: 3000 requisitions: [] iteration: 0 @@ -3584,11 +3584,11 @@ requisitions: valid: true tests: [] name: 'Requisition #2' - id: 1536580955_7b3d80f664_335283 + id: 2053250094_7b3d80f664_834849 level: 2 subscriptions: - - id: 1536580955_a5c6b9dc6a_330921 + id: 2053250094_a5c6b9dc6a_395193 name: 'Subscription #0' type: tcp tests: @@ -3601,12 +3601,12 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:37:01.169Z' + connectionTime: '2019-05-31T23:53:27.293Z' messageReceived: payload: 'The socket is still open' publishers: - - id: 1536580955_c04ec1e8aa_399089 + id: 2053250094_c04ec1e8aa_146319 name: 'Publisher #0' valid: true type: tcp @@ -3623,13 +3623,13 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:02.170Z' + publishTime: '2019-05-31T23:53:28.297Z' messageReceived: payload: 'enqueuer Rocks' time: - startTime: '2019-05-28T18:37:01.168Z' - endTime: '2019-05-28T18:37:02.171Z' - totalTime: 1003 + startTime: '2019-05-31T23:53:27.293Z' + endTime: '2019-05-31T23:53:28.297Z' + totalTime: 1004 timeout: 3000 requisitions: [] iteration: 0 @@ -3638,25 +3638,25 @@ requisitions: valid: true tests: [] name: examples/udp.yml - id: 1536580955_348faa9734_458700 + id: 2053250094_348faa9734_532887 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.036Z' - endTime: '2019-05-28T18:36:59.158Z' - totalTime: 122 + startTime: '2019-05-31T23:53:25.165Z' + endTime: '2019-05-31T23:53:25.282Z' + totalTime: 117 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580955_5fb69ed363_349918 + id: 2053250094_5fb69ed363_476756 level: 2 subscriptions: - - id: 1536580955_81a962f56b_556733 + id: 2053250094_81a962f56b_443930 name: 'subscription description' type: udp tests: @@ -3673,7 +3673,7 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.085Z' + connectionTime: '2019-05-31T23:53:25.210Z' messageReceived: payload: type: Buffer @@ -3683,11 +3683,11 @@ requisitions: remoteInfo: address: 127.0.0.1 family: IPv4 - port: 53842 + port: 56462 size: 2 publishers: - - id: 1536580955_f1c5db9ba9_563985 + id: 2053250094_f1c5db9ba9_878158 name: 'publisher description' valid: true type: udp @@ -3696,11 +3696,11 @@ requisitions: name: Published valid: true description: 'Published successfully' - publishTime: '2019-05-28T18:36:59.152Z' + publishTime: '2019-05-31T23:53:25.275Z' time: - startTime: '2019-05-28T18:36:59.051Z' - endTime: '2019-05-28T18:36:59.158Z' - totalTime: 107 + startTime: '2019-05-31T23:53:25.178Z' + endTime: '2019-05-31T23:53:25.281Z' + totalTime: 103 timeout: 5000 requisitions: [] iteration: 0 @@ -3709,25 +3709,25 @@ requisitions: valid: true tests: [] name: examples/uds.yml - id: 1536580956_7441aa681e_765556 + id: 2053250094_7441aa681e_766737 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.039Z' - endTime: '2019-05-28T18:37:02.149Z' - totalTime: 3110 + startTime: '2019-05-31T23:53:25.167Z' + endTime: '2019-05-31T23:53:28.269Z' + totalTime: 3102 timeout: 5000 requisitions: - valid: true tests: [] name: 'Requisition #0' - id: 1536580956_0368c25555_656075 + id: 2053250094_0368c25555_745641 level: 2 subscriptions: - - id: 1536580956_649bd5228c_226819 + id: 2053250094_649bd5228c_706026 name: 'Subscription #0' type: uds tests: @@ -3740,14 +3740,14 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:36:59.127Z' + connectionTime: '2019-05-31T23:53:25.250Z' messageReceived: payload: enqueuer stream: {} path: /tmp/unix.sock publishers: - - id: 1536580956_b14ca3892b_823963 + id: 2053250094_b14ca3892b_393370 name: 'Publisher #0' valid: true type: uds @@ -3764,14 +3764,14 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:00.139Z' + publishTime: '2019-05-31T23:53:26.260Z' messageReceived: payload: responsePayload stream: {} time: - startTime: '2019-05-28T18:36:59.052Z' - endTime: '2019-05-28T18:37:00.139Z' - totalTime: 1087 + startTime: '2019-05-31T23:53:25.179Z' + endTime: '2019-05-31T23:53:26.260Z' + totalTime: 1081 timeout: 3000 requisitions: [] iteration: 0 @@ -3779,11 +3779,11 @@ requisitions: valid: true tests: [] name: 'Requisition #1' - id: 1536580956_7c8bece7e6_575484 + id: 2053250094_7c8bece7e6_509347 level: 2 subscriptions: - - id: 1536580956_84a1c6e69b_607975 + id: 2053250094_84a1c6e69b_885060 name: 'Subscription #0' type: uds tests: @@ -3796,14 +3796,14 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:37:00.141Z' + connectionTime: '2019-05-31T23:53:26.263Z' messageReceived: payload: 'enqueuerI am still bidirectional' stream: {} path: /tmp/unix2.sock publishers: - - id: 1536580956_297aae1eb3_281853 + id: 2053250094_297aae1eb3_561047 name: 'Publisher #0' valid: true type: uds @@ -3816,11 +3816,11 @@ requisitions: name: Published valid: true description: 'Published successfully' - publishTime: '2019-05-28T18:37:01.145Z' + publishTime: '2019-05-31T23:53:27.263Z' time: - startTime: '2019-05-28T18:37:00.141Z' - endTime: '2019-05-28T18:37:01.145Z' - totalTime: 1004 + startTime: '2019-05-31T23:53:26.262Z' + endTime: '2019-05-31T23:53:27.263Z' + totalTime: 1001 timeout: 5000 requisitions: [] iteration: 0 @@ -3828,11 +3828,11 @@ requisitions: valid: true tests: [] name: 'Requisition #2' - id: 1536580956_3321951a43_998974 + id: 2053250094_3321951a43_71022 level: 2 subscriptions: - - id: 1536580956_d308bbf817_52601 + id: 2053250094_d308bbf817_877624 name: 'Subscription #0' type: uds tests: @@ -3845,13 +3845,13 @@ requisitions: name: 'Message received' description: 'Subscription has received its message' valid: true - connectionTime: '2019-05-28T18:37:01.146Z' + connectionTime: '2019-05-31T23:53:27.265Z' messageReceived: payload: 'I am still opened' stream: {} publishers: - - id: 1536580956_b6920facd0_152336 + id: 2053250094_b6920facd0_865948 name: 'Publisher #0' valid: true type: uds @@ -3868,14 +3868,14 @@ requisitions: name: 'Response message received' valid: true description: 'Response message was received' - publishTime: '2019-05-28T18:37:02.148Z' + publishTime: '2019-05-31T23:53:28.268Z' messageReceived: payload: 'I am still bidirectional' stream: {} time: - startTime: '2019-05-28T18:37:01.146Z' - endTime: '2019-05-28T18:37:02.148Z' - totalTime: 1002 + startTime: '2019-05-31T23:53:27.265Z' + endTime: '2019-05-31T23:53:28.268Z' + totalTime: 1003 timeout: 5000 requisitions: [] iteration: 0 @@ -3884,14 +3884,14 @@ requisitions: valid: true tests: [] name: examples/variables.yml - id: 1536580956_3a6eb18d6d_736094 + id: 2053250094_3a6eb18d6d_184733 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.040Z' - endTime: '2019-05-28T18:36:59.106Z' - totalTime: 66 + startTime: '2019-05-31T23:53:25.168Z' + endTime: '2019-05-31T23:53:25.229Z' + totalTime: 61 timeout: 5000 requisitions: - @@ -3906,14 +3906,14 @@ requisitions: valid: true description: 'Expected ''store.otherKey / 2'' to be equal to ''1''. Received ''1''' name: 'Requisition #0' - id: 1536580956_bdf0ac0681_139932 + id: 2053250094_bdf0ac0681_346506 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.053Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 39 + startTime: '2019-05-31T23:53:25.180Z' + endTime: '2019-05-31T23:53:25.216Z' + totalTime: 36 timeout: 5000 requisitions: [] iteration: 0 @@ -3933,13 +3933,13 @@ requisitions: valid: true description: 'Expected ''2 * 5'' to be equal to ''10''. Received ''10''' name: 'Requisition #1' - id: 1536580956_5153bc0c75_932752 + id: 2053250094_5153bc0c75_354849 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.100Z' - endTime: '2019-05-28T18:36:59.102Z' + startTime: '2019-05-31T23:53:25.223Z' + endTime: '2019-05-31T23:53:25.225Z' totalTime: 2 timeout: 5000 requisitions: [] @@ -3957,14 +3957,14 @@ requisitions: valid: true description: 'Expected ''requisition.number'' to be equal to ''123''. Received ''123''' name: examples/number.json - id: 1536580956_1925b227c5_812941 + id: 2053250094_1925b227c5_357405 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.041Z' - endTime: '2019-05-28T18:36:59.090Z' - totalTime: 49 + startTime: '2019-05-31T23:53:25.169Z' + endTime: '2019-05-31T23:53:25.214Z' + totalTime: 45 timeout: 5000 requisitions: [] iteration: 0 @@ -3972,14 +3972,14 @@ requisitions: valid: true tests: [] name: examples/requisition-navigation.yaml - id: 1536580957_e848774ac1_268738 + id: 2053250094_e848774ac1_73575 level: 1 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.041Z' - endTime: '2019-05-28T18:36:59.106Z' - totalTime: 65 + startTime: '2019-05-31T23:53:25.169Z' + endTime: '2019-05-31T23:53:25.229Z' + totalTime: 60 timeout: 5000 requisitions: - @@ -3990,14 +3990,14 @@ requisitions: valid: true description: 'Expected ''requisition.parent.requisitions[1].name'' to be equal to ''second''. Received ''second''' name: first - id: 1536580957_542da8f206_677751 + id: 2053250094_542da8f206_732829 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.053Z' - endTime: '2019-05-28T18:36:59.092Z' - totalTime: 39 + startTime: '2019-05-31T23:53:25.180Z' + endTime: '2019-05-31T23:53:25.216Z' + totalTime: 36 timeout: 5000 requisitions: [] iteration: 0 @@ -4009,14 +4009,14 @@ requisitions: valid: true description: 'Expected ''requisition.parent.requisitions[0].name'' to be equal to ''first''. Received ''first''' name: second - id: 1536580957_d7c80e2b4e_752363 + id: 2053250094_d7c80e2b4e_557232 level: 2 subscriptions: [] publishers: [] time: - startTime: '2019-05-28T18:36:59.100Z' - endTime: '2019-05-28T18:36:59.102Z' - totalTime: 2 + startTime: '2019-05-31T23:53:25.224Z' + endTime: '2019-05-31T23:53:25.225Z' + totalTime: 1 timeout: 5000 requisitions: [] iteration: 0 diff --git a/src/plugins/dynamic-modules-manager.ts b/src/plugins/dynamic-modules-manager.ts index 50290997..c20240a2 100644 --- a/src/plugins/dynamic-modules-manager.ts +++ b/src/plugins/dynamic-modules-manager.ts @@ -20,7 +20,7 @@ export class DynamicModulesManager { private readonly asserterManager: AsserterManager; private readonly builtInModules: string[]; private readonly implicitModules: string[]; - private explicitModules: string[]; + private readonly explicitModules: string[]; private constructor() { this.protocolManager = new ProtocolManager(); @@ -28,7 +28,8 @@ export class DynamicModulesManager { this.objectParserManager = new ObjectParserManager(); this.asserterManager = new AsserterManager(); this.builtInModules = this.findEveryEntryPointableBuiltInModule(); - this.implicitModules = this.findEveryEnqueuerImplicitPluginPackage(); + this.implicitModules = this.findEveryEnqueuerImplicitPluginPackage(os.homedir() + '/.nqr/node_modules/*') + .concat(this.findEveryEnqueuerImplicitPluginPackage(__dirname + '/../../node_modules/*')); this.explicitModules = []; this.initialModulesLoad(); } @@ -124,9 +125,8 @@ export class DynamicModulesManager { return Array.from(plugins.values()); } - private findEveryEnqueuerImplicitPluginPackage(): string[] { + private findEveryEnqueuerImplicitPluginPackage(pattern: string): string[] { try { - const pattern = os.homedir() + '/.nqr/node_modules/*'; return (glob.sync(pattern, {}) || []) .map(module => module.replace(/\.js/, '')) .filter(module => {