oberstet/Autobahn — Issue #53: Fuzzing Server fails when running client testsuite
Author: joakime
Created: 2011-10-25 22:13:11+00:00
State: open

See project:
https://github.com/jetty-project/jetty-autobahn-websocket-client

We are attempting to setup a test of the jetty-websocket client lib against the fuzzing server.
However, the fuzzing server tosses errors when attempting to execute a websocket uri such as...

ws://localhost:9001/runCase?case=20&agent=Jetty%2DWebsocket%2DClient%2F7%2E5%2E4%2Ev20111024

We are using tag v0.4.2 of autobahn to perform these tests.

the python stack trace
```
2011-10-25 15:05:15-0700 [FuzzingServerProtocol,22,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/python/log.py", line 84, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/python/log.py", line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
why = getattr(selectable, method)()
File "/usr/local/lib/python2.7/dist-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 460, in doRead
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/autobahn-0.4.2-py2.7.egg/autobahn/websocket.py", line 400, in dataReceived
self.consumeData()
File "/usr/local/lib/python2.7/dist-packages/autobahn-0.4.2-py2.7.egg/autobahn/websocket.py", line 422, in consumeData
self.processHandshake()
File "/usr/local/lib/python2.7/dist-packages/autobahn-0.4.2-py2.7.egg/autobahn/websocket.py", line 1393, in processHandshake
protocol = self.onConnect(connectionRequest)
File "/usr/local/lib/python2.7/dist-packages/autobahn-0.4.2-py2.7.egg/autobahn/fuzzing.py", line 918, in onConnect
raise Exception("need case to run")
exceptions.Exception: need case to run

```