Bug 65352 - Warning logged when Boundary Extractor doesn't find any match
Summary: Warning logged when Boundary Extractor doesn't find any match
Status: NEEDINFO
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: All All
: P2 minor (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2021-06-03 16:05 UTC by Felix Schumacher
Modified: 2021-06-03 16:08 UTC (History)
0 users



Attachments
Check for empty list (1.22 KB, patch)
2021-06-03 16:05 UTC, Felix Schumacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Schumacher 2021-06-03 16:05:01 UTC
Created attachment 37888 [details]
Check for empty list

When no match is found by the Boundary Extractor it will log a warning. All other extractors ignore that condition silently. Apart from this, throwing an exception is bad for performance.

The fix will check if the list of matches is empty, before trying to save the elements of that list.
Comment 1 Felix Schumacher 2021-06-03 16:08:43 UTC
@Nikola, could you test the next nightly or build from trunk?

commit c054d3a4d329c02e305fdfb0818f682834130d8f
AuthorDate: Thu Jun 3 18:04:18 2021 +0200

    Warning logged when Boundary Extractor doesn't find any match
    
    Bugzilla Id: 65352
---
 .../src/main/java/org/apache/jmeter/extractor/BoundaryExtractor.java   | 3 +++
 xdocs/changes.xml                                                      | 1 +
 2 files changed, 4 insertions(+)