Xena Knowledge Base

Scripting And 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 Scripting Specification – the programmer’s reference manual for the scripting capability. The manual is available online here on our website.

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

Q: How do I run a RFC2544 test?
A: Xena offers a free application called Xena2544 for performing RFC2544 tests.

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.