https://github.com/jrwren/slowserver
a web server with a slow responding endpoint for use in testing proxies or clients behavior
https://github.com/jrwren/slowserver
Last synced: about 2 months ago
JSON representation
a web server with a slow responding endpoint for use in testing proxies or clients behavior
- Host: GitHub
- URL: https://github.com/jrwren/slowserver
- Owner: jrwren
- License: mit
- Created: 2022-08-04T16:25:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T20:00:34.000Z (9 months ago)
- Last Synced: 2024-08-26T23:11:20.893Z (9 months ago)
- Language: Go
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slowserver
Slowserver is a simple web app with an intentionally slow responding endpoint
and a websocket echo and websocket pinger endpoint.This can be useful for testing HTTP clients and proxies.
Also included is wsocat, a command line websocket client.
## Running
Use go install to install slowserver and wsocat.
```sh
go install github.com/jrwren/slowserver/...
```In one shell run the server:
```sh
slowserver
```Then run wsocat to connect to it:
```sh
wsocat ws://localhost:8080/ws-pinger
```