You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2021/04/22 08:55:19 UTC
[Bug 65257] New: JMESPathExtractor writes error logs entries if
JMESPath filter returns empty result
https://bz.apache.org/bugzilla/show_bug.cgi?id=65257
Bug ID: 65257
Summary: JMESPathExtractor writes error logs entries if
JMESPath filter returns empty result
Product: JMeter
Version: 5.4.1
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: dietmar.berchtold@nagarro.com
Target Milestone: JMETER_5.5
Created attachment 37819
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37819&action=edit
JMX to reproduce error
Steps to reproduce:
- Run attached jmx file
- check logs
-> such log entries are written:
ERROR o.a.j.e.j.j.JMESPathExtractor: Error processing JSON content in JSON
JMESPath Extractor, message: Index 0 out of bounds for length 0
Expected: no log entry is written as with the "JSON Extractor"
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 65257] JMESPathExtractor writes error logs entries if JMESPath
filter returns empty result
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65257
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Keywords| |FixedInTrunk
OS| |All
--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Thanks for the report. This should be fixed in trunk. Can you test the next
nightly or trunk build?
commit 0dce105f13c7d95ef84225984c5c2c1a967243a8
AuthorDate: Sat Apr 24 11:31:25 2021 +0200
JMESPathExtractor writes error log entries if JMESPath filter returns empty
result
Bugzilla Id: 65257
---
.../org/apache/jmeter/extractor/json/jmespath/JMESPathExtractor.java | 2 +-
xdocs/changes.xml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
commit 4206445d058b1e1cbae8e71f07c5f6d1e2e91935
AuthorDate: Sat Apr 24 12:24:43 2021 +0200
JMESPathExtractor writes error log entries if JMESPath filter returns empty
result
Second try to fix the bug.
Bugzilla Id: 65257
---
.../org/apache/jmeter/extractor/json/jmespath/JMESPathExtractor.java | 4 +++-
.../apache/jmeter/extractor/json/jmespath/TestJMESPathExtractor.java | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
commit 5921a91d95957f328a46f01adc780a507860f05a
AuthorDate: Sat Apr 24 12:42:43 2021 +0200
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
---
.../org/apache/jmeter/extractor/json/jmespath/JMESPathExtractor.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 65257] JMESPathExtractor writes error logs entries if JMESPath
filter returns empty result
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65257
--- Comment #1 from Dietmar Berchtold <di...@nagarro.com> ---
Created attachment 37820
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37820&action=edit
Screenshot showing error log entry
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 65257] JMESPathExtractor writes error logs entries if JMESPath
filter returns empty result
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65257
Dietmar Berchtold <di...@nagarro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Dietmar Berchtold <di...@nagarro.com> ---
Thanks for solving the issue.
I checked using build
https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/254/ and can confirm
issue is solved.
--
You are receiving this mail because:
You are the assignee for the bug.