@loadmill/core 0.3.193 → 0.3.194

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.
@@ -62,7 +62,7 @@ export declare enum TestEntity {
62
62
  TEST_PLAN = "test plan",
63
63
  LOAD = "load"
64
64
  }
65
- export interface TestConfLike {
65
+ export interface TestConfLike extends LoadTestOptions {
66
66
  requests: StepLike[];
67
67
  afterEachRequests?: StepLike[];
68
68
  afterAllRequests?: StepLike[];
@@ -78,7 +78,6 @@ export interface TestConfLike {
78
78
  sensitiveData?: boolean;
79
79
  maxFlakyFlowRetries?: number;
80
80
  flakyFlowDelay?: number;
81
- useStaticIp?: boolean;
82
81
  skipLoginFlow?: boolean;
83
82
  parameterPools?: string[];
84
83
  domainsWhiteList?: string[];
@@ -90,6 +89,9 @@ export interface TestConfLike {
90
89
  cookies?: CookiesDetails;
91
90
  serviceDefinitionId?: string;
92
91
  xmlDecode?: boolean;
92
+ notifications?: EmailNotification[] | TestRunNotification[];
93
+ }
94
+ export interface LoadTestOptions {
93
95
  rampUp?: number;
94
96
  rps?: number;
95
97
  duration?: number;
@@ -97,9 +99,15 @@ export interface TestConfLike {
97
99
  monitoredEnv?: string;
98
100
  maxIterations?: number;
99
101
  iterationDelay?: number | '';
102
+ /**
103
+ * Automatic abort threshold for a running load test, expressed as a ratio in range [0..1].
104
+ * If omitted, server-side default behavior applies.
105
+ */
106
+ failureErrorRate?: number;
100
107
  alwaysDistributed?: boolean;
101
108
  targetedCountries?: string[];
102
- notifications?: EmailNotification[] | TestRunNotification[];
109
+ useStaticIp?: boolean;
110
+ sensitiveData?: boolean;
103
111
  }
104
112
  export declare type ConfDependency = {
105
113
  sharedFlowId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/conf/types.ts"],"names":[],"mappings":";;;AAwCA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,oCAAe,CAAA;IACf,oCAAe,CAAA;IACf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ACX,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;AACnB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,mCAAuB,CAAA;AACzB,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,wCAAa,CAAA;AACf,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAaD,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,6BAAe,CAAA;IACf,qCAAuB,CAAA;IACvB,2BAAa,CAAA;AACf,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AA2ED,IAAY,WAEX;AAFD,WAAY,WAAW;IACrB,2CAA4B,CAAA;AAC9B,CAAC,EAFW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAEtB;AAgBD,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,6BAAa,CAAA;AACf,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadmill/core",
3
- "version": "0.3.193",
3
+ "version": "0.3.194",
4
4
  "description": "Loadmill core library",
5
5
  "main": "dist/",
6
6
  "scripts": {
@@ -27,7 +27,7 @@
27
27
  "@aws-sdk/client-cognito-identity": "~3.58.0",
28
28
  "@aws-sdk/client-firehose": "~3.58.0",
29
29
  "@aws-sdk/types": "~3.55.0",
30
- "@loadmill/universal": "0.3.188",
30
+ "@loadmill/universal": "0.3.189",
31
31
  "@playwright/test": "1.50.0",
32
32
  "@xmldom/xmldom": "^0.8.10",
33
33
  "cheerio": "^0.22.0",