Browse Source

Fix websocket load test not sending required event type

pull/773/head
Gabe Kangas 5 years ago
parent
commit
15af4af770
  1. 2
      test/load/websocketTest.js

2
test/load/websocketTest.js

@ -6,7 +6,7 @@ function createTestMessageObject(userContext, events, done) { @@ -6,7 +6,7 @@ function createTestMessageObject(userContext, events, done) {
const data = {
author: author,
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
userContext.vars.data = data;

Loading…
Cancel
Save