Skip to content

a web server with a slow responding endpoint for use in testing proxies or clients behavior

License

Notifications You must be signed in to change notification settings

jrwren/slowserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

go install github.com/jrwren/slowserver/...

In one shell run the server:

slowserver

Then run wsocat to connect to it:

wsocat ws://localhost:8080/ws-pinger

About

a web server with a slow responding endpoint for use in testing proxies or clients behavior

Resources

License

Stars

Watchers

Forks