Testerman comes with a collection of codecs and probes to interact with your SUTs.
A probe (a.k.a. a Test Adapter or SUT Adapter in TTCN-3 terminology) is the entity that is responsible for actually implementing the interaction with the SUT.
It could be reading and writing packets on the wire, reading/writing a file somewhere, etc, and is usually configurable to provision actual SUT IP addresses or port or other SUT-dependent and test logic-independent parameters.
The probe is what is behind a test system interface port, and both are associated through what Testerman calls a binding. The binding is also the moment when you can set those SUT-dependent parameters for the probe: they are called probe properties.
A codec is something different.
It does not perform any SUT adaptation, but only provides a way to encode/decode high level, structured userland messages to/from a lower level payload. Codecs can be stacked so that it is trivial to build things such as transporting a MAP message encoded in base64 in a XML element sent over UDP to a remote target; in this dummy example, we would stack MAP, base64, and XML codecs to build a full payload that would be sent through a UDP probe, actually injecting raw data over the network to a SUT address that could be defined as a probe property (when not test-dependent).
Codec ID | Description |
---|---|
xml |
a simple XML coder/decoder - you may also have a look to CodecXerLite |
xer.lite |
CodecXerLite, a XER (XML Encoding Rules)-like codec that only uses a subset of XML capabilities (no attributes) |
http |
CodecHttp, HTTP request/response codecs |
soap11.ds |
CodecSoapDs, a codec that enables to sign (and verify signatures of) SOAP 1.1 message, using Ws-Security standards. |
Codec ID | Description |
---|---|
rtsp.* |
RTSP Codecs |
sdp |
CodecSdp, a RFC4566 SDP (Session Description Protocol) codec |
Codec ID | Description |
---|---|
sua |
CodecSua, a RFC3868 SUA (SCCP User Adaptation) codec |
tcap |
CodecTcap, a TCAP (ITU) codec |
map.* |
CodecMap, a collection of codecs for MAP Phase 2+ PDUs |
sms.tpdu.* |
CodecSmsTpdu, a collection of codecs for SMS TPDU SM-TL layer (GSM 030.40) |
tbcd |
A telephony BCD codec |
packed.7bit |
A codec for 7-bit packed strings (useful for SMS encoding) |
These probes are useful to test a SUT at protocol level.
These probes are mainly useful to interfact with a SUT at high-level. They are mainly convenience tools to develop the glue between several domain testing, and are meant to integrate usual actions associated with testing: connecting to remote machines, checking files, running commands, changing configuration files, checking an SQL database, etc.
tail -f
and
grep
, useful to check log files for instance)autogen/ProbeXmlRpc
, a probe to invoke remote operations via XML-RPCThis section provides the reference documentation for each codec and probe.
TODO.
Notice that the internal APIs are stable and can be safely used to develop new codecs/probes plugins.