1

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?

testuser
  • 15
  • 5

2 Answers2

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:

enter image description here

Pay attention to Variable Names (example here myData1).

You can then use it through:

${myData1}

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116
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