Create a launch configuration


+

Search Tips   |   Advanced Search

 

Overview

Create a custom launch configuration to...


Set a launch configuration for a schedule or test

  1. In the Test Navigator, expand the project until you locate the schedule or test.

  2. Right-click the schedule or test, and then click Run > Run.

    If the Perspectives page is displayed, keep the defaults.

  3. In the Configurations area on the left, click Performance Schedule, and then click New.

    A test configuration, initially named New_configuration, is created. Typically, you supply a configuration name that is similar to the schedule name.

    At this point, you can run the schedule if you click Run. However, you will not have created a meaningful configuration.

  4. Click the Execution Results tab and type a file name for the execution results (the default is the name of the test or schedule).

    Performance Tester appends a time stamp to this name. Select Override existing Execution Results resource to overwrite the file each time that you run the configuration.

  5. If you are setting the configuration for a test that you will run outside a schedule, click the Users tab and enter the number of users to emulate.

  6. Click the Common tab to inspect or modify the run preferences.

  7. For Type of launch configuration, select one of the following options:

    Option Description
    Local Launch configuration is stored in the workspace, and it is not visible to other users.
    Shared Other users have access to the launch configuration; you are asked where to store it.

  8. For Display in favorites menu, select one or more of the following options:

    Option Description
    Run Launch configuration is displayed in Run toolbar menu. If you select a toolbar menu at all, this is the logical choice for a schedule or test.
    Debug The launch configuration is displayed in the Debug toolbar menu.
    Profile The configuration is displayed in the Profile toolbar menu.

  9. Verify that "Launch in background" is selected.

    If you do not run the configuration in the background, you cannot do anything in Eclipse until it finishes running the configuration.

  10. Click Apply, and then click Run to run the configured schedule or test, or click Close to save the configuration and run it later.


Related tasks

  • Run a schedule or test
  • Run a configured schedule
  • Configure different ports for a location
  • Automating tests
  • Increasing memory allocation
  • Change the number of virtual users during a run
  • Release virtual users from synchronization points
  • Change the problem determination level during a run
  • Interrupting a run