“Sampler error: unexpected frame type.”

Issue #158 new
Aghanash Karthik created an issue

Using WS version 1.2.2 and Jmeter 5.2.1

Running the websocket load against our Application servers. It looks like on the server side, the requests are received. The jmeter client is receiving a closed frame from the server. Is it because of the number of connections that get opened?

→ Have increased the read timeout to 100000msecs from 40000msecs.

→ Tried increasing the ramp up time and increasing the delay between the threads as well.

What could be going wrong here? Can you please suggest any possible debugging that can done?

Comments (5)

  1. Peter Doornbosch repo owner

    The jmeter client is receiving a closed frame from the server. Is it because of the number of connections that get opened?

    That is certainly a possibility.

    General recommendations when it comes to load testing: always start with a load that the application-under-test can handle and than slowly increase one parameter at the team (e.g. more threads / more requests). When test fails, stop and investigate. Note that any component that is part of the test can fail, including JMeter, the PC that is running the client test, the network, etc. And indeed, it might be that you are facing a limitation of your application-under-test. In that case: congratulations, that was why you started the test in the first place!

  2. Peter Doornbosch repo owner

    It’s not in issue in JMeter or the plugin, the issue is in your test plan. Your test plan is not correctly simulating the real client.

  3. Log in to comment