...
The Load Test Continuum Web application looks for the Load Test report data within a specific file path on the machine where it is installed. By default, this data root path is set to C:\\CONTINUOUS_LOAD_TEST
.
You can customize the LTC data root path. LTC will look for its data root in the following order:
data_source_location
environment variabledata_source_location
Java system propertydata_source_location
parameter in the LTC Web application configuration file web.xml
To set the data_source_location
Java system property, append it to the JAVA_OPTS
variable in Tomcat’s catalina.bat/sh launch script. For example:
Code Block | ||
---|---|---|
| ||
set "JAVA_OPTS=%JAVA_OPTS% -Ddata_source_location=C:\MY_LTC_DATA" |
To set the data_source_location
parameter in web.xml, deploy the LTC Web application, then open Once the Load Test Continuum Web application is deployed, you can change the data root path. Open the web.xml file in the ${TOMCAT_HOME}$<TOMCAT_HOME>\webapps\ltc\WEB-INF\
directory in a text editor and set the param-value
of the data_source_location
parameter to the path where Load Test Continuum should look for load test data. You can also unjar un-jar the ltc.war file, change the data_source_location
in web.xml and , then re-jar the Web application if you want to reuse this configuration in multiple Load Test Continuum installations.
...
The following example command from a Load Test script sends reports to Load Test Continuum. It is important that you keep your report path in the sequence illustrated by the script below:
No Format | ||
---|---|---|
| ||
${ltc-data-root}/${project-name}/%d/${category-name}/${test-name} |
The The ${ltc-data-root}
variable should point to the Load Test Continuum data root (see Configuring the Load Test Continuum Data Root).
...
Code Block |
---|
var ltc-data-root = C:\CONTINUOUS_LOAD_TEST var project-name = YOUR_PROJECT_NAME var project-home = ${ltc-data-root}/${project-name} |
or
Code Block | ||
---|---|---|
| ||
var project-home = C:\CONTINUOUS_LOAD_TEST\YOUR_PROJECT_NAME |
The following example shows what the complete script would look like:
...
Open Load Test Continuum in a browser (for example, http://<yourserver>:<yourport>/ltc
) to begin exploring the interface.
...