Commit graph

28 commits

Author SHA1 Message Date
Michael Meeks
7548420b64 perf-test: remove socket overrides; new websocket doesn't grok imgs.
Profiling suggests this is not needed, and we should get closer to
the normal code paths to measure.

Change-Id: I433a06812f17e642c9ad9e7f8be4c0505f5174e0
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-22 20:21:15 +01:00
Michael Meeks
f9eda6c5d0 perf-test: type for a minute or so, with more text.
Change-Id: I90ee29ed1c69cda0c9db2d4375f7417ab2142b5e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-22 20:21:13 +01:00
Michael Meeks
c80641f5ef perf-test: when using trace - break, so we can debug early start.
Change-Id: Id8c64450874f71543827f1633181adfd8551096d
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-22 20:21:11 +01:00
Michael Meeks
29fedecd21 perf-test: disable SSL mode, with self-signed local certs it fails.
Error: self signed certificate in certificate chain
    at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)
    at TLSSocket.emit (node:events:526:28)
    at TLSSocket._finishInit (node:_tls_wrap:944:8)
    at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12)
    at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)
Change-Id: I27462802a6b1cfaed683277d111a480ca474cd7e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-22 20:21:10 +01:00
Michael Meeks
02bfa00f50 perf-test: re-work to fix window.app changes, and include WebSocket.
Change-Id: Ib000443310cf37d8f7553fe11fc7944384a0fc2b
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-22 20:21:08 +01:00
Michael Meeks
f56debebb3 perf-test: expand variable substitution to the latest set of vars.
Change-Id: Id1c4ed71cb5c3911131e9edceb21a9b5d89413ad
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-22 20:21:05 +01:00
Gökay Şatır
9d6296e4b3 Remove unused document signing code.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I30cf381d1fa282cf222ab5abc676374ab7eefb6c
2023-05-08 21:51:47 +03:00
Michael Meeks
9e9f7007f3 perf-test: disable SSL for now, and print the right url.
Seemingly rejectUnauthorized doesn't make nodejs happy either
for unknown reasons.

Change-Id: I99299489ba6af98c4088ee7b95c4d55d1291dfc6
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-10-12 07:53:46 +02:00
Michael Meeks
80079f708c perf-test: cleanup un-expanded variables.
Change-Id: If2c7c055558a96c401e2be2ce031cd288bbc747e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-07-19 20:01:08 +01:00
Henry Castro
c000f119b3 browser: test: explicitly convert to number
Change-Id: I2dbecafcc1148aa69010eee822ee0fa30a5e6307
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
28c1fa2844 browser:test: ensure to write the stats to stderr
Change-Id: I5761e7567c306b964fd41eaa49d9fdcd41caea9d
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
a48024ca78 browser:test: fix exception http or https protocol
Change-Id: Ia62833fb0cb448370b6fdf422d12e6b0ebbcff55
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
6f3c90c8a9 browser:test: exit process if uncaugth signal
Change-Id: I971e100cfbb5c428c6ee88d8b9f5413398250c50
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
cdb72ca762 browser:test: add function serverReady
When the coolwsd server is ready, begin to
fork the load.js process to start the tile tests

Change-Id: I7846ce013b729eab54e5fd3ab81ce396406bcf0b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
16e6494a21 browser: test: fix stdio pipes
Ignore stdio pipes if no debug is set

Change-Id: I8b77a32324d77a87577759b878f612dfbca586f7
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
3879f8720f browser: test: fix missing 'DOCUMENT_SIGNING_URL'
Change-Id: Iac91872bdec8b89174ae900c9e388681dcf27da0
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
6c7d031d61 browser: test: replace GROUP_DOWNLOAD_AS variable
Change-Id: Id20d476bc04167fd40b9524625bc389344a3f60b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
12f7022f69 browser: test: add process env NODE_PATH
if builddir != srcdir

Change-Id: I5bdec438aff67d3c70aceafbff0d3a4445d865c6
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Andras Timar
bb1e1f2798 remove a duplicated and an obsoleted variable
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idd4bf2f136521f3163f1e275591246c8889481cf
2022-04-04 15:54:31 +02:00
Pranam Lashkari
c5f2c5e174 theme: added config flag to switch between integration and cool themes
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I679328e29f2e2297491c73249632627d01a1bf42
2022-01-25 12:09:01 +05:30
Michael Meeks
33c4af86e7 perf-test: record stats by default and print them out.
Also exit after replaying events.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I04571fd99e2cc85869b4cad883416b37431e4ce0
2022-01-08 09:48:20 +00:00
Michael Meeks
9fa2c9b7ae perf-test: periodically dump stats fetched from the admin console metrics.
Also init admin console properly.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Ie24a896973fa1a720868b47196f684fc1cbac91b
2022-01-08 09:48:20 +00:00
Michael Meeks
9762ad2145 perf-test: print out URL to watch document from.
Change-Id: I3a4b419a7307b11f9ce91bdc4fb1539b0ceb1160
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-11-29 11:34:32 +00:00
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Andras Timar
e1c1946afb more descriptive name of a config setting for debugging: browser_logging
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I175e5256fcae42477cb2c84fc2b4048aca40bed7
2021-11-11 13:26:37 +01:00
Henry Castro
8a4b111e8f rename var LOLEAFLET_LOGGING to
COOL_LOGGING

Change-Id: I155a829b3ad947e03363e5020aa71a104aaa8c00
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
dbdbc301a8 browser: test: update load.js file
rename loleaflet -> browser

Change-Id: I3485a44cdead9314945bcfde5e62bddcf244740b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e5c1d0e637 initial rename loleaflet -> browser
Change-Id: Ief7edfe7e3ff3a0a1ec24b4dc106bdeee5d0f8ff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00