.. _`Getting Started`: ############### Getting Started ############### *This section describes how to use the Tester’s main features.* .. _`Starting and Stopping Tester`: Starting and Stopping Tester **************************** Tester may be started by running the OpenSplice Tester application or from a command prompt and oslptest with the following command line arguments: **-?** or **-help** Display the command line options **-ns** No splash screen **-uri ** URI to connect **-nac** No auto-connect upon application start **-s ** Script to run **-b ** Batch script to run **-noplugins** Do not process plugins **-plugindir ** Extra plugin directory to search **-headless** Run script or batch script without the GUI **-rc ** Enable remote control (via ) **-dsl ** Default script language **-l ** Load topics from file (These preferences can also be set from the menu *File > Preferences*.) Starting - Local Connection *************************** |windows| On Windows, use either of the shortcuts created by the installer (on the desktop and in *Start > Programs*) to start Tester. |linux| On Linux go to the installation directory and execute the command: :: % ospltest This will start Tester with separate windows. .. _`Starting - Remote Connection`: Starting - Remote Connection **************************** To connect to a remote platform, execute the command: :: % ospltest -uri http://perf1.perfnet.ptnl:50000 (Port number 50000 is the default port in a standard DDS shared-memory deployment.) Stopping ******** Stop Tester either by using the menu option *File > Exit* or by clicking on the main window *`close'* button |close|. Remotely Controlling Tester *************************** Starting Tester in remote control mode *e.g.* ``"ospltest -rc -headless"`` allows Tester to be controlled from another application, shell script, *etc.*. Use cases for remote control include: + Using Tester in combination with a commercial or proprietary test system; + Within a continuous build and test environment this would provide more options to control DDS testing in combination with other application-specific testing; + In an integrated development environment like Eclipse using Junit for testing. A Tester instance is controlled *via* a TCP/IP connection. Text-based commands are sent over this connection. The remote control application can be used by executing the command: :: ospltestrc [-p ] [-h ] where ```` is the host name of the machine that the Tester you wish to control is running on ```` is the port that Tester is listening on (specified by the ``-rc`` option when Tester was started) ```` is the command to send to Tester. The remote control commands are: **stop** Terminate the Tester instance **batch ** Execute the batch with ```` **script