@loadmill/executer 0.1.37 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/errors.d.ts +5 -0
- package/dist/errors.js +38 -0
- package/dist/errors.js.map +1 -0
- package/dist/extraction-combiner.d.ts +4 -2
- package/dist/extraction-combiner.js +96 -46
- package/dist/extraction-combiner.js.map +1 -1
- package/dist/mill-version.js +1 -1
- package/dist/request-sequence-result.d.ts +2 -1
- package/dist/request-sequence-result.js.map +1 -1
- package/dist/sequence.js +288 -115
- package/dist/sequence.js.map +1 -1
- package/dist/test-run-event-emitter.d.ts +3 -3
- package/dist/test-run-event-emitter.js.map +1 -1
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +29 -0
- package/dist/utils.js.map +1 -0
- package/dist/ws.d.ts +69 -0
- package/dist/ws.js +468 -0
- package/dist/ws.js.map +1 -0
- package/package.json +4 -4
- package/src/errors.ts +10 -0
- package/src/extraction-combiner.ts +15 -4
- package/src/mill-version.ts +1 -1
- package/src/request-sequence-result.ts +2 -0
- package/src/sequence.ts +136 -36
- package/src/test-run-event-emitter.ts +3 -2
- package/src/utils.ts +8 -0
- package/src/ws.ts +273 -0
package/dist/errors.d.ts
ADDED
package/dist/errors.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.RequestFailuresError = void 0;
|
|
19
|
+
var RequestFailuresError = /** @class */ (function (_super) {
|
|
20
|
+
__extends(RequestFailuresError, _super);
|
|
21
|
+
function RequestFailuresError(message, histogram) {
|
|
22
|
+
var _a;
|
|
23
|
+
if (histogram === void 0) { histogram = (_a = {}, _a[message] = 1, _a); }
|
|
24
|
+
var _this = _super.call(this, message) || this;
|
|
25
|
+
Object.defineProperty(_this, "histogram", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
configurable: true,
|
|
28
|
+
writable: true,
|
|
29
|
+
value: histogram
|
|
30
|
+
});
|
|
31
|
+
// Workaround suggested in: https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
|
|
32
|
+
Object.setPrototypeOf(_this, RequestFailuresError.prototype);
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
return RequestFailuresError;
|
|
36
|
+
}(Error));
|
|
37
|
+
exports.RequestFailuresError = RequestFailuresError;
|
|
38
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA;IAA0C,wCAAK;IAC7C,8BAAY,OAAe,EAAS,SAAuC;;QAAvC,0BAAA,EAAA,sBAAyB,GAAC,OAAO,IAAG,CAAC,KAAE;QAA3E,YACE,kBAAM,OAAO,CAAC,SAIf;;;;;mBALmC;;QAGlC,wKAAwK;QACxK,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;;IAC9D,CAAC;IACH,2BAAC;AAAD,CAAC,AAPD,CAA0C,KAAK,GAO9C;AAPY,oDAAoB"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { HeaderExtractor, CheerioExtractor, JsonPathExtractor, ExpressionExtractor } from '@loadmill/core/dist/parameters/extractors';
|
|
2
2
|
import { Parameters } from '@loadmill/core/dist/parameters';
|
|
3
3
|
import { Extraction } from '@loadmill/core/dist/request';
|
|
4
|
+
import { WSExtractionData } from '@loadmill/core/dist/parameters/extractors/ws-extractor';
|
|
4
5
|
export declare class ExtractionCombiner {
|
|
5
6
|
private contextParameters;
|
|
6
7
|
private res;
|
|
8
|
+
private wsExtractionData;
|
|
7
9
|
headerExtractor: HeaderExtractor;
|
|
8
10
|
cheerioExtractor: CheerioExtractor;
|
|
9
11
|
jsonPathExtractor: JsonPathExtractor;
|
|
10
12
|
ednPathExtractor: JsonPathExtractor;
|
|
11
13
|
expressionExtractor: ExpressionExtractor;
|
|
12
|
-
constructor(contextParameters: Parameters, res: any);
|
|
13
|
-
combine(extraction: Extraction): () => string | undefined
|
|
14
|
+
constructor(contextParameters: Parameters, res: any, wsExtractionData: WSExtractionData);
|
|
15
|
+
combine(extraction: Extraction): Promise<() => string | Promise<string | undefined> | undefined>;
|
|
14
16
|
}
|
|
@@ -1,4 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (_) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
2
38
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
39
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
40
|
};
|
|
@@ -8,7 +44,7 @@ var extractors_1 = require("@loadmill/core/dist/parameters/extractors");
|
|
|
8
44
|
var log_1 = __importDefault(require("@loadmill/universal/dist/log"));
|
|
9
45
|
var jsedn_1 = __importDefault(require("jsedn"));
|
|
10
46
|
var ExtractionCombiner = /** @class */ (function () {
|
|
11
|
-
function ExtractionCombiner(contextParameters, res) {
|
|
47
|
+
function ExtractionCombiner(contextParameters, res, wsExtractionData) {
|
|
12
48
|
Object.defineProperty(this, "contextParameters", {
|
|
13
49
|
enumerable: true,
|
|
14
50
|
configurable: true,
|
|
@@ -21,6 +57,12 @@ var ExtractionCombiner = /** @class */ (function () {
|
|
|
21
57
|
writable: true,
|
|
22
58
|
value: res
|
|
23
59
|
});
|
|
60
|
+
Object.defineProperty(this, "wsExtractionData", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
configurable: true,
|
|
63
|
+
writable: true,
|
|
64
|
+
value: wsExtractionData
|
|
65
|
+
});
|
|
24
66
|
Object.defineProperty(this, "headerExtractor", {
|
|
25
67
|
enumerable: true,
|
|
26
68
|
configurable: true,
|
|
@@ -59,55 +101,63 @@ var ExtractionCombiner = /** @class */ (function () {
|
|
|
59
101
|
configurable: true,
|
|
60
102
|
writable: true,
|
|
61
103
|
value: function (extraction) {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
var header = extraction.header, jQuery_1 = extraction.jQuery, jsonPath = extraction.jsonPath, edn = extraction.edn, regex = extraction.regex;
|
|
70
|
-
if (header != null) {
|
|
71
|
-
query = header;
|
|
72
|
-
extractor = this.headerExtractor;
|
|
73
|
-
}
|
|
74
|
-
else if (jQuery_1 != null) {
|
|
75
|
-
if (!this.cheerioExtractor) {
|
|
76
|
-
this.cheerioExtractor = new extractors_1.CheerioExtractor(this.res.text, this.contextParameters);
|
|
104
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
105
|
+
var query, extractor, header, jQuery_1, jsonPath, edn, regex, ws, converted;
|
|
106
|
+
var _this = this;
|
|
107
|
+
return __generator(this, function (_a) {
|
|
108
|
+
if (typeof extraction === 'string') {
|
|
109
|
+
query = extraction;
|
|
110
|
+
extractor = this.expressionExtractor;
|
|
77
111
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
var converted = '';
|
|
94
|
-
try {
|
|
95
|
-
converted = JSON.stringify(jsedn_1.default.toJS(jsedn_1.default.parse(this.res.text)));
|
|
112
|
+
else {
|
|
113
|
+
header = extraction.header, jQuery_1 = extraction.jQuery, jsonPath = extraction.jsonPath, edn = extraction.edn, regex = extraction.regex, ws = extraction.ws;
|
|
114
|
+
if (header != null) {
|
|
115
|
+
query = header;
|
|
116
|
+
extractor = this.headerExtractor;
|
|
117
|
+
}
|
|
118
|
+
else if (jQuery_1 != null) {
|
|
119
|
+
if (!this.cheerioExtractor) {
|
|
120
|
+
this.cheerioExtractor = new extractors_1.CheerioExtractor(this.res.text, this.contextParameters);
|
|
121
|
+
}
|
|
122
|
+
query =
|
|
123
|
+
typeof jQuery_1 === 'string'
|
|
124
|
+
? jQuery_1
|
|
125
|
+
: [jQuery_1.query, '0', jQuery_1.attr || ''];
|
|
126
|
+
extractor = this.cheerioExtractor;
|
|
96
127
|
}
|
|
97
|
-
|
|
98
|
-
|
|
128
|
+
else if (jsonPath != null) {
|
|
129
|
+
if (!this.jsonPathExtractor) {
|
|
130
|
+
this.jsonPathExtractor = new extractors_1.JsonPathExtractor(this.res.text, this.contextParameters);
|
|
131
|
+
}
|
|
132
|
+
query = jsonPath;
|
|
133
|
+
extractor = this.jsonPathExtractor;
|
|
134
|
+
}
|
|
135
|
+
else if (edn != null) {
|
|
136
|
+
if (!this.ednPathExtractor) {
|
|
137
|
+
converted = '';
|
|
138
|
+
try {
|
|
139
|
+
converted = JSON.stringify(jsedn_1.default.toJS(jsedn_1.default.parse(this.res.text)));
|
|
140
|
+
}
|
|
141
|
+
catch (e) {
|
|
142
|
+
log_1.default.error(e); // just log. The error will shown later because we send '' to JsonPathExtractor
|
|
143
|
+
}
|
|
144
|
+
this.ednPathExtractor = new extractors_1.JsonPathExtractor(converted, this.contextParameters);
|
|
145
|
+
}
|
|
146
|
+
query = edn;
|
|
147
|
+
extractor = this.ednPathExtractor;
|
|
148
|
+
}
|
|
149
|
+
if (regex != null) {
|
|
150
|
+
extractor = new extractors_1.RegexExtractor(extractor ? wrap(extractor, query) : function () { return _this.res.text; }, this.contextParameters);
|
|
151
|
+
query = regex;
|
|
152
|
+
}
|
|
153
|
+
if (ws != null) {
|
|
154
|
+
extractor = new extractors_1.WsExtractor(this.wsExtractionData, this.contextParameters);
|
|
155
|
+
query = ws;
|
|
99
156
|
}
|
|
100
|
-
this.ednPathExtractor = new extractors_1.JsonPathExtractor(converted, this.contextParameters);
|
|
101
157
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
if (regex != null) {
|
|
106
|
-
extractor = new extractors_1.RegexExtractor(extractor ? wrap(extractor, query) : function () { return _this.res.text; }, this.contextParameters);
|
|
107
|
-
query = regex;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
return function () { return extractor.extract(query); };
|
|
158
|
+
return [2 /*return*/, function () { return extractor.extract(query); }];
|
|
159
|
+
});
|
|
160
|
+
});
|
|
111
161
|
}
|
|
112
162
|
});
|
|
113
163
|
return ExtractionCombiner;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extraction-combiner.js","sourceRoot":"","sources":["../src/extraction-combiner.ts"],"names":[],"mappings":"
|
|
1
|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AAC,CAAC,CAAC,CAAC,cAAM,OAAA,KAAI,CAAC,GAAG,CAAC,IAAI,EAAb,CAAa,EACzD,IAAI,CAAC,iBAAiB,CACvB,CAAC;4BAEF,KAAK,GAAG,KAAK,CAAC;yBACf;wBAED,IAAI,EAAE,IAAI,IAAI,EAAE;4BACd,SAAS,GAAG,IAAI,wBAAW,CACzB,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CAAC;4BAEF,KAAK,GAAG,EAAE,CAAC;yBACZ;qBACF;oBAED,sBAAO,cAAM,OAAA,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,EAAxB,CAAwB,EAAC;;;SACvC;;IACH,yBAAC;AAAD,CAAC,AAzFD,IAyFC;AAzFY,gDAAkB;AA2F/B,SAAS,IAAI,CAAC,SAAoB,EAAE,KAAK;IACvC,OAAO,cAAM,OAAA,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,EAAxB,CAAwB,CAAC;AACxC,CAAC"}
|
package/dist/mill-version.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.millVersionString = exports.millVersion = void 0;
|
|
4
4
|
exports.millVersion = {
|
|
5
5
|
major: 9,
|
|
6
|
-
minor:
|
|
6
|
+
minor: 47,
|
|
7
7
|
patch: 0,
|
|
8
8
|
};
|
|
9
9
|
exports.millVersionString = exports.millVersion.major + "." + exports.millVersion.minor + "." + exports.millVersion.patch;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Failures } from './failures';
|
|
2
2
|
import { PerRequestStats } from './request-stats';
|
|
3
3
|
import { Parameters } from '@loadmill/core/dist/parameters';
|
|
4
|
-
import { LoadmillHeaders, LoadmillRequest, RequestPostData } from '@loadmill/core/dist/request';
|
|
4
|
+
import { LoadmillHeaders, LoadmillRequest, PostFormData, RequestPostData } from '@loadmill/core/dist/request';
|
|
5
5
|
export declare function extendSequenceResult(result: RequestSequenceResult, requests: LoadmillRequest[]): ExtendedSequenceResult;
|
|
6
6
|
export interface ExtendedSequenceResult extends RequestSequenceResult {
|
|
7
7
|
resolvedRequests: ExtendedRequest[];
|
|
@@ -20,6 +20,7 @@ export interface ResolvedRequest {
|
|
|
20
20
|
url?: string;
|
|
21
21
|
headers?: LoadmillHeaders[];
|
|
22
22
|
postData?: RequestPostData;
|
|
23
|
+
postFormData?: PostFormData;
|
|
23
24
|
response?: {
|
|
24
25
|
type: string;
|
|
25
26
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-sequence-result.js","sourceRoot":"","sources":["../src/request-sequence-result.ts"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"request-sequence-result.js","sourceRoot":"","sources":["../src/request-sequence-result.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAUA,SAAgB,oBAAoB,CAClC,MAA6B,EAC7B,QAA2B;IAE3B,6BACK,MAAM,KACT,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,UAAC,OAAO,EAAE,KAAa,IAAK,OAAA,uBACtD,OAAO,GACP,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,EACjC,EAHyD,CAGzD,CAAC,IACH;AACJ,CAAC;AAXD,oDAWC"}
|