@gatling.io/jvm-types 3.11.7 → 3.12.0
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/gatling.d.ts +52 -26
- package/index.d.ts +13 -7
- package/index.ts +2272 -0
- package/package.json +1 -1
- package/tsconfig.json +17 -0
package/gatling.d.ts
CHANGED
|
@@ -67,8 +67,7 @@ declare namespace io.gatling.http.client {
|
|
|
67
67
|
getCookies(): java.util.List<any /*io.netty.handler.codec.http.cookie.Cookie*/>;
|
|
68
68
|
getHeaders(): io.netty.handler.codec.http.HttpHeaders;
|
|
69
69
|
getHttp2PriorKnowledge(): any /*io.gatling.http.client.Http2PriorKnowledge*/;
|
|
70
|
-
|
|
71
|
-
getLocalIpV6Address(): any /*java.net.InetAddress*/;
|
|
70
|
+
getLocalAddresses(): any /*io.gatling.http.client.LocalAddresses*/;
|
|
72
71
|
getMethod(): any /*io.netty.handler.codec.http.HttpMethod*/;
|
|
73
72
|
getName(): string;
|
|
74
73
|
getNameResolver(): any /*io.gatling.http.client.resolver.InetAddressNameResolver*/;
|
|
@@ -358,6 +357,12 @@ declare namespace io.gatling.javaapi.core {
|
|
|
358
357
|
arg2: string,
|
|
359
358
|
arg3: boolean
|
|
360
359
|
): io.gatling.javaapi.core.loop.AsLongAsDuring$On<T>;
|
|
360
|
+
crashLoadGenerator<T>(arg0: Func<Session, string>): T;
|
|
361
|
+
crashLoadGenerator<T>(arg0: string): T;
|
|
362
|
+
crashLoadGeneratorIf<T>(arg0: Func<Session, string>, arg1: Func<Session, boolean | null>): T;
|
|
363
|
+
crashLoadGeneratorIf<T>(arg0: Func<Session, string>, arg1: string): T;
|
|
364
|
+
crashLoadGeneratorIf<T>(arg0: string, arg1: Func<Session, boolean | null>): T;
|
|
365
|
+
crashLoadGeneratorIf<T>(arg0: string, arg1: string): T;
|
|
361
366
|
doIf<T>(arg0: Func<Session, boolean | null>): io.gatling.javaapi.core.condition.DoIf$Then<T>;
|
|
362
367
|
doIf<T>(arg0: string): io.gatling.javaapi.core.condition.DoIf$Then<T>;
|
|
363
368
|
doIfEquals<T>(
|
|
@@ -635,12 +640,12 @@ declare namespace io.gatling.javaapi.core {
|
|
|
635
640
|
repeat<T>(arg0: string): io.gatling.javaapi.core.loop.Repeat$On<T>;
|
|
636
641
|
repeat<T>(arg0: string, arg1: string): io.gatling.javaapi.core.loop.Repeat$On<T>;
|
|
637
642
|
roundRobinSwitch<T>(): io.gatling.javaapi.core.condition.RoundRobinSwitch$On<T>;
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
643
|
+
stopLoadGenerator<T>(arg0: Func<Session, string>): T;
|
|
644
|
+
stopLoadGenerator<T>(arg0: string): T;
|
|
645
|
+
stopLoadGeneratorIf<T>(arg0: Func<Session, string>, arg1: Func<Session, boolean | null>): T;
|
|
646
|
+
stopLoadGeneratorIf<T>(arg0: Func<Session, string>, arg1: string): T;
|
|
647
|
+
stopLoadGeneratorIf<T>(arg0: string, arg1: Func<Session, boolean | null>): T;
|
|
648
|
+
stopLoadGeneratorIf<T>(arg0: string, arg1: string): T;
|
|
644
649
|
toChainBuilder(): ChainBuilder;
|
|
645
650
|
toString(): string;
|
|
646
651
|
tryMax<T>(arg0: Func<Session, int | null>): io.gatling.javaapi.core.error.Errors$TryMax<T>;
|
|
@@ -1013,6 +1018,12 @@ declare namespace io.gatling.javaapi.core {
|
|
|
1013
1018
|
arg2: string,
|
|
1014
1019
|
arg3: boolean
|
|
1015
1020
|
): io.gatling.javaapi.core.loop.AsLongAsDuring$On<T>;
|
|
1021
|
+
crashLoadGenerator<T>(arg0: Func<Session, string>): T;
|
|
1022
|
+
crashLoadGenerator<T>(arg0: string): T;
|
|
1023
|
+
crashLoadGeneratorIf<T>(arg0: Func<Session, string>, arg1: Func<Session, boolean | null>): T;
|
|
1024
|
+
crashLoadGeneratorIf<T>(arg0: Func<Session, string>, arg1: string): T;
|
|
1025
|
+
crashLoadGeneratorIf<T>(arg0: string, arg1: Func<Session, boolean | null>): T;
|
|
1026
|
+
crashLoadGeneratorIf<T>(arg0: string, arg1: string): T;
|
|
1016
1027
|
doIf<T>(arg0: Func<Session, boolean | null>): io.gatling.javaapi.core.condition.DoIf$Then<T>;
|
|
1017
1028
|
doIf<T>(arg0: string): io.gatling.javaapi.core.condition.DoIf$Then<T>;
|
|
1018
1029
|
doIfEquals<T>(
|
|
@@ -1294,12 +1305,12 @@ declare namespace io.gatling.javaapi.core {
|
|
|
1294
1305
|
repeat<T>(arg0: string): io.gatling.javaapi.core.loop.Repeat$On<T>;
|
|
1295
1306
|
repeat<T>(arg0: string, arg1: string): io.gatling.javaapi.core.loop.Repeat$On<T>;
|
|
1296
1307
|
roundRobinSwitch<T>(): io.gatling.javaapi.core.condition.RoundRobinSwitch$On<T>;
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1308
|
+
stopLoadGenerator<T>(arg0: Func<Session, string>): T;
|
|
1309
|
+
stopLoadGenerator<T>(arg0: string): T;
|
|
1310
|
+
stopLoadGeneratorIf<T>(arg0: Func<Session, string>, arg1: Func<Session, boolean | null>): T;
|
|
1311
|
+
stopLoadGeneratorIf<T>(arg0: Func<Session, string>, arg1: string): T;
|
|
1312
|
+
stopLoadGeneratorIf<T>(arg0: string, arg1: Func<Session, boolean | null>): T;
|
|
1313
|
+
stopLoadGeneratorIf<T>(arg0: string, arg1: string): T;
|
|
1303
1314
|
toString(): string;
|
|
1304
1315
|
tryMax<T>(arg0: Func<Session, int | null>): io.gatling.javaapi.core.error.Errors$TryMax<T>;
|
|
1305
1316
|
tryMax<T>(arg0: Func<Session, int | null>, arg1: string): io.gatling.javaapi.core.error.Errors$TryMax<T>;
|
|
@@ -1525,6 +1536,12 @@ declare namespace io.gatling.javaapi.core {
|
|
|
1525
1536
|
arg2: string,
|
|
1526
1537
|
arg3: boolean
|
|
1527
1538
|
): io.gatling.javaapi.core.loop.AsLongAsDuring$On<T>;
|
|
1539
|
+
crashLoadGenerator(arg0: Func<Session, string>): T;
|
|
1540
|
+
crashLoadGenerator(arg0: string): T;
|
|
1541
|
+
crashLoadGeneratorIf(arg0: Func<Session, string>, arg1: Func<Session, boolean | null>): T;
|
|
1542
|
+
crashLoadGeneratorIf(arg0: Func<Session, string>, arg1: string): T;
|
|
1543
|
+
crashLoadGeneratorIf(arg0: string, arg1: Func<Session, boolean | null>): T;
|
|
1544
|
+
crashLoadGeneratorIf(arg0: string, arg1: string): T;
|
|
1528
1545
|
doIf(arg0: Func<Session, boolean | null>): io.gatling.javaapi.core.condition.DoIf$Then<T>;
|
|
1529
1546
|
doIf(arg0: string): io.gatling.javaapi.core.condition.DoIf$Then<T>;
|
|
1530
1547
|
doIfEquals(
|
|
@@ -1796,12 +1813,12 @@ declare namespace io.gatling.javaapi.core {
|
|
|
1796
1813
|
repeat(arg0: string): io.gatling.javaapi.core.loop.Repeat$On<T>;
|
|
1797
1814
|
repeat(arg0: string, arg1: string): io.gatling.javaapi.core.loop.Repeat$On<T>;
|
|
1798
1815
|
roundRobinSwitch(): io.gatling.javaapi.core.condition.RoundRobinSwitch$On<T>;
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1816
|
+
stopLoadGenerator(arg0: Func<Session, string>): T;
|
|
1817
|
+
stopLoadGenerator(arg0: string): T;
|
|
1818
|
+
stopLoadGeneratorIf(arg0: Func<Session, string>, arg1: Func<Session, boolean | null>): T;
|
|
1819
|
+
stopLoadGeneratorIf(arg0: Func<Session, string>, arg1: string): T;
|
|
1820
|
+
stopLoadGeneratorIf(arg0: string, arg1: Func<Session, boolean | null>): T;
|
|
1821
|
+
stopLoadGeneratorIf(arg0: string, arg1: string): T;
|
|
1805
1822
|
toString(): string;
|
|
1806
1823
|
tryMax(arg0: Func<Session, int | null>): io.gatling.javaapi.core.error.Errors$TryMax<T>;
|
|
1807
1824
|
tryMax(arg0: Func<Session, int | null>, arg1: string): io.gatling.javaapi.core.error.Errors$TryMax<T>;
|
|
@@ -2441,20 +2458,29 @@ declare namespace io.gatling.javaapi.core.error {
|
|
|
2441
2458
|
} // end namespace io.gatling.javaapi.core.error
|
|
2442
2459
|
declare namespace io.gatling.javaapi.core.error {
|
|
2443
2460
|
interface Errors<T, W> {
|
|
2461
|
+
crashLoadGenerator(arg0: Func<io.gatling.javaapi.core.Session, string>): T;
|
|
2462
|
+
crashLoadGenerator(arg0: string): T;
|
|
2463
|
+
crashLoadGeneratorIf(
|
|
2464
|
+
arg0: Func<io.gatling.javaapi.core.Session, string>,
|
|
2465
|
+
arg1: Func<io.gatling.javaapi.core.Session, boolean | null>
|
|
2466
|
+
): T;
|
|
2467
|
+
crashLoadGeneratorIf(arg0: Func<io.gatling.javaapi.core.Session, string>, arg1: string): T;
|
|
2468
|
+
crashLoadGeneratorIf(arg0: string, arg1: Func<io.gatling.javaapi.core.Session, boolean | null>): T;
|
|
2469
|
+
crashLoadGeneratorIf(arg0: string, arg1: string): T;
|
|
2444
2470
|
exitBlockOnFail(): Errors$ExitBlockOnFail<T>;
|
|
2445
2471
|
exitHere(): T;
|
|
2446
2472
|
exitHereIf(arg0: Func<io.gatling.javaapi.core.Session, boolean | null>): T;
|
|
2447
2473
|
exitHereIf(arg0: string): T;
|
|
2448
2474
|
exitHereIfFailed(): T;
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2475
|
+
stopLoadGenerator(arg0: Func<io.gatling.javaapi.core.Session, string>): T;
|
|
2476
|
+
stopLoadGenerator(arg0: string): T;
|
|
2477
|
+
stopLoadGeneratorIf(
|
|
2452
2478
|
arg0: Func<io.gatling.javaapi.core.Session, string>,
|
|
2453
2479
|
arg1: Func<io.gatling.javaapi.core.Session, boolean | null>
|
|
2454
2480
|
): T;
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2481
|
+
stopLoadGeneratorIf(arg0: Func<io.gatling.javaapi.core.Session, string>, arg1: string): T;
|
|
2482
|
+
stopLoadGeneratorIf(arg0: string, arg1: Func<io.gatling.javaapi.core.Session, boolean | null>): T;
|
|
2483
|
+
stopLoadGeneratorIf(arg0: string, arg1: string): T;
|
|
2458
2484
|
tryMax(arg0: Func<io.gatling.javaapi.core.Session, int | null>): Errors$TryMax<T>;
|
|
2459
2485
|
tryMax(arg0: Func<io.gatling.javaapi.core.Session, int | null>, arg1: string): Errors$TryMax<T>;
|
|
2460
2486
|
tryMax(arg0: int): Errors$TryMax<T>;
|
package/index.d.ts
CHANGED
|
@@ -236,6 +236,12 @@ interface CoreDslStatic {
|
|
|
236
236
|
PebbleStringBody(arg0: string): io.gatling.javaapi.core.Body$WithString;
|
|
237
237
|
StringBody(arg0: string): io.gatling.javaapi.core.Body$WithString;
|
|
238
238
|
StringBody(arg0: Func<io.gatling.javaapi.core.Session, string>): io.gatling.javaapi.core.Body$WithString;
|
|
239
|
+
crashLoadGenerator(arg0: string): io.gatling.javaapi.core.ChainBuilder;
|
|
240
|
+
crashLoadGenerator(arg0: Func<io.gatling.javaapi.core.Session, string>): io.gatling.javaapi.core.ChainBuilder;
|
|
241
|
+
crashLoadGeneratorIf(arg0: string, arg1: string): io.gatling.javaapi.core.ChainBuilder;
|
|
242
|
+
crashLoadGeneratorIf(arg0: string, arg1: Func<io.gatling.javaapi.core.Session, boolean | null>): io.gatling.javaapi.core.ChainBuilder;
|
|
243
|
+
crashLoadGeneratorIf(arg0: Func<io.gatling.javaapi.core.Session, string>, arg1: string): io.gatling.javaapi.core.ChainBuilder;
|
|
244
|
+
crashLoadGeneratorIf(arg0: Func<io.gatling.javaapi.core.Session, string>, arg1: Func<io.gatling.javaapi.core.Session, boolean | null>): io.gatling.javaapi.core.ChainBuilder;
|
|
239
245
|
exec(arg0: io.gatling.javaapi.core.exec.Executable, ...arg1: io.gatling.javaapi.core.exec.Executable[]): io.gatling.javaapi.core.ChainBuilder;
|
|
240
246
|
exec(arg0: java.util.List<io.gatling.javaapi.core.ChainBuilder>): io.gatling.javaapi.core.ChainBuilder;
|
|
241
247
|
exec(arg0: Func<io.gatling.javaapi.core.Session, io.gatling.javaapi.core.Session>): io.gatling.javaapi.core.ChainBuilder;
|
|
@@ -287,12 +293,12 @@ interface CoreDslStatic {
|
|
|
287
293
|
pause(arg0: long, arg1: long): io.gatling.javaapi.core.ChainBuilder;
|
|
288
294
|
pause(arg0: long, arg1: long, arg2: io.gatling.javaapi.core.PauseType): io.gatling.javaapi.core.ChainBuilder;
|
|
289
295
|
rendezVous(arg0: int): io.gatling.javaapi.core.ChainBuilder;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
+
stopLoadGenerator(arg0: string): io.gatling.javaapi.core.ChainBuilder;
|
|
297
|
+
stopLoadGenerator(arg0: Func<io.gatling.javaapi.core.Session, string>): io.gatling.javaapi.core.ChainBuilder;
|
|
298
|
+
stopLoadGeneratorIf(arg0: string, arg1: string): io.gatling.javaapi.core.ChainBuilder;
|
|
299
|
+
stopLoadGeneratorIf(arg0: string, arg1: Func<io.gatling.javaapi.core.Session, boolean | null>): io.gatling.javaapi.core.ChainBuilder;
|
|
300
|
+
stopLoadGeneratorIf(arg0: Func<io.gatling.javaapi.core.Session, string>, arg1: string): io.gatling.javaapi.core.ChainBuilder;
|
|
301
|
+
stopLoadGeneratorIf(arg0: Func<io.gatling.javaapi.core.Session, string>, arg1: Func<io.gatling.javaapi.core.Session, boolean | null>): io.gatling.javaapi.core.ChainBuilder;
|
|
296
302
|
regex(arg0: string): io.gatling.javaapi.core.CheckBuilder$CaptureGroupCheckBuilder;
|
|
297
303
|
regex(arg0: Func<io.gatling.javaapi.core.Session, string>): io.gatling.javaapi.core.CheckBuilder$CaptureGroupCheckBuilder;
|
|
298
304
|
css(arg0: string, arg1: string): any;
|
|
@@ -973,7 +979,7 @@ interface RequestBodyStatic {
|
|
|
973
979
|
export declare const RequestBody: RequestBodyStatic;
|
|
974
980
|
interface RequestStatic {
|
|
975
981
|
readonly class: any;
|
|
976
|
-
new (arg0: string, arg1: any, arg2: any, arg3: io.netty.handler.codec.http.HttpHeaders, arg4: java.util.List<any>, arg5: io.gatling.http.client.body.RequestBody, arg6: long, arg7: boolean, arg8: any, arg9: any, arg10: any, arg11:
|
|
982
|
+
new (arg0: string, arg1: any, arg2: any, arg3: io.netty.handler.codec.http.HttpHeaders, arg4: java.util.List<any>, arg5: io.gatling.http.client.body.RequestBody, arg6: long, arg7: boolean, arg8: any, arg9: any, arg10: any, arg11: Func<io.gatling.http.client.Request, io.gatling.http.client.Request>, arg12: any, arg13: boolean, arg14: any, arg15: string): io.gatling.http.client.Request;
|
|
977
983
|
}
|
|
978
984
|
export declare const Request: RequestStatic;
|
|
979
985
|
interface ResponseBodyStatic {
|