程序包 xyz.xiezc.ioc.starter.starter.web.netty.websocket.benchmarkserver

This package contains a benchmark application for websockets.

The websocket server will accept websocket upgrade requests and simply echo all incoming frames.

The supplied index page contains a benchmark client that runs in a browser.

Once started, you can start benchmarking by by navigating to http://localhost:8080/ with your browser.

You can also test it with a web socket client. Send web socket traffic to ws://localhost:8080/websocket.