Skip to content

Commit 59980d0

Browse files
jowernerJoerg Wernerh-arlt
authored
Release notes XLT 10 (#307)
* Release notes XLT 10 * fixes * Apply suggestions from code review Co-authored-by: h-arlt <4641065+h-arlt@users.noreply.github.com> --------- Co-authored-by: Joerg Werner <j.werner@xceptance.de> Co-authored-by: h-arlt <4641065+h-arlt@users.noreply.github.com>
1 parent 986864f commit 59980d0

2 files changed

Lines changed: 73 additions & 2 deletions

File tree

content/en/xlt/release-notes/10_0_x.md

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,75 @@ sitemap:
1717

1818
## XLT 10.0.0-beta-1
1919

20-
*Work in progress. Please check back later.*
20+
Version 10 is a major release of XLT. It comes with new features, but also some incompatible changes. See below for an overview of what's in the box.
21+
22+
You may need to migrate your test suites for use with this new version. Please read the *Test Suite Migration* section carefully.
23+
24+
25+
### Overview
26+
27+
#### Load Testing
28+
29+
XLT now uses *virtual threads* to execute load testing scenarios. Virtual threads, a feature of Java 21, are a much lighter alternative to platform threads. They enable test suite designers to create highly concurrent test suites with up to a hundred thousand parallel activities on a single machine, which is typically not possible with regular platform threads.
30+
31+
There is no change to the programming model. The developer-friendly one-thread-per-activity approach remains the same.
32+
33+
Virtual threads are enabled by default. To use platform threads instead, turn off virtual threads in the configuration of your test suite:
34+
35+
```properties
36+
com.xceptance.xlt.virtualThreads.enabled = false
37+
```
38+
39+
Note that virtual threads do not make the underlying machine "faster". They simply allow for higher concurrency with the same set of resources. Therefore, ensure that the machine matches your intended load profile.
40+
41+
42+
#### Load Test Report
43+
44+
##### Dynamic Charts
45+
46+
The *Dynamic Overview* charts have been improved. They now display data in the report's time zone, not just in UTC. Additionally, the gray minimum-maximum band remains intact when zooming in. Finally, the tooltip now shows the _count/s_ value as well.
47+
48+
##### Moving Averages
49+
50+
The *Averages* chart can now include additional moving averages alongside the standard moving average. The look-behind window used to calculate a moving average can now be defined not only by a percentage of previous values, but also by a time range. Additionally, moving average series lines now start already at the first data point in the chart rather than after the first complete look-behind window.
51+
52+
The report generator now creates three moving averages by default. The 5% standard moving average known from previous reports is now accompanied by 2% and 10% moving averages.
53+
54+
The configuration of moving averages in the `<xlt>/config/reportgenerator.properties` file has been adjusted to accommodate these changes. See below for an example:
55+
56+
```properties
57+
## The standard moving average with a window of 5% of the values.
58+
com.xceptance.xlt.reportgenerator.charts.commonAverage.type = percentage
59+
com.xceptance.xlt.reportgenerator.charts.commonAverage.value = 5%
60+
61+
## An additional moving average with a window of 10% of the values.
62+
com.xceptance.xlt.reportgenerator.charts.averages.1.type = percentage
63+
com.xceptance.xlt.reportgenerator.charts.averages.1.value = 10%
64+
65+
## An additional moving average with a window of 10 minutes.
66+
com.xceptance.xlt.reportgenerator.charts.averages.2.type = time
67+
com.xceptance.xlt.reportgenerator.charts.averages.2.value = 10m
68+
```
69+
70+
71+
### Test Suite Migration
72+
73+
As mentioned above, XLT 10 includes breaking changes. In order to migrate your test suites and their associated libraries, you must complete the following steps.
74+
75+
#### 1. Fix Compile Errors
76+
77+
Due to new features and code cleanups, there may be incompatible API changes. Typical test suites are not affected by these changes, but yours may be. Adjust your code accordingly.
78+
79+
* The `XltFirefoxDriver.Builder` no longer offers to set the `FirefoxProfile` object and the (deprecated) `FirefoxBinary` object, but instead offers to set a `FirefoxOptions` object. You can set the profile and the path to the Firefox binary on that `FirefoxOptions` object.
80+
81+
* The `ReportProviderConfiguration` interface no longer provides the `int getMovingAveragePercentage()` method. Instead, it offers these two alternative methods:
82+
* `MovingAverageConfiguration getCommonMovingAverageConfig()`
83+
* `List<MovingAverageConfiguration> getAdditionalMovingAverageConfigs()`
84+
85+
#### 2. Test Your Scenarios
86+
87+
Now it's time to verify that everything still works as it did before. Start by running the test scenarios from your IDE. They should run and produce the expected results. Then run a small load test. Check the results and the output in all log files.
88+
89+
#### 3. Review the Report Generator Configuration
90+
91+
As mentioned above, the XLT report generator can now create additional moving averages. You can configure them in the `<xlt>/config/reportgenerator.properties` file. Check the defaults to see if they work for you and adjust them as needed.

content/en/xtc/xtc-release-notes/v110.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sitemap:
2121
* XTC now provides an additional XLT execution environment **10.x**. In this environment, a preview of XLT 10 is installed for field testing the support for virtual threads. Use with caution.
2222
* Currently available XLT execution environments:
2323
* XLT 9.x → [9.2.2]({{< relref "/xlt/release-notes/9_2_x" >}}) (recommended)
24-
* XLT 10.x → [10.0.0-beta-1]({{< relref "/xlt/release-notes/10_0_x" >}})
24+
* XLT 10.x → [10.0.0-beta-1]({{< relref "/xlt/release-notes/10_0_x" >}}) (**[migration needed]({{< relref "/xlt/release-notes/10_0_x#test-suite-migration" >}})**)
2525

2626

2727
## Platform

0 commit comments

Comments
 (0)