Bug 65352

Summary: Warning logged when Boundary Extractor doesn't find any match
Product: JMeter Reporter: Felix Schumacher <felix.schumacher>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEEDINFO ---    
Severity: minor Keywords: FixedInTrunk
Priority: P2    
Version: Nightly (Please specify date)   
Target Milestone: JMETER_5.5   
Hardware: All   
OS: All   
Attachments: Check for empty list

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(+)