need help
#1289
Replies: 1 comment 1 reply
-
hi @utwtjm, what do you expect the value to be? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my-scenario.yaml
config:
target: "http://127.0.0.1:3000"
socketio:
path: "/socket"
transports: ["websocket"]
phases:
- duration: 60
arrivalRate: 25
scenarios:
engine: socketio
flow:
channel: "test"
data: {id: "123"}
acknowledge:
match:
json: "$.status"
value: 0
acknowledge not work
code file : artillery/core/lib/engine_socketio.js
function isAcknowledgeRequired(spec) {
console.log(spec);
return spec.emit && spec.acknowledge;
}
console.log output
{
emit: {
channel: 'test',
data: { id: '123' },
acknowledge: { match: [Object] }
},
namespace: ''
}
spec.acknowledge not get right value
thank you
Beta Was this translation helpful? Give feedback.
All reactions