-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/app-server/webapps/showcases/WEB-INF/classes/FileUploadServlet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/demo-external-data/src/com/xceptance/xlt/report/external/AbstractIostatParser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/demo-external-data/src/com/xceptance/xlt/report/external/IostatCpuParser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/demo-external-data/src/com/xceptance/xlt/report/external/IostatDeviceParser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-performance/src/com/xceptance/xlt/performance/actions/LWSimpleURL.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-performance/src/com/xceptance/xlt/performance/actions/SimpleURL.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-performance/src/com/xceptance/xlt/performance/tests/ScriptTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-performance/src/com/xceptance/xlt/performance/tests/TLWSimpleURL.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-performance/src/com/xceptance/xlt/performance/tests/TSimpleURL.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-performance/src/com/xceptance/xlt/performance/util/JProxy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-performance/src/com/xceptance/xlt/performance/util/ParameterUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...testsuite-performance/src/test/com/xceptance/xlt/performance/util/ParameterUtilsTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/customerBackend/TAdjustAddress.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/testsuite-posters/src/posters/functional/customerBackend/TConfigurePaymentSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/customerBackend/TConfigurePersonalData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/customerBackend/TDeleteCustomer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...estsuite-posters/src/posters/functional/customerBackend/TMergeCurrentAndCustomerCart.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...les/testsuite-posters/src/posters/functional/errorChecking/TChangeEmailWrongPassword.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/errorChecking/TChangePwDontMatch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/errorChecking/TChangePwWrongPw.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/errorChecking/TChangeToExistingEmail.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/errorChecking/TDeleteAccountWrongPw.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/errorChecking/TEmptyCart.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/errorChecking/TEmptySearch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/testsuite-posters/src/posters/functional/errorChecking/TInvalidProductCountInCart.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
samples/testsuite-posters/src/posters/functional/errorChecking/TLoginEmailDoesntExist.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.