Skip to content

Commit 1c8b731

Browse files
1 parent 80f71d6 commit 1c8b731

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

gatling/readme.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,3 +311,19 @@ Running tests for SOAP XML WSDL Testing
311311
# Maven command line
312312

313313
`mvn gatling:execute -Dgatling.simulationClass=soujava.BenchmarkSOAPGeneric -DNUM_THREADS=1 -DRAMP_TIME=100 -DDURATION=10 -DTARGET=http://localhost:809-DENDPOINT=/esbWebServiceEndpoint -DENDPOINT_NAME=ESB_WS -DTEST_FILE="src/test/resources/request-bodies/benchmarksoapgeneric_01.xml" -DSTATUS_CHECK=200 -DREGEX_CHECK="200 OK" -DTARGET1_SWITCH="90.0"`
314+
315+
316+
REPORTS
317+
========
318+
319+
Jenkins introduced a security change that breaks Gatling reports display.
320+
You sadly have to disable it to get them back, see how-to:
321+
322+
Open Jenkins CFG file:
323+
`sudo vi /etc/default/jenkins`
324+
325+
Add the following configuration:
326+
327+
```
328+
JAVA_ARGS="-Djava.awt.headless=true -Dhudson.model.DirectoryBrowserSupport.CSP=\"sandbox allow-scripts; style-src 'unsafe-inline' *;script-src 'unsafe-inline' *;\"" # Allow graphs etc. to work even when an X server is present
329+
```

0 commit comments

Comments
 (0)