Conformance Testing
dsTest supports compliance testing of message contents with the ability to validate the structure and content of incoming messages using the features described below.
Protocol Dictionaries
Mobileum publishes a number of protocol dictionaries on our web site. Our Diameter Dictionary and REST Dictionary are more than merely reference guides, however, as they may also be used by dsTest. dsTest validates message structure and content in real time during your test as this capability is highly optimized to run under moderate load levels. Include the applicable dictionary in your test by enabling message validation, thus adding conformance testing to your performance or functional test.
Furthermore, you can extend and customize these dictionaries in order to validate acceptable content in certain messages or under certain circumstances. Simply upload your custom dictionaries and specify the files that are to be used for a particular test. Your custom dictionaries are translucent — if a message or component is not found in your dictionary then the base dictionary will be searched.
dsTest compares messages received against the dictionary to find a template for that message type. In other words, it searches for a message definition that matches the composition of the message received. The values of message components may be defined to a specific value, a list of acceptable values, a range of values, and/or minimum and maximum size. You may also define multiple templates for messages of the same type, effectively providing conditional validation.
Message Templates
Similar to custom dictionary definitions, message validation templates defined within SmartEvents give you the maximum control of application-level message validation on a per-subscriber basis. When used in this manner, you can insert actual subscriber information in message components by inserting placeholder variables in your templates. Moreover, this feature is offered for SOAP and LDAP messages as well as Diameter and REST.
With dsClient Desktop, you can import Diameter messages and AVPs from protocol dictionary files and/or the Subscriber Event Log.
For more information on using message definitions, including how to use dsTest base protocol dictionaries to enhance the creation of message definitions/templates, see the additional help topics:
SmartEvents/SmartFlow State Machines