Skip to content

Commit 6044d2e

Browse files
author
amvanbaren
committed
Fix Gatling tests
- Use `--simulation` flag - Fix verbose logging
1 parent 6b3c246 commit 6044d2e

File tree

3 files changed

+44
-19
lines changed

3 files changed

+44
-19
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<configuration>
3+
4+
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
5+
<encoder>
6+
<pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern>
7+
</encoder>
8+
<immediateFlush>false</immediateFlush>
9+
</appender>
10+
11+
<!-- uncomment and set to DEBUG to log all failing HTTP requests -->
12+
<!-- uncomment and set to TRACE to log all HTTP requests -->
13+
<!--<logger name="io.gatling.http.engine.response" level="TRACE" />-->
14+
15+
<!-- uncomment to log WebSocket events -->
16+
<!--<logger name="io.gatling.http.action.ws.fsm" level="DEBUG" />-->
17+
18+
<!-- uncomment to log SSE events -->
19+
<!--<logger name="io.gatling.http.action.sse.fsm" level="DEBUG" />-->
20+
21+
<root level="INFO">
22+
<appender-ref ref="CONSOLE" />
23+
</root>
24+
25+
</configuration>
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#!/bin/sh
22

33
cd ../../..
4-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetNamespaceSimulation
5-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetNamespaceDetailsSimulation
6-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetExtensionSimulation
7-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetExtensionTargetPlatformSimulation
8-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetExtensionVersionSimulation
9-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetExtensionVersionTargetPlatformSimulation
10-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetVersionReferencesSimulation
11-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetVersionReferencesTargetPlatformSimulation
12-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetFileSimulation
13-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetFileTargetPlatformSimulation
14-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetQuerySimulation
15-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIGetQueryV2Simulation
16-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPISearchSimulation
17-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.RegistryAPIVerifyTokenSimulation
4+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetNamespaceSimulation
5+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetNamespaceDetailsSimulation
6+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetExtensionSimulation
7+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetExtensionTargetPlatformSimulation
8+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetExtensionVersionSimulation
9+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetExtensionVersionTargetPlatformSimulation
10+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetVersionReferencesSimulation
11+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetVersionReferencesTargetPlatformSimulation
12+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetFileSimulation
13+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetFileTargetPlatformSimulation
14+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetQuerySimulation
15+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIGetQueryV2Simulation
16+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPISearchSimulation
17+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.RegistryAPIVerifyTokenSimulation
1818
cd src/gatling/scripts
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22

33
cd ../../..
4-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.adapter.VSCodeAdapterExtensionQuerySimulation
5-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.adapter.VSCodeAdapterGetAssetSimulation
6-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.adapter.VSCodeAdapterItemSimulation
7-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.adapter.VSCodeAdapterUnpkgSimulation
8-
./gradlew --rerun-tasks gatlingRun-org.eclipse.openvsx.adapter.VSCodeAdapterVspackageSimulation
4+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.adapter.VSCodeAdapterExtensionQuerySimulation
5+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.adapter.VSCodeAdapterGetAssetSimulation
6+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.adapter.VSCodeAdapterItemSimulation
7+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.adapter.VSCodeAdapterUnpkgSimulation
8+
./gradlew --rerun-tasks gatlingRun --simulation=org.eclipse.openvsx.adapter.VSCodeAdapterVspackageSimulation
99
cd src/gatling/scripts

0 commit comments

Comments
 (0)