An open API service indexing awesome lists of open source software.

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

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
```