aspnetcore/test/AutobahnTestClient
Pavel Krymets 4ee4c29b06 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:09:11 -07:00
..
AutobahnTestClient.xproj
Program.cs
ReadMe.txt
project.json Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:09:11 -07:00

ReadMe.txt

This test server is for use in testing client side implementations of the WebSocekt protocol. It is currently implemented to test 
Microsoft.AspNetCore.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.