Fix websocket load test not sending required event type

This commit is contained in:
Gabe Kangas 2021-02-26 22:14:08 -08:00
parent cbcf8d4794
commit 15af4af770

View file

@ -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;