Filtering sample labels via regular expressions?

462 views
Skip to first unread message

Chris Rankin

unread,
Jul 8, 2013, 10:34:54 AM7/8/13
to jmeter-...@googlegroups.com
Hi,

I've noticed that the Rows tab allows me to filter sample labels either by checkbox or by a comma-separated include/exclude lists.Would it be possible to support regular expressions too, please? We have a large number of labels in our result sets, but would like sometimes to display all of the ^foo:.* labels separately from all of the ^bar:.* ones.

Cheers,
Chris

Andrey Pohilko

unread,
Jul 8, 2013, 11:10:08 AM7/8/13
to jmeter-...@googlegroups.com
That was already asked: https://groups.google.com/d/topic/jmeter-plugins/S763f-2Q4ZA/discussion

понедельник, 8 июля 2013 г., 18:34:54 UTC+4 пользователь Chris Rankin написал:

Chris Rankin

unread,
Jul 8, 2013, 12:18:02 PM7/8/13
to jmeter-...@googlegroups.com
> Such option would be too resource-counsiming, thus affecting test performance.

Then possibly only make the option available when loading sample data from a file? Personally, if I'm even remotely concerned about test performance then I don't create graphs "on the fly" in the first place.


--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/E-LoVwEICJs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Andrey Pohilko

unread,
Jul 8, 2013, 12:48:06 PM7/8/13
to jmeter-...@googlegroups.com, rank...@googlemail.com
Ok, I added this idea to project roadmap. I see the way to do it in JMeterPluginsCMD

понедельник, 8 июля 2013 г., 20:18:02 UTC+4 пользователь Chris Rankin написал:

vdab...@gmail.com

unread,
Jul 9, 2013, 6:22:03 AM7/9/13
to jmeter-...@googlegroups.com, rank...@googlemail.com
Hi,

I create external tool to filter log results from JMeter.
This filters are used when the test is finished not in real time before reload the filtred logs in Listeners.

I use this tool to remove ramp up threads creation and keep only Transaction Controler corresponding to Pages (begin with character P) not every url labels.

Some extracts of the parameters properties file.

# filter by date
# dateMin : logs BEFORE dateMin are not considered
# dateMin format YYYY-MM-DD HH:MM:SS
#dateMin=2012-09-05 17:33:00

# dateMax : logs AFTER dateMax are not considered
# dateMax format YYYY-MM-DD HH:MM:SS
#dateMax=2012-09-05 17:53:00

# offsetFromStartSec logs BEFORE offsetFromStartSec sec are not considered, offset is from the first line time
# offsetFromStartSec parameter has priority over dateMin
#offsetFromStartSec=2220

# offsetFromStartMaxSec logs AFTER offsetFromStartMaxSec sec are not considered, offset is from the first line time
# offsetFromStartMaxSec parameter has priority over dateMax
#offsetFromStartMaxSec=4020

# regular expression to filter label transaction, find pattern
# if not set, the default value = .*
# ex P[0-9]_.*  filter labels start whith P followed by a number and then an underscore and every characters, ex P3_02_LOGIN ou P4_03_FIND_BY_ID
#rechPatternLib=P[0-9]_.*
#rechPatternLib=P4_01_DMD_FORM_LOGIN
#rechPatternLib=.*
rechPatternLib=[SP][0-9]_.*

# withdraws French accented letters (label, groupe name, hostname), slowed processing
# if true remove French accented letters, false by default
# If true, you should probably put in the command line :
# -Dfile.encoding=UTF-8 or -Dfile.encoding=ISO-8859-15 or -Dfile.encoding=Cp1252
# java -Dfile.encoding=UTF-8 ...
#removeAccent=true

You may be inspired by filters on the date or offset time (very usefull) and the regular pattern to include specifics names (label) and deleting accent.

Regards
Vincent D.

Reply all
Reply to author
Forward
0 new messages