I am using jmeter tool for websocket testing. I need to create multiple orders with multiple users and for that i need to set up csv data set. How can i use it in websocket sampler? As i can see that the request is sent in "Request Data" section but how should i give the variable names there and how would it read through csv?
Asked
Active
Viewed 230 times
2 Answers
0
I don't know which Websocket plugin you're using, but see this for best solution:
If you follow the one we advise , then just add a CSV Data Set config to your plan filling required fields:
Pay attention to Variable Names (example here myData1).
You can then use it through:
${myData1}

UBIK LOAD PACK
- 33,980
- 5
- 71
- 116
-
I have added it through websocket sampler but its not picking up the data from csv. – testuser Nov 08 '17 at 09:29
0
There might be a bug in the "websocket sampler" plugin you are using. Try out WebSocket Samplers by Peter Doornbosch
, current version (JMeterWebSocketSamplers-0.12.jar
) doesn't seem to be having problems with parameterizing via JMeter Functions and/or Variables
You can install the plugin using JMeter Plugins Manager

Dmitri T
- 159,985
- 5
- 83
- 133