Felix Schumacher [Mon, 18 Apr 2022 14:33:26 +0000 (16:33 +0200)]
Make error prone happier by using static inner class
While we are here, switch to junit5 methods.
Felix Schumacher [Mon, 18 Apr 2022 13:58:44 +0000 (15:58 +0200)]
Make error prone happy by re-throwing catched exception
and while we are here, update to junit5
and get rid of unused code
Felix Schumacher [Mon, 18 Apr 2022 13:46:26 +0000 (15:46 +0200)]
Get rid of error prone warnings because of missing explicit default character encoding
While we are in the sources, use try-with, isEmpty and other minor clean-ups.
Don't encode ASCII printable characters as unicode sequences, as they are
decoded by Java anyway and are obfuscating the code unnecessarily.
Remove unused method variables and parameters, when possible.
Use ArrayList instead of LinkedList, when possible (more will follow).
Felix Schumacher [Mon, 18 Apr 2022 15:18:04 +0000 (17:18 +0200)]
Correct mail address in changes.xml
Felix Schumacher [Wed, 13 Apr 2022 14:17:56 +0000 (16:17 +0200)]
Specify the char encoding when decoding bytes into strings
As all other commits related to #708, this is based on patch by Wilson Kurniawan (wilson at visenze.com)
Closes #708
Felix Schumacher [Wed, 13 Apr 2022 13:55:02 +0000 (15:55 +0200)]
Further silence error prone warnings
Replace JdkObsolete with JavaUtilDate where we can't replace usage of new Date()
Use Instant and other newer APIs from java.time, where we can replace Date() without
changing our API.
And while we are here, we can get use some more isEmpty calls.
Part of #708
Felix Schumacher [Wed, 13 Apr 2022 10:35:51 +0000 (12:35 +0200)]
Suppress InlineMe warnings from error prone
Part of #708
Felix Schumacher [Wed, 13 Apr 2022 10:35:10 +0000 (12:35 +0200)]
Further silence error prone warnings
Replace JdkObsolete with JavaUtilDate where we can't replace usage of new Date()
Use Instant and other newer APIs from java.time, where we can replace Date() without
changing our API.
Part of #708
Felix Schumacher [Tue, 12 Apr 2022 18:51:18 +0000 (20:51 +0200)]
Replace java.util.Date with java.time based objects
Part of #708
Felix Schumacher [Tue, 12 Apr 2022 18:31:33 +0000 (20:31 +0200)]
Use a finer filter to disable warnings about java.util.Date
and keep them locally
Part of #708
Wilson Kurniawan [Tue, 12 Apr 2022 09:04:34 +0000 (17:04 +0800)]
Fix simple errorprone violations
Wilson Kurniawan [Mon, 11 Apr 2022 23:55:07 +0000 (07:55 +0800)]
Add necessary trusted-keys in checksum.xml
Felix Schumacher [Tue, 12 Apr 2022 16:31:48 +0000 (18:31 +0200)]
Revert "Update ActiveMQ to 5.17.0"
This reverts commit
76d1de31243a942591a107f6d58e030daa1e4d55.
Seems, that Java 9+ is needed. JMeter has to be able to run
with Java 8.
Felix Schumacher [Tue, 12 Apr 2022 16:31:43 +0000 (18:31 +0200)]
Add missing changelog entry for view hack
Felix Schumacher [Sun, 20 Mar 2022 15:27:18 +0000 (16:27 +0100)]
Hack to make rendering of large text results faster
Currently the used JEditorPane is slow when using large texts, as it
tries to find good places to break words.
This hack disables word wrapping by using non-wrapping views
for every element in the JEditorPane.
Introduce a new setting view.results.tree.simple_view_limit for view results tree
This setting is used to decide, whether the text view should switch to a simpler
view model. That can help to get rid of UI unresponsiveness on large contents.
Closes #706
Felix Schumacher [Tue, 12 Apr 2022 16:17:45 +0000 (18:17 +0200)]
Update ActiveMQ to 5.17.0
and its dependent usage of Spring framework to 5.3.18
NaveenKumar Namachivayam [Wed, 30 Mar 2022 01:00:47 +0000 (21:00 -0400)]
Use current screenshot for save-to-file listener in documentation
Based on patch by NaveenKumar Namachivayam (catch.nkn at gmail.com)
Used Gimp to make new image less wide and used pngquant to make it
use less bytes.
Closes #707
Bugzilla Id: 65983
Felix Schumacher [Mon, 14 Mar 2022 19:15:27 +0000 (20:15 +0100)]
Correct wording in JMESPath JSON extractor
Milamber [Sat, 12 Mar 2022 14:27:44 +0000 (15:27 +0100)]
prepare new version 5.5
Felix Schumacher [Wed, 9 Mar 2022 16:49:02 +0000 (17:49 +0100)]
Hide the 'go to top' button in print mode
Felix Schumacher [Wed, 9 Mar 2022 16:40:08 +0000 (17:40 +0100)]
Markup changes and insertion of titles for new and noteworthy stuff
Peter Paul Bakker [Mon, 17 Jan 2022 15:15:05 +0000 (16:15 +0100)]
Keep JSyntaxTextArea text value for use in headless mode
Closes #696
Felix Schumacher [Sun, 6 Mar 2022 10:30:15 +0000 (11:30 +0100)]
Correct typos and markup
Felix Schumacher [Sat, 5 Mar 2022 20:41:27 +0000 (21:41 +0100)]
Use ./gradlew autostyleApply to get rid of unwanted whitespace and ordering
Sampath Kumar Krishnasamy [Tue, 8 Feb 2022 09:33:46 +0000 (09:33 +0000)]
Used Junit 5 assertions API to keep it consistent with Junit 5 tests
Closes #697
Felix Schumacher [Sat, 5 Mar 2022 20:17:53 +0000 (21:17 +0100)]
Add changelog entries for feature switch Oro/Java Regex
PR #700: Add a switch to replace Oro Regex implementation by the built-in Java one.
Bugzilla Id: 57672
Closes #700
Felix Schumacher [Wed, 2 Mar 2022 20:31:54 +0000 (21:31 +0100)]
Add documentation for the feature flag jmeter.regex.engine
Felix Schumacher [Wed, 2 Mar 2022 20:07:19 +0000 (21:07 +0100)]
Change property name for regex engine switch
Make switch flag internally always a privatestatic final variable, as it
might help the JIT compiler to remove dead code.
Felix Schumacher [Wed, 2 Mar 2022 15:10:04 +0000 (16:10 +0100)]
Use constants for static Java Regex Patterns
Felix Schumacher [Wed, 2 Mar 2022 14:56:46 +0000 (15:56 +0100)]
Move static pattern to private constant
Felix Schumacher [Wed, 2 Mar 2022 14:46:23 +0000 (15:46 +0100)]
Use Pattern cache in more places
Felix Schumacher [Wed, 2 Mar 2022 11:27:26 +0000 (12:27 +0100)]
Enable passing of system properties to tests via special namespace
If a system property prefixed with jmeter.properties. is found, Gradle will
now pass it as a system property without that prefix to the unit tests.
That allows to set system properties (which might be used as jmeter properties)
to the unit tests, without setting them in the JVM, that is used by Gradle.
Felix Schumacher [Tue, 1 Mar 2022 19:19:18 +0000 (20:19 +0100)]
Order import
Felix Schumacher [Tue, 1 Mar 2022 19:16:50 +0000 (20:16 +0100)]
Enable testing of Java Regex instead of Oro on travis
Felix Schumacher [Tue, 1 Mar 2022 19:12:12 +0000 (20:12 +0100)]
Java Regex replaceAll() would replace too much
The Java Regex implementation sees an empty group at the end of
a string, when matching against .*. So let us rephrase our wish
to at least one character.
Felix Schumacher [Tue, 1 Mar 2022 19:10:29 +0000 (20:10 +0100)]
$ is a special character in Java Regex
Guard it for usage within a Regex
Felix Schumacher [Tue, 1 Mar 2022 19:09:09 +0000 (20:09 +0100)]
curly braces are special in Java Regex
Oro seems to get along with the escaped braces, so use them for testing
both implementations
Felix Schumacher [Tue, 1 Mar 2022 19:08:11 +0000 (20:08 +0100)]
Java Regex split() works quite different to oro split()
Use a different approach to split the template and correct the
difference between Java Regex groupCount() and Oro groups()
Felix Schumacher [Tue, 1 Mar 2022 19:05:54 +0000 (20:05 +0100)]
Java Regex and oro differ in groups() vs groupCount()
Oro seems to count group(0) twice
Felix Schumacher [Tue, 1 Mar 2022 19:03:29 +0000 (20:03 +0100)]
Java Regex and Oro differ when considering line ending
and use DOT_ALL to match new lines
Felix Schumacher [Tue, 1 Mar 2022 16:49:32 +0000 (17:49 +0100)]
Pass system property for regex switch to the tests
Felix Schumacher [Sat, 26 Feb 2022 15:50:45 +0000 (16:50 +0100)]
Break lines that are longer than 120 characters
Felix Schumacher [Sat, 26 Feb 2022 15:49:46 +0000 (16:49 +0100)]
Use newer junit5 Assertion methods
Felix Schumacher [Sat, 26 Feb 2022 15:49:00 +0000 (16:49 +0100)]
Add tests for new methods in JMeterUtils
Felix Schumacher [Sat, 26 Feb 2022 15:29:10 +0000 (16:29 +0100)]
Use Pattern cache from JMeterUtils
Felix Schumacher [Sat, 26 Feb 2022 15:27:53 +0000 (16:27 +0100)]
Use Pattern cache from JMeterUtils
Felix Schumacher [Sat, 26 Feb 2022 15:26:47 +0000 (16:26 +0100)]
Use Pattern cache from JMeterUtils
Felix Schumacher [Sat, 26 Feb 2022 15:24:06 +0000 (16:24 +0100)]
Use Pattern cache from JMeterUtils
Felix Schumacher [Sat, 26 Feb 2022 15:22:27 +0000 (16:22 +0100)]
Use Pattern cache from JMeterUtils
Felix Schumacher [Sat, 26 Feb 2022 15:14:01 +0000 (16:14 +0100)]
Use Pattern cache from JMeterUtils and extract constant Pattern
Felix Schumacher [Sat, 26 Feb 2022 15:04:09 +0000 (16:04 +0100)]
Use Pattern-cache from JMeterUtils
This will help in test plans with lots of threads (1000 tested)
Felix Schumacher [Sat, 26 Feb 2022 13:35:44 +0000 (14:35 +0100)]
Use private instead of protected for new methods
They should not be used outside of this class.
Felix Schumacher [Sat, 26 Feb 2022 13:29:13 +0000 (14:29 +0100)]
Use correct variable to compile regex
Felix Schumacher [Sat, 26 Feb 2022 10:27:02 +0000 (11:27 +0100)]
Add a switch to decide which regex engine should be used
This one uses the new cache for Java based Regex-Patterns in JMeterUtils
Felix Schumacher [Fri, 25 Feb 2022 15:42:15 +0000 (16:42 +0100)]
Add a switch to decide which regex engine should be used
This one uses the new cache for Java based Regex-Patterns in JMeterUtils
Felix Schumacher [Thu, 24 Feb 2022 20:06:37 +0000 (21:06 +0100)]
Add a switch to decide which regex engine should be used
This one uses the new cache for Java based Regex-Patterns in JMeterUtils
Felix Schumacher [Thu, 24 Feb 2022 19:52:07 +0000 (20:52 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Thu, 24 Feb 2022 19:45:08 +0000 (20:45 +0100)]
Use newer jupiter Assertions
Felix Schumacher [Thu, 24 Feb 2022 19:42:22 +0000 (20:42 +0100)]
Add a switch to decide which regex engine should be used
This one uses the new cache for Java based Regex-Patterns in JMeterUtils
Felix Schumacher [Thu, 24 Feb 2022 19:34:31 +0000 (20:34 +0100)]
Make errorProne happy and remove unused parameter from newly introduced private method
Felix Schumacher [Thu, 24 Feb 2022 19:22:56 +0000 (20:22 +0100)]
Add a switch to decide which regex engine should be used
This one uses the new cache for Java based Regex-Patterns in JMeterUtils
Felix Schumacher [Thu, 24 Feb 2022 19:10:44 +0000 (20:10 +0100)]
Add missing closing parenthesis in javadoc
Felix Schumacher [Thu, 24 Feb 2022 19:01:18 +0000 (20:01 +0100)]
Use correct order of extractors
too many No's there :)
Felix Schumacher [Thu, 24 Feb 2022 18:49:02 +0000 (19:49 +0100)]
Fix missing 'contains'/'find' for pattern
Felix Schumacher [Thu, 24 Feb 2022 18:40:14 +0000 (19:40 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Thu, 24 Feb 2022 18:04:48 +0000 (19:04 +0100)]
use 'modern' Java features as isEmpty and contains
Felix Schumacher [Thu, 24 Feb 2022 18:00:46 +0000 (19:00 +0100)]
Rename property for regex cache size
That way -- as Vladimir pointed out -- it would be more consistent to
a potentially renamed property jmeter.regex.engine, which would
replace the boolean property jmeter.use_java_regex.
Felix Schumacher [Thu, 24 Feb 2022 16:53:51 +0000 (17:53 +0100)]
Remove useless semicolon
Felix Schumacher [Thu, 24 Feb 2022 16:41:49 +0000 (17:41 +0100)]
Add a cache to store compiled Patterns into JMeterUtils
Felix Schumacher [Thu, 24 Feb 2022 16:00:43 +0000 (17:00 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Thu, 24 Feb 2022 15:32:26 +0000 (16:32 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Thu, 24 Feb 2022 11:04:52 +0000 (12:04 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Thu, 24 Feb 2022 10:53:19 +0000 (11:53 +0100)]
Remove unused parameter in private method
Felix Schumacher [Wed, 23 Feb 2022 21:03:59 +0000 (22:03 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Wed, 23 Feb 2022 20:59:41 +0000 (21:59 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Wed, 23 Feb 2022 20:08:10 +0000 (21:08 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Wed, 23 Feb 2022 19:47:54 +0000 (20:47 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Wed, 23 Feb 2022 19:42:13 +0000 (20:42 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Wed, 23 Feb 2022 19:27:48 +0000 (20:27 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Wed, 23 Feb 2022 19:14:59 +0000 (20:14 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Wed, 23 Feb 2022 17:44:44 +0000 (18:44 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Tue, 22 Feb 2022 15:43:20 +0000 (16:43 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Tue, 22 Feb 2022 15:37:13 +0000 (16:37 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Tue, 22 Feb 2022 15:36:47 +0000 (16:36 +0100)]
Remove unused local variable
this is the old default else branch, where implicitly is true.
Felix Schumacher [Mon, 21 Feb 2022 21:02:15 +0000 (22:02 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Mon, 21 Feb 2022 20:53:18 +0000 (21:53 +0100)]
Remove unnecessary second argument for substring (we want it all)
Felix Schumacher [Mon, 21 Feb 2022 20:52:19 +0000 (21:52 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Mon, 21 Feb 2022 20:34:34 +0000 (21:34 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Mon, 21 Feb 2022 20:31:49 +0000 (21:31 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Mon, 21 Feb 2022 20:23:10 +0000 (21:23 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Mon, 21 Feb 2022 20:20:32 +0000 (21:20 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Mon, 21 Feb 2022 20:16:28 +0000 (21:16 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Mon, 21 Feb 2022 20:04:17 +0000 (21:04 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Mon, 21 Feb 2022 19:58:54 +0000 (20:58 +0100)]
Add a switch to decide which regex engine should be used
Felix Schumacher [Mon, 21 Feb 2022 19:40:11 +0000 (20:40 +0100)]
Use isEmpty instead of comparing length to zero
Felix Schumacher [Sat, 5 Mar 2022 19:58:06 +0000 (20:58 +0100)]
Rephrase docs a bit
Don't use 'here' or similar as link text. Remove space at the end of line.
shblue21 [Mon, 21 Feb 2022 04:32:29 +0000 (13:32 +0900)]
Write graphite guide in realtime section
write graphite setting, in realtime section,
with simple pickle protocol
Closes #699
C.C [Wed, 23 Feb 2022 09:24:34 +0000 (17:24 +0800)]
Updated Chinese Simplified Translation
Kept the ordering of the original file and deleted those new entries from #701,
that can't be found in any other translation file or the sources.
Closes #701
Y. Z. Chen [Fri, 4 Mar 2022 00:12:54 +0000 (08:12 +0800)]
(typo) in zh-CN translation.
Y. Z. Chen [Fri, 4 Mar 2022 16:22:07 +0000 (00:22 +0800)]
ci: use https://apache.org instead of www.eu.apache.org for downloading Maven