Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tsung doen't respond with PONG #399

Open
andy-gpt opened this issue Oct 24, 2022 · 0 comments · May be fixed by #407
Open

Tsung doen't respond with PONG #399

andy-gpt opened this issue Oct 24, 2022 · 0 comments · May be fixed by #407

Comments

@andy-gpt
Copy link

andy-gpt commented Oct 24, 2022

Tsung doesn't respond with pong making all WebSocket connections close.

My config:

<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/usr/local/Cellar/tsung/1.7.0/share/tsung/tsung-1.0.dtd">
<tsung loglevel="debug" version="1.0">
  <clients>
           <client host="localhost" use_controller_vm="true" maxusers="60000"/>
  </clients>

  <servers>
    <server host="localhost" port="80" type="tcp"></server>
  </servers>

  <load>
    <arrivalphase phase="1" duration="100" unit="second">
      <users maxnumber="10" arrivalrate="1" unit="second" />
    </arrivalphase>
  </load>

  <options>
    <option name="ports_range" min="1025" max="65535"/>
  </options>

  <sessions>
    <session name="websocket" probability="100" type="ts_websocket">
             <request>
        <websocket type="connect" path="/app/097up9rt2wc0jbqhaagg"></websocket>
      </request>

      <request subst="true">
        <websocket type="message">{"event":"pusher:subscribe", "data": { "auth":"", "channel": "public-channel" }}</websocket>
      </request>

      <for var="i" from="1" to="1000" incr="1">
        <thinktime value="30"/>
      </for>
    </session>
  </sessions>
</tsung>
@andy-gpt andy-gpt changed the title Tsung doen't resping with PONG Tsung doen't respond with PONG Oct 24, 2022
@nosnilmot nosnilmot linked a pull request Jan 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant