Bug 60213 - Boundary based extractor
Summary: Boundary based extractor
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-06 19:14 UTC by Philippe Mouawad
Modified: 2017-10-27 14:51 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2016-10-06 19:14:52 UTC
It might be interesting to create a new extractor based on left and right boundary.
This might be easier to use than Regex Extractor.
It exists in many other tools.
Comment 1 Felix Schumacher 2016-10-08 10:49:49 UTC
What about an extractor like the grok patterns used by logstash. They are essential names for common regex patterns. That would probably be easier to use than normal regex patterns and allow something similar to boundary based patterns.
Comment 2 UbikLoadPack support 2016-10-18 12:52:40 UTC
Hello Felix,
Do you have this in mind ?:
http://stackoverflow.com/questions/19565755/how-to-parse-using-grok-from-java-is-there-any-example-available
https://github.com/thekrakken/java-grok


The + is that it is now very popular but in terms of simplicity I am not sure it is as easy as Boundary where you need 0 knowledge to use it.
You just say what's on left and right of what you want to extract.
Comment 3 Philippe Mouawad 2017-10-18 20:12:15 UTC
Author: pmouawad
Date: Wed Oct 18 20:11:09 2017
New Revision: 1812568

URL: http://svn.apache.org/viewvc?rev=1812568&view=rev
Log:
Bug 60213 - Boundary based extractor
Bugzilla Id: 60213

Added:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/BoundaryExtractor.java   (with props)
    jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/BoundaryExtractorGui.java   (with props)
    jmeter/trunk/test/src/org/apache/jmeter/extractor/TestBoundaryExtractor.java   (with props)
Modified:
    jmeter/trunk/bin/saveservice.properties
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml
Comment 4 Philippe Mouawad 2017-10-18 20:17:41 UTC
Author: pmouawad
Date: Wed Oct 18 20:17:10 2017
New Revision: 1812569

URL: http://svn.apache.org/viewvc?rev=1812569&view=rev
Log:
Bug 60213 - Boundary based extractor
i18n + version
Bugzilla Id: 60213

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java