Closed maitrungduc1410 closed 3 years ago
@maitrungduc1410
I don't think this is an scenario that it is supported at the scenario flow level at the moment. You can can configure the client configuration from the config.engines.socketio-v3
which will apply to all connections made. Ex:
config:
target: "http://localhost:3000"
phases:
- duration: 30
arrivalRate: 5
engines:
socketio-v3:
extraHeaders:
Cookie: "test=123456"
scenarios:
...
thanks for your response
So we are not able to set headers dynamically?
Like calling a config.processor
script.
I can't seem to call it from the config
section so i'm not able to set a dynamic value for a specific header/socketio option..
Hi @ptejada ,
I'm trying to pass extra headers by using:
But this is not working,
console.log
from server-side always returnsundefined
Do you have any idea on this?
Thank you