Open djones6 opened 5 years ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
While testing Kitura-WebSocket, I wanted to run the Autobahn tests against my changes. The existing guide in
AutobahnTests.md
is helpful, but it's a pain to have to install all the dependencies for the client, deal with versions of Python, missing macOS headers and so on.I found that there's an autobahn docker image (https://github.com/crossbario/autobahn-testsuite/tree/master/docker) that we can use for the client. And we can do everything within Docker if we dockerize the echo server and run both on a network.
To that end, I've created an
Autobahn
subproject containing a Dockerfile and arun.sh
which wil build the server into awsserver
image, run that as a container on a Docker network calledautobahn
, and then run the autobahn client (on the same network) targettingwsserver:9001
. At the end of the run, it'll open the HTML report that the client generates.