Load Test preferences can be customized in the in the Preferences panel, which can be accessed by going to File > Customize Preferences or by pressing ALT+F2.
Once this panel is open, you can modify settings through the following tabs:
Components
This page shows deployment details of a built-in component (for example, a jar file that drives the load tests). It displays component deployment properties such as the Java class name of the main component class as well as component validation messages.
GUI
You can set the following settings in the GUI panel:
- Themes: Allows you to select the theme for the overall look and feel of the Load Test GUI.
- Gradients: Displays various gradient properties corresponding to the Theme selected. If Custom is selected from the Themes menu, you can customize Gradient settings.
- Test Tree Colors: Displays the color settings or Test Suite Labels and Test Suite Shared Artifacts Labels. If Custom is selected from the Themes menu, you can customize Test Tree Color settings.
- Use Background Image: Adds an image to the background of Load Test.
- Fonts: Allows you to select the font and font size of the labels that display for Test Trees, Test Suites, Test Tree Tools, Load Test Trees, and Load Test Folders.
Note
Load Test must be restarted in order for GUI changes to take effect.
Scripting
You can specify Jython and Java properties used for custom scripts in the Load Test Preferences panel’s Scripting tab.
Java: For Java, you can specify the Java home directory and the path to the
javac
compiler. You need to specify these parameters if you want to compile Java methods within Load Test’s Editor.Note
The
javac
compiler is not included in the Load Test installation.- Java Home: Specifies the Java installation directory.
- Java Classpath: Specifies the Java classpath.
- Java Script: If you create scripts using JavaScript, you can specify a script template in the Script Template field.
- Script Template: Whatever code is specified in this field will be used as the default code for inline scripting in the language with which the field is associated. This is primarily useful for setting default inputs and common global variables. Script templates apply to scripts used in Method tools; they do not apply to JavaScript tests that run in a browser context.
- Jython: If you are using Jython scripts, you can specify the Jython Path variable. Jython scripting support can be used without setting this variable by specifying a script template in the Script Template field.
- Jython Path: Specifies a list of directories to search for python modules that are not already included with Jython. Separate multiple directory paths using the OS default path separator (";" for Windows and ":" for Linux and macOS). If you set the Jython path, then you need to restart Load Test for the change to take effect.
- Script Template: Code specified in this field sets a default template for Jython scripts used in the tool.
Start-Up
You can enable the following start-up options in the Start-up panel:
- Start server on Parasoft Load Test start-up: Tells Load Test to start the SOAtest server used for asynchronous tests in the SOAtest project. See Configuring Asynchronous Tests.
- Show welcome screen on Load Test start-up: Tells Load Test to display the welcome screen upon start-up.
System Properties
This panel lets you add JAR files and class folders to the classpath if needed. Use the available controls to add or remove JAR files and class folders. The specified JAR files and classpaths will be added to the system's classpath and the corresponding classes will be loaded into the JVM after Load Test is restarted.