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.
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.