Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A websocket client for testing and debugging websocket connection built with react.

License

NotificationsYou must be signed in to change notification settings

rahulhaque/websocket-tester-react

Repository files navigation

Socktest is a simple websocket client application built with React for testing and debugging websocket server. It can connect to a websocket server and send payloads and receive responses from the server along with tracking connection activity log.

Demo -Socktest

Features

  • Connect to any websocket.
  • Send and receive payloads and responses.
  • Payload is saved on successful send.
  • Multiple payloads storage support.
  • Websocket protocol support.
  • Realtime persistent connection activity log.
  • Auto reconnect option.
  • Clear log view.
  • Responsive UI.
  • JSON highlighter.
  • Progressive Web App (Works both online and offline).

Shortcuts

  • Protocol set onenter press.

Usage

  • Clone or download the repo.
  • cd into directory and runnpm i to install the dependencies.
  • Runnpm start to launch the app.
  • Go tohttp://localhost:3000

Docker

  • Rundocker-compose up -d to start.
  • Go tohttp://localhost:3000
  • Rundocker-compose down to stop.

Screenshots

More Info

This is a basic approach towards making a websocket tester app which can be used to test the logic of any websocket server. Often we need to implement a websocket server for ourselves. However, testing process of the inner logic of the websocket quickly becomes tiresome. This app aims to lessen that effort.

Spare a ⭐ to keep me motivated. 😃

License

This software is licensed under the MIT License (MIT). You are free to use and modify the code. A simple mention or reference would be highly appreciated.


[8]ページ先頭

©2009-2025 Movatter.jp