aspnetcore/test/AutobahnTestClient
N. Taylor Mullen 552b336a78 Update LICENSE.txt and license header on files. 2015-05-01 14:07:00 -07:00
..
AutobahnTestClient.xproj Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:31 -07:00
Program.cs Update LICENSE.txt and license header on files. 2015-05-01 14:07:00 -07:00
Project.json
ReadMe.txt

ReadMe.txt

This test server is for use in testing client side implementations of the WebSocekt protocol. It is currently implemented to test 
Microsoft.AspNet.WebSockets.Client.WebSocketClient and System.Net.WebSockets.ClientWebSocket.

See http://autobahn.ws/ to download and install the test framework.

Usage:
Run the test server:
"C:\Program Files\Python\2.7.6\Scripts\wstest" -d -m fuzzingserver -s fuzzingserver.json
Where fuzzingserver.json contains the following:

{
   "url": "ws://127.0.0.1:9001",

   "options": {"failByDrop": false},
   "outdir": "./reports/clients",
   "webport": 8080,

   "cases": ["*"],
   "exclude-cases": [],
   "exclude-agent-cases": {}
}

Then run the client of your choice, taking care to update the serverAddress and agent fields in the client code.