Installation
Hardware and Software Requirements
Hardware
- Multi-core processor (2+ cores)
- 4 GB RAM (8 GB recommended for load generation)
- 1 GB available disk space
Software
XLT will work on any operating system for which a current JVM and the other software prerequisites are available, so make sure you have the following:
- Java 21 or later (see release notes for currently recommended version)
- A browser to view the HTML load test reports (JavaScript must be enabled)
Installation
Download
The XLT archive can be obtained from the Xceptance website or from Maven Central (see below) which allows users of Maven and Gradle to conveniently integrate XLT and all of its dependencies into their build processes.
Extract
Unzip the XLT archive to a file system location of your choice. The root directory is part of the archive, so you donāt need to create it separately. XLT supports spaces in the path; however, it’s easier to code tests when the path is free of them.
Please make sure the executable directory of your Java installation is listed in your PATH environment variable so that the XLT start scripts can find the JVM runtime.
Maven
<dependencies>
<dependency>
<groupId>com.xceptance</groupId>
<artifactId>xlt</artifactId>
<version>9.2.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
šLatest Version
The version above might not be the latest. Please adjust the version information accordingly.
Updating
Backup
Before you update XLT, itās highly recommended to back up all modified files and project-specific or customized settings. In particular, this includes:
- All your test suites (especially when stored in a sub-folder of the XLT installation directory)
- Result files (stored in
<XLT>/resultsby default) - Generated load test reports (stored in
<XLT>/reportsby default) - Modified XLT properties files (
<XLT>/config)
Download and install
As described above in the installation section, download and install the latest XLT version from the Xceptance website. You can have multiple XLT versions simultaneously existing in the same directory since the name of the unpacked installation folder includes the version number by default.
Copy Backed-up Files
Copy your backed-up files and directories to the corresponding place in the new XLT installation directory.
Copy test suite settings
New test suite settings are provided in the default.properties file of the test suite testsuite-template. Copy it from <LatestXLTversion>/samples/testsuite-template/config to the config directory of your test suites <YourTestSuite>/config.
Note that when you configure your test project to use a newer version of XLT, do not forget to update XLT on your load machines as well. The version you have used to develop your test scripts must match the executing version of your load test environment.
Uninstallation
Before uninstalling XLT, make sure to back up all test results and test reports you want to keep. To uninstall XLT, simply delete its installation directory.