Scripting & Automated Testing
This FAQ page deals with questions related to scripting and automated testing.
Q: Which features are available via scripting?
A: The full feature set is available via the TCP/IP based command line interface. Anything that can be done from XenaManager can also be done via text-based commands.
Q: Where can I find the documentation of the Xena API scripting commands?
A: Refer to the Xena OpenAutomation CLI Command Documentation (online) for the scripting capability. For PDF download: Xena OpenAutomation CLI Command Documentation (PDF)
Q: Is there a Tcl, Perl, Java or API available?
A: No, we do not provide a full API wrapper for any language. Xena customers have implemented their own proprietary Tcl, Perl, and Java scripting wrappers, where the wrapper converts from Xena’s generic TCP/IP command line interface, to the customer’s own and proprietary test equipment Tcl/Perl/Java/ API
See also
Examples of the wrappers are hosted on open-automation-script-library
Q: Can I run Xena2544 against a device which performs Network Address Translation (NAT)?
A: Yes. The RFC 2544 identifies packets via the Test Payload inserted in each packet, and does not depend on seeing the original source address to validate the throughput. The Xena2544 therefore operates correctly also when the device under test performs NAT.
Q: Are there any wizards for setting up test patterns, e.g. a full mesh traffic load on an n-port DUT?
A: Yes, XenaManager features a stream Wizard that will help you create various configurations for many ports and streams.