Opale Technical Blog
Deep insights, practical solutions, and expert analysis for tech enthusiasts.

Programmatically start a test in 5 easy steps

Author icon Olivier Willi   Calendar icon Thursday, 23rd June 2022

Integrate MultiDSLA into a larger test system

MultiDSLA's programmable API ("Remote Access") helps you to script everyday functionality to make repetitive tasks easier or to integrate MultiDSLA into a larger test system. This article demonstrates how to start a test between two nodes and then collect results when the test is completed.

  1. The first step is to connect to the MultiDSLA remote command interface. The command interface is provided over a TCP/IP socket interface so you can control MultiDSLA from an application running on the same PC as MultiDSLA or another networked PC. For demo purposes a telnet client is a convenient way to connect to MultiDSLA. By default MultiDSLA listens for connections on port 6015 - but this can be changed in the System Settings > General > External Access Options dialog.
  2. Once connected, the first thing to do is issue a logon command. If you have user accounts enabled you need to logon with an appropriate account, otherwise simply issuing a logon command is enough.
    > logon 
    OK
  3. Now we can start a test. The syntax is: test start. For any parameter that contains white-space enclose the parameter in quotes. Submit the command. A testID number will be returned if the test is started correctly. The parameter is the path of the tasklist to run, either relative to the working directory, or the full path name on the system.
    > test start “britishquickqualitychk.mtl” “dsla 1” “dsla 2 
    456
  4. We can check the progress of the running test using the returned testID.
    > test getprogress 456
    RUNNING
    > test getprogress 456
    FINISHED
  5. We can extract results when the test is finished. This will return an xml formatted result.
    > result gettestsummary 456

These are just a few of the commands available in Remote Access. The full API document is installed with the MultiDSLA software and can be accessed via the Windows Start menu. Specific language support for TCL, Python and Perl is included while support for other languages such as C++, C# & Java is supplied via the generic sockets interface.

Contact Opale Systems or your distributor for more information.

Open cookie management panel
Close panel
This site uses cookies to ensure its proper functioning. It also uses cookies from third party services to provide advanced functionality. At any time, you can choose which services you wish to activate or decide to withdraw your consent.
 
Customise accepted services
You are free to choose which services you wish to enable. By authorising these third party services, you agree to the deposit and reading of cookies and the use of tracking technologies necessary for their proper functioning. By withdrawing your consent for some of these services, some website features may no longer function.
Website navigation  Read more
The site writes a session cookie to enable it to function properly and to help with navigation. It cannot be deactivated.
Usage: 1 cookie, records the session identifier.
Time to live: The cookie is present during the entire session on the site. It becomes obsolete after 24 minutes of inactivity.
Mandatory
Media Popup
Display videos from Youtube or Dailymotion.
Google Analytics  Read more
Records website statistics.
 
Accept all Refuse all Manage
Follow us on LinkedIn Follow us on Youtube