aspnetcore/test/AutobahnTestApp
Andrew Stanton-Nurse 91e94b1353 automate the autobahn test suite (#101)
However, we only run that automation if the Autobahn test suite runner
(wstest) is installed. After this is in and we can verify it on the CI
we'll look at making it mandatory for building the repo.

Also includes test applications and scripts for running Autobahn suites
against arbitrary ASP.NET 4.6, ASP.NET Core and HttpListener
applications.
2016-07-15 11:54:24 -07:00
..
Properties automate the autobahn test suite (#101) 2016-07-15 11:54:24 -07:00
TestResources automate the autobahn test suite (#101) 2016-07-15 11:54:24 -07:00
scripts automate the autobahn test suite (#101) 2016-07-15 11:54:24 -07:00
AutobahnTestApp.xproj automate the autobahn test suite (#101) 2016-07-15 11:54:24 -07:00
Program.cs automate the autobahn test suite (#101) 2016-07-15 11:54:24 -07:00
README.md automate the autobahn test suite (#101) 2016-07-15 11:54:24 -07:00
Startup.cs automate the autobahn test suite (#101) 2016-07-15 11:54:24 -07:00
project.json automate the autobahn test suite (#101) 2016-07-15 11:54:24 -07:00
web.config automate the autobahn test suite (#101) 2016-07-15 11:54:24 -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.