Skip to content

Commit

Permalink
Release XLT 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jowerner committed Feb 11, 2021
2 parents 8482715 + 3fa8fe3 commit 00caab6
Show file tree
Hide file tree
Showing 5,128 changed files with 205,830 additions and 28,427 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test-hu/resources">
<classpathentry excluding="**/*.java" kind="src" output="target/test-classes" path="src/test-hu/resources">
<attributes>
<attribute name="test" value="true"/>
</attributes>
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
XLT
===

Copyright 2005-2020 Xceptance Software Technologies GmbH (https://www.xceptance.com/)
Copyright 2005-2021 Xceptance Software Technologies GmbH (https://www.xceptance.com/)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion config/xsl/common/sections/footer.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<xsl:template name="footer">
<div id="footer">
Copyright (c) 2005-2020 <a href="http://www.xceptance.com/" title="Visit the Xceptance website">Xceptance Software Technologies GmbH</a>
Copyright (c) 2005-2021 <a href="http://www.xceptance.com/" title="Visit the Xceptance website">Xceptance Software Technologies GmbH</a>
</div>
</xsl:template>

Expand Down
2 changes: 1 addition & 1 deletion doc/xltdoc/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="footer">
<p>Copyright © 2020 by <a href="http://www.xceptance.com/">Xceptance Software Technologies GmbH</a>. All rights reserved.</p>
<p>Copyright © 2021 by <a href="http://www.xceptance.com/">Xceptance Software Technologies GmbH</a>. All rights reserved.</p>
</div>

54 changes: 54 additions & 0 deletions doc/xltdoc/release-notes/5.3.x.textile
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
layout: manual
title: 5.3.x
position: 981
sorted: true
---

h2. XLT 5.3.0

See "here":https://github.com/Xceptance/XLT/milestone/9?closed=1 for the complete list of improvements and fixes.

h3. Test Framework

h4. Update 3rd-party libraries

The 3rd-party libraries @htmlunit@ and @htmlunit-driver@ have been updated to version 2.46.

h4. HttpRequest: Support binary request bodies

The class @HttpRequest@ simplifies making HTTP requests to a server. For PUT, POST, and PATCH requests, the request body may contain custom data to be sent to the server. Up to now, @HttpRequest@ supported only strings as the request body, which is sufficient for JSON or similar formats, but not for binary data of any sort. Now @HttpRequest@ comes with additional overloads of the @body(...)@ method to set binary content from different sources as the request body:

* @body(byte[])@
* @body(File)@
* @body(InputStream)@

See below for some example code how to put the content of a binary file into the body of a PUT request:

bc(java)..
HttpRequest httpRequest = new HttpRequest();

httpRequest.timerName("Upload");
httpRequest.baseUrl(UPLOAD_URL);
httpRequest.method(HttpMethod.PUT);
httpRequest.header("Content-Type", "application/gzip");
httpRequest.body(new File("/tmp/123.tar.gz"));

httpRequest.fire();

h4. HttpRequest: Support file upload

In general, files can also be uploaded to a server as multi-part form data in a POST request. @HttpRequest@ supports this mode now as well. All you need to do is populate a @KeyDataPair@ instance with the file to upload and additional meta data and pass it as parameter to the @HttpRequest@:

bc(java)..
HttpRequest httpRequest = new HttpRequest();

httpRequest.timerName("FileUpload");
httpRequest.baseUrl(UPLOAD_URL);
httpRequest.method(HttpMethod.POST);
httpRequest.encodingType(FormEncodingType.MULTIPART);
httpRequest.param(new KeyDataPair("file", "/tmp/123.tar.gz", "123.tar.gz", "application/gzip", StandardCharsets.UTF_8));

httpRequest.fire();

p. Make sure you use HTTP method POST and also specify MULTIPART as the form encoding for file uploads to work.
27 changes: 13 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.xceptance</groupId>
<artifactId>xlt</artifactId>
<version>5.2.1</version>
<version>5.3.0</version>
<packaging>jar</packaging>

<name>XLT</name>
Expand Down Expand Up @@ -66,10 +66,10 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<asm.version>7.1</asm.version>
<httpclient.version>4.5.12</httpclient.version>
<jetty.version>9.4.31.v20200723</jetty.version>
<log4j.version>2.13.1</log4j.version>
<copyright>Copyright (c) ${project.inceptionYear}-2020 ${project.organization.name}</copyright>
<httpclient.version>4.5.13</httpclient.version>
<jetty.version>9.4.35.v20201120</jetty.version>
<log4j.version>2.14.0</log4j.version>
<copyright>Copyright (c) ${project.inceptionYear}-2021 ${project.organization.name}</copyright>
</properties>

<build>
Expand Down Expand Up @@ -120,7 +120,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -135,7 +135,7 @@
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.7</version>
<version>3.7.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -156,12 +156,12 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit-core-js</artifactId>
<version>2.43.0</version>
<version>2.46.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit-cssparser</artifactId>
<version>1.5.0</version>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand All @@ -176,7 +176,7 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>neko-htmlunit</artifactId>
<version>2.43.0</version>
<version>2.46.0</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
Expand All @@ -186,8 +186,8 @@
</dependency>
<dependency>
<groupId>com.shapesecurity</groupId>
<artifactId>salvation</artifactId>
<version>2.7.2</version>
<artifactId>salvation2</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
Expand Down Expand Up @@ -317,7 +317,7 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>htmlunit-driver</artifactId>
<version>2.43.1</version>
<version>2.46.0</version>
<exclusions>
<exclusion>
<groupId>net.sourceforge.htmlunit</groupId>
Expand Down Expand Up @@ -347,7 +347,6 @@
<artifactId>asm-util</artifactId>
<version>${asm.version}</version>
</dependency>

<!-- Script-Doc Generator -->
<dependency>
<groupId>org.freemarker</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions samples/testsuite-performance/config/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ com.xceptance.xlt.http.responseId.headerName = X-XLT-ResponseId
################################################################################

## Indicates the browser to simulate. Possible values are:
## - "FF" ...... Firefox 68 (default)
## - "FF79" .... Firefox 79
## - "FF68" .... Firefox 68
## - "FF" ...... Firefox (default)
## - "FF_ESR" .. Firefox ESR
## - "IE" ...... Internet Explorer
## - "CH" ...... Chrome
## - "EDGE" .... Edge
## This setting is important for the user agent string and for the JavaScript
## simulation, if activated.
com.xceptance.xlt.browser = FF
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions samples/testsuite-posters/config/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ com.xceptance.xlt.http.responseId.headerName = X-XLT-ResponseId
################################################################################

## Indicates the browser to simulate. Possible values are:
## - "FF" ...... Firefox 68 (default)
## - "FF79" .... Firefox 79
## - "FF68" .... Firefox 68
## - "FF" ...... Firefox (default)
## - "FF_ESR" .. Firefox ESR
## - "IE" ...... Internet Explorer
## - "CH" ...... Chrome
## - "EDGE" .... Edge
## This setting is important for the user agent string and for the JavaScript
## simulation, if activated.
com.xceptance.xlt.browser = FF
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005-2020 Xceptance Software Technologies GmbH
* Copyright (c) 2005-2021 Xceptance Software Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 00caab6

Please sign in to comment.