aspnetcore/test/AutobahnTestApp
Mike Harder 43eb9574a1 Fix invalid format string (#181)
- Introduced in 79036ea166
2017-06-03 09:35:37 -07:00
..
Properties React to WebListener rename 2017-01-03 18:58:44 -08:00
TestResources
scripts
AutobahnTestApp.csproj Change compilation targets. 2017-03-21 16:41:15 -07:00
Program.cs Fix invalid format string (#181) 2017-06-03 09:35:37 -07:00
README.md
Startup.cs improve logging of Autobahn tests (#166) 2017-04-18 11:53:45 -07:00

README.md

Autobahn Testing

This application is used to provide the server for the Autobahn Test Suite 'fuzzingclient' mode to test. It is a simple echo server that echos each frame recieved back to the client.

In order to run these tests you must install CPython 2.7, Pip, and the test suite modules. You must also have the wstest executable provided by the Autobahn Suite on the PATH. See http://autobahn.ws/testsuite/installation.html#installation for more info

Once Autobahn is installed, launch this application in the desired configuration (in IIS Express, or using Kestrel directly) from Visual Studio and get the WebSocket URL from the HTTP response. Use that URL in place of ws://server:1234 and invoke the scripts\RunAutobahnTests.ps1 script in this project like so:

> .\scripts\RunAutobahnTests.ps1 -ServerUrl ws://server:1234

By default, all cases are run and the report is written to the autobahnreports sub-directory of the directory in which you run the script. You can change either by using the -Cases and -OutputDir switches, use .\script\RunAutobahnTests.ps1 -? for help.