mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-07-10 01:59:50 +00:00
rest-traffic
Test utility for nwaku. Given the REST API endpoint, it injects traffic with a given message size at a given rate.
See usage:
node index.ts --help
Use with docker:
build:
context: ./tools/traffic-subscribe
dockerfile: Dockerfile
Run outside docker:
IP=$(docker inspect logos-delivery-simulator-nwaku-1 -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}')
node index.ts --single-node=http://$IP:8645