Bug 65352

Summary: Warning logged when Boundary Extractor doesn't find any match
Product: JMeter - Now in Github Reporter: Felix Schumacher <felix.schumacher>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
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(+)
Comment 2 eR@SeR 2021-09-30 08:48:16 UTC
Hi Felix,

I checked Boundary Extractor behavior and it is fixed, no more WARN message in logs. Thank you.

Jmeter 5.5 093df18
Microsoft Windows 10 Enterprise 64-bit
java version "15.0.1" 2020-10-20
Comment 3 The ASF infrastructure team 2022-09-24 20:38:22 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5545