crossbario / autobahn-testsuite

Autobahn WebSocket protocol testsuite
https://crossbar.io/autobahn/
Apache License 2.0
980 stars 84 forks source link

Testing WAMP client libraries #35

Closed oberstet closed 7 years ago

oberstet commented 10 years ago

Outline of WAMP v2 client library test mode.

To test a WAMP client library with Autobahn|Testsuite, one needs to implement a testee component using the client library. A testee component is a WAMP application component that behaves in a defined way. E.g. it needs to register a procedure “com.math.add2” which takes two numbers and returns their sum and it needs to publish an event to “wamp.testee.onready” when it has fully initialized. The testee component then connects to a router, and a test driver component connected to the same router will then orchestrate the test. During the test, a defined schedule of operations is carried out by the test driver on the testee component, and the testee component’s reactions and behavior is recorded. The test recording is stored and analyzed. A test report is generated.

oberstet commented 10 years ago

The basic idea is to have both the testee and the fuzzer of a WAMP client library test mode implemented as WAMP application components.

oberstet commented 7 years ago

there will be now WAMP tests in this testsuite .. wont fix