coolstress(1)

COOLSTRESS(1) User Commands COOLSTRESS(1)

NAME

coolstress - stress testing tool for Collabora Online.

SYNOPSIS

coolstress [OPTIONS] SERVER PATH1 TRACE1 ...

DESCRIPTION

Re-play trace files, either gzip compressed or verbatim against a given server URL to simulate load against the server. A single coolstress command can easily replay many concurrent traces.

If the same PATH is provided for multiple traces, then these are both executed against the same document.

COMMANDS AND OPTIONS

General options:

-h, --help Show this usage information.

SERVER

The server parameter points to a websocket end-point that would be used by Collabora Online to drive a document editing session.

Example: coolstress wss://localhost:9980 /tmp/test.odt test/traces/hello-world.txt

Generating traces

To generate a trace, set the following settings to these values in: coolwsd.xml: trace true, trace.path /tmp/trace.txt.gz

Re-start coolwsd, edit some documents and then load and edit a document, after terminating coolwsd it should save a trace.

If passing extra parameters to coolwsd pass: --o:trace[@enable]=true --o:trace.path=/tmp/trace.txt.gz.

NOTE

Please note that recording traces generated by mashing the keyboard rapidly creates a pathologically unrealistic profile that is 10x faster than the average typer, and 5x worse then a professional typist in terms of keys-per-second, as well as creating unusual documents from a spell/grammar checking perspective.

SEE ALSO

coolforkit(1), coolconvert(1), coolwsd(1)

Aug 2022 coolstress