mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 11:39:08 +03:00
Fix websocket load test not sending required event type
This commit is contained in:
parent
cbcf8d4794
commit
15af4af770
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ function createTestMessageObject(userContext, events, done) {
|
||||||
const data = {
|
const data = {
|
||||||
author: author,
|
author: author,
|
||||||
body: "Test 12345. " + randomNumber,
|
body: "Test 12345. " + randomNumber,
|
||||||
image: "https://robohash.org/" + author + "?size=80x80&set=set3"
|
type: "CHAT"
|
||||||
};
|
};
|
||||||
// set the "data" variable for the virtual user to use in the subsequent action
|
// set the "data" variable for the virtual user to use in the subsequent action
|
||||||
userContext.vars.data = data;
|
userContext.vars.data = data;
|
||||||
|
|
Loading…
Reference in a new issue