Commit Graph

17412 Commits

Author SHA1 Message Date
Felix Schumacher 0c97fd659f JSON Extractor and JSON JMESPath Extractor ignore sub-samples
The UI for those elements suggest, that the extractors would
look into sub-samples for matches (or even could be configured
to use only values from the sub-samples). Adapt the implementation
to make that assumption true.

Bugzilla Id: 65269
2021-06-03 11:11:09 +02:00
Felix Schumacher 7ac71f15f8 Don't let users override content-type header when using multipart/form-data
The content-type header will contain the boundary from the multiparts. That
value can't be guessed by the user and using the original given content-type
will very likely be wrong.

Apart from that reason, the Java implementation of HTTPSampler will use
the generated content-type anyway and therefore this patch will make the
two implementations behave consistently.

Bugzilla Id: 65310
2021-05-30 13:58:33 +02:00
Felix Schumacher fe04aff269 HTTP 308 Permanent Redirect is not supported
Contributed by Baptiste Gaillard (baptiste.gaillard at gmail.com)

Bugzilla Id: 65328
Closes #666
2021-05-25 20:35:24 +02:00
Felix Schumacher 7842529941 Increase visible lines of code in IfController and WhileController
Closes #665
2021-05-23 17:57:15 +02:00
Felix Schumacher 45d258ef39 Correct sizes for expected JARs (Groovy update)
Follow up to db697e8e5d
2021-05-22 15:36:24 +02:00
Felix Schumacher db697e8e5d Updated Groovy to 3.0.8 (from 3.0.7)
Helps with compiling JMeter with Java 17
2021-05-22 13:38:26 +02:00
Felix Schumacher e050fffe72 Replace deprecated methods to make code compile with Java 17
The methods X509Certificate#getIssuerDN() and #getSubjectDN have
been denigrated with Java 9 and fail to compile with Java 17.
Use the replacements #getIssuerX500Principal()
and  #getSubjectX500Principal instead.
2021-05-22 13:31:26 +02:00
Vladimir Sitnikov f20fb8cfb0 Update to Gradle 7.0.2
See https://docs.gradle.org/7.0.2/release-notes.html
2021-05-21 00:32:54 +03:00
Felix Schumacher e0e9787047 IllegalAccessError when opening file dialog with Java 16
Bugzilla Id: 65300
2021-05-18 21:03:05 +02:00
Felix Schumacher 1bb1b0dabd Make sonar happier
public modifier on JUnit 5 tests are not needed.
Instantiation of an Object can theroretically fail and would interfere
with the test. Creating it upfront will remove that possibility.
2021-05-08 13:53:54 +02:00
Felix Schumacher 2ef4726708 Make sonar happier
JUnit 5 doesn't need public modifiers on the class or the test methods.
Usage of `assertNotEquals` leads to better error messages than `assertFalse`,
as it has more information about the compared values.
2021-05-08 13:39:41 +02:00
Felix Schumacher 44c90318f3 Silence warnings of missing font Arial on startup under linux
Remove references to the font, wher no text is used. That would be
everywhere in the logo, as it was converted to path long ago.
2021-05-04 17:22:22 +02:00
Felix Schumacher 32584319a9 Remove temporary hack to see our envs on travis 2021-05-01 12:41:22 +02:00
Felix Schumacher 85951a6877 Temporary commit, to see our envs on travis. Will be removed in a few minutes 2021-05-01 12:39:49 +02:00
Felix Schumacher 729f637027 Travis-ci moved from .org to .com 2021-04-28 22:16:02 +02:00
Felix Schumacher 5f5b816640 POST application/x-www-form-urlencoded cURL code generated from Postman is not imported correctly
Allow multiple occurrences of --data-urlencode options and empty key and value on that option.
The data will be added as post data and not as form data, which is a bit inconvenient and asked for
in the same issue entry.

Bugzilla Id: 65270
2021-04-27 20:57:27 +02:00
Till Neunast 08c3c5921f Allow whitespace in path
Closes #664
2021-04-25 11:16:43 +02:00
Felix Schumacher 5921a91d95 JMESPathExtractor writes error log entries if JMESPath filter returns empty result
Third try to fix the bug and make the linter happy.

Bugzilla Id: 65257
2021-04-24 12:42:43 +02:00
Felix Schumacher 4206445d05 JMESPathExtractor writes error log entries if JMESPath filter returns empty result
Second try to fix the bug.

Bugzilla Id: 65257
2021-04-24 12:24:43 +02:00
Felix Schumacher b5a3c9113e JMESPathExtractor Attribute Match No. Required
Bugzilla Id: 65259
2021-04-24 11:45:56 +02:00
Felix Schumacher 0dce105f13 JMESPathExtractor writes error log entries if JMESPath filter returns empty result
Bugzilla Id: 65257
2021-04-24 11:31:25 +02:00
BugKing 6caf328fa8 Fix duplicate words of runtime controller desc
Closes #661
2021-04-17 21:06:57 +02:00
Vladimir Sitnikov d4b48dfc7b Suppress JdkObsolete warnings in logDetailsOnKeystore 2021-04-12 21:18:57 +03:00
orimarko eec3f83e02 Update TestElement.java
fix setName java docs to reflect setter

Closes #658
2021-04-12 16:31:36 +02:00
Felix Schumacher 96dd5b5043 Remove now useless annotation
Part of: HTTP Sampler/Files upload tab - add missing buttons

Bugzilla Id: 65020
2021-04-10 20:14:47 +02:00
Felix Schumacher 4b834be91b No need to round an integer
Part of: HTTP Sampler/Files upload tab - add missing buttons

Bugzilla Id: 65020
2021-04-10 20:11:35 +02:00
Felix Schumacher a75fc427de Hide splash screen when an error is displayed
When the test plan could not be parsed on startup, the splash
screen would hide it. So close it.

Bugzilla Id: 65232
2021-04-10 19:59:54 +02:00
Felix Schumacher 75f5396f80 Log debug information about loaded certs from keystore
Bugzilla Id: 64831
2021-04-10 14:37:42 +02:00
Stefan Seide 5a5cb21670 update json-smart to 2.4.1 (from 2.3) and accessors-smart to 1.3 (from 1.2)
Closes #656
2021-04-10 14:10:42 +02:00
Stefan Seide 18d0a5cc1e update x-stream to 1.4.16 (from 1.4.15)
Closes #655
2021-04-10 13:55:09 +02:00
Felix Schumacher beb5e69165 Convert to assertThrows
Closes #652
2021-04-10 11:54:52 +02:00
Felix Schumacher 5df97b8a67 Convert to assertThrows
Relates to #652
2021-04-10 11:54:52 +02:00
Felix Schumacher c8ab6a684c Convert to assertThrows
Relates to #652
2021-04-10 11:54:52 +02:00
Felix Schumacher 22b21ad479 Convert to assertThrows
Relates to #652
2021-04-10 11:54:52 +02:00
Felix Schumacher c95ed11e81 Convert to assertThrows
Relates to #652
2021-04-10 11:54:52 +02:00
Felix Schumacher 9402524c15 Convert to assertThrows
Relates to #652
2021-04-10 11:54:52 +02:00
Elvys Soares 71c31977a4 Changing exception handling from try/catch to API recommendation
Signed-off-by: Elvys Soares <eas5@cin.ufpe.br>
2021-04-10 11:54:52 +02:00
Elvys Soares 939211e32c Changing exception handling from try/catch to API recommendation
Signed-off-by: Elvys Soares <eas5@cin.ufpe.br>
2021-04-10 11:54:52 +02:00
Milamber 0cfa344159
Update Apache Tika to 1.26 (from 1.24.1) 2021-04-02 09:24:40 +00:00
Milamber 656ef3d332
Revert "Update response results for test compression (using Bing website)"
This reverts commit a35104800b.
2021-04-02 09:22:01 +00:00
Milamber a35104800b
Update response results for test compression (using Bing website) 2021-04-02 09:10:18 +00:00
ooooo-youwillsee bbd7bbe78b
Fix get-started typo in JVM parameter (#653)
Fix problem for 'export HEAP="-Xms1G -Xmx1G -XMaxMetaspaceSize=192m"'
2021-03-27 16:37:10 +01:00
Felix Schumacher c727934833 Can't copy generated function from FunctionHelper
Bugzilla Id: 65198
2021-03-20 13:21:57 +01:00
Felix Schumacher 66ae8f0640 Ignore warning about truncation, we don't need that much accuracy here 2021-03-13 09:22:40 +01:00
Felix Schumacher 413b77ca0a Space after comma, not before 2021-03-12 17:19:08 +01:00
Felix Schumacher 92fadbc798 Line is a bit long.
Relates to #638
2021-03-12 17:19:08 +01:00
David Pecollet e7b9b8499a more xml formatting fixes in changes.xml
Closes #638
2021-03-12 17:19:08 +01:00
David Pecollet 1fb565c035 formatting fixes in changes.xml 2021-03-12 17:19:08 +01:00
David Pecollet 8a6556c77c getAccessMode with guard clause
also updated the docs of the Bolt Sampler and Bolt config to reflect the new parameters
pngquant new images
2021-03-12 17:18:56 +01:00
David Pecollet cca089de69 Connection Pool Max Size parameter added to Bolt Connection Config
Allows to specify a pool size larger than the default 100, which can become a bottleneck with large number of threads using a single Neo4j driver.
Also improve Bolt URI description to describe neo4j:// format.
2021-03-12 16:31:25 +01:00