We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.
Difference between revisions of "E1.33 SLP SA Tests"
From wiki.openlighting.org
(Created page with "As E1.33 (RDMNet) draws closer, I thought it would be good to start releasing some testing tools. The first of these are some simple tests to check a RDMNet device's SLP SA …") |
|||
Line 31: | Line 31: | ||
./slp_sa_test 0 --tests CaseSensitiveScopeSrvRqstTest 192.168.10.80 | ./slp_sa_test 0 --tests CaseSensitiveScopeSrvRqstTest 192.168.10.80 | ||
</pre> | </pre> | ||
+ | |||
+ | == Debugging == | ||
+ | |||
+ | I've found the fastest way to debug failures is to use [http://www.wireshark.org/ WireShark]. If you have questions about the tests cases, please ask on the [https://groups.google.com/forum/?fromgroups#!forum/rdm-testing RDM Testing List]. | ||
== Limitations == | == Limitations == | ||
Right now the tests don't cover any DA interactions. I'll try to add this in a future release. | Right now the tests don't cover any DA interactions. I'll try to add this in a future release. |
Latest revision as of 09:33, 5 February 2013
As E1.33 (RDMNet) draws closer, I thought it would be good to start releasing some testing tools. The first of these are some simple tests to check a RDMNet device's SLP SA implementation. The SLP RFC can be rather hard to read so I build up a set of tests to check a variety of corner cases.
The test program is part of OLA and can be found in tools/slp . It isn't included in the binary packages so you'll need to build from tarball or a git clone.
Running the tests
Running the test is as easy as passing the IP Address and (optional) port of the host to test. For example:
./slp_sa_test 192.168.10.80
The default port is 427, you can change it with:
./slp_sa_test 192.168.10.80:5570
Restricting the set of tests to run
You can get a list of all test cases with
./slp_sa_test --list
You can then restrict which tests to run:
./slp_sa_test 0 --tests CaseSensitiveScopeSrvRqstTest 192.168.10.80
Debugging
I've found the fastest way to debug failures is to use WireShark. If you have questions about the tests cases, please ask on the RDM Testing List.
Limitations
Right now the tests don't cover any DA interactions. I'll try to add this in a future release.