aspnetcore/test/AutobahnTestApp
Nate McMaster 1d67db92c2
React to aspnet/Korebuild#160
2017-02-16 10:05:34 -08:00
..
Properties
TestResources
scripts
AutobahnTestApp.csproj Replace makefile.shade and update test TFM to net452 2017-02-13 14:25:20 -08:00
Program.cs React to UseHttps change 2017-01-09 16:42:24 -08:00
README.md
Startup.cs Remove obsolete WebListener test scenario 2017-01-05 12:34:35 -08:00
runtimeconfig.template.json Upgrade to VS 2017 2017-02-02 13:55:14 -08:00
web.config

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.