5

I am getting following error when I was using my localhost url and ws protocol

[Problems] - Unexpected error: null
JMeter.plugins.functional.samplers.websocket.ServiceSocket.sendMessage(ServiceSocket.java:156)
JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:136)
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
java.lang.Thread.run(Unknown Source)

there is no way to add header information like in http sampler in JMeter

Aliaksandr Belik
  • 12,725
  • 6
  • 64
  • 90
Rahul
  • 103
  • 1
  • 1
  • 6

1 Answers1

4

You can add the headers in JMeter for WS. Right click on the sampler > Add > Config Element > HTTP Header Manager.

NaveenKumar Namachivayam
  • 1,163
  • 3
  • 25
  • 39