Skip to content

Commit 2d40dec

Browse files
vaadin-botTatuLund
andauthored
doc: Update load-testing documentation with WebSocket note (#5778) (#5782)
Added note about recording proxy limitations with WebSockets. Co-authored-by: Tatu Lund <tatu@vaadin.com>
1 parent 476deda commit 2d40dec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

articles/flow/testing/load-testing/index.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ When it is not -- for example, during normal IDE runs -- the helper is a no-op a
121121

122122
The test body itself is just a regular TestBench test -- see <<{articles}/flow/testing/end-to-end/creating-tests#, Creating Tests>> for the element query and interaction APIs.
123123

124+
[NOTE]
125+
At the moment the recording proxy does not support WebSockets. Thus you need to configure the application under test to use LONG_POLLING when being tested.
126+
124127
[[destructive]]
125128
=== Excluding Destructive Tests
126129

@@ -827,4 +830,4 @@ mvn loadtest:run \
827830
- *Scale gradually.* Start with a small number of virtual users and increase to find breaking points.
828831
- *Use a stable network.* For cloud testing, run the load generator in the same region as the application server.
829832
- *Pre-record tests.* Record on a development machine, then distribute the generated k6 scripts to the load generation environment.
830-
- *Monitor the server.* Enable Actuator metrics collection (`k6.collectVaadinMetrics=true`) to correlate server health with k6 results.
833+
- *Monitor the server.* Enable Actuator metrics collection (`k6.collectVaadinMetrics=true`) to correlate server health with k6 results.

0 commit comments

Comments
 (0)