Create an Execution Server

The Execution Server is an instance of Test Studio Standalone, Test Studio for Visual Studio plugin, or the Test Studio Run-Time Edition. An Execution Server is ready to use when you configure it and register it with your Scheduling Server. Because of this, you cannot configure an Execution Server without a successfully configured Scheduling Server first.

Several Execution Servers (ES) can connect to the same Scheduling Server (SS). Multiple Execution Servers allow you to execute multiple test lists simultaneously. Physical and virtual machines can be Execution Servers. You can also configure the same machine to be both a Scheduling and Execution Server. Differences in operating systems between the machines running the SS and the ES are allowed. Ensure there are no Test Studio version differences, however: every ES must be running the same version of Test Studio as the SS.

 

A few things to consider when choosing an ES machine:

  • You must be logged on with an Administrator account at all times – you can disconnect from the ES but not log off.
  • (2013 R1) Configuring a machine as an Execution Server and connecting it to a Scheduling Server prevents you from selecting Run Locally from the Scheduling Server Settings dialog.
  • (2013 R1) Ensure that the Execution Server machine has sufficient space on disk to store a copy of any project you schedule for execution on that Execution Server.
  • (2013 R1) If you plan to use 'Get Latest from TFS' on scheduled test runs, make sure the Test Studio Execution Service uses a service account with access to log on to the TFS repository.
  • (2012 R2 and earlier) Ensure the location of your test project is accessible from the ES.
    • You may need to change the account under which the Scheduling service is running. The default is to use the Local System Account. Often this account does not have permissions to access external file shares.
    • Load the Services Console, locate Telerik TestStudio Scheduling Service, right click it and select Properties, and go to the Log On tab.
    •  

       


2013 R1

After successfully installing Test Studio, run the Execution server software:

 

  1. Click Start Menu > All Programs > Telerik > Test Execution 20XX.X > Start Execution Server.
  2. In the Windows Task Bar, right click the Test Studio icon and click Show.

    Task Bar

  3. The Test Studio Test Runner dialog appears. The address for the Scheduling Server that the Execution Server is connected to appears under Scheduling Connection. To change this address, click Change location... under Scheduling Connection.

    Test Studio Test Runner

    If there is no Change button, read how to resolve this.


  4. Input the address for the Scheduling Service under Scheduling Service URI and click Change to connect to the Scheduling Server:

    Scheduling Service Location


2012 R2 and Earlier

You can review our Telerik TV episode on Establishing an Execution Server for a video walk-through of this process.

After successfully installing Test Studio, run the Execution server software:

 

  1. Click Start Menu > All Programs > Telerik > Test Execution 20XX.X > Configure as Execution Server.

     


    Version 2012.1.528 & older

    R1 2012 SP2 & newer

     

  2. Click Register/Connect.

     

     

  3. Add the Server name and port for the machine on which your SS is running. The default port is 8009. A Connection URL is generated from the server name and port number. If the Execution Server and Scheduling Server are not on the same domain, use the IP address for the Scheduling Server instead of the machine name. Change the URL if you previously edited the default URL when configuring the SS.
  4. Edit the test execution folder if desired. This should not match the Project Source Location set when you Connect a Project to the Scheduling Server.
  5. Click Register/Connect.
  6. You should see a message that states The machine has been successfully registered for scheduling test runs. Click OK.
  7. The Telerik Test Studio Execution Server application opens. Do not close this application; it is required to be open for your tests to execute. Click the X in the upper right of the window to minimize it to the system tray.
  8.  


    Version 2012.1.528 & older

    Version 2012.1.719 & newer