You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/04/24 07:00:22 UTC
[Bug 62323] New: Add thread group name function
https://bz.apache.org/bugzilla/show_bug.cgi?id=62323
Bug ID: 62323
Summary: Add thread group name function
Product: JMeter
Version: 4.0
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: orimarko@gmail.com
Target Milestone: ---
Need to add thread group name function when need to differentiate or display
current thread group.
It will help especially when reusing same Test Fragment in different thread
groups.
https://stackoverflow.com/questions/49963015/jmeter-test-fragment-use-case-to-generate-different-name-in-jmeter-result/49963095?noredirect=1#comment86942241_49963095
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62323] Add function "__ThreadGroupName" function to obtain
ThreadGroup name
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62323
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Summary|Add thread group name |Add function
|function |"__ThreadGroupName"
| |function to obtain
| |ThreadGroup name
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62323] Add function "__ThreadGroupName" function to obtain
ThreadGroup name
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62323
--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sat May 12 08:16:42 2018
New Revision: 1831453
URL: http://svn.apache.org/viewvc?rev=1831453&view=rev
Log:
Tab space police
Modified:
jmeter/trunk/test/src/org/apache/jmeter/functions/TestSimpleFunctions.java
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62323] Add function "__ThreadGroupName" function to obtain
ThreadGroup name
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62323
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk
Target Milestone|--- |JMETER_4.1
--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Thanks for contribution , I slightly modified code:
- to avoid protected static which would have side effects.
- to add functions.xml information
Please review and check.
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62323] Add function "__ThreadGroupName" function to obtain
ThreadGroup name
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62323
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sat May 12 08:12:59 2018
New Revision: 1831451
URL: http://svn.apache.org/viewvc?rev=1831451&view=rev
Log:
Bug 62323 - Add function "__ThreadGroupName" function to obtain ThreadGroup
name
Mainly contributed by Orimarko
Bugzilla Id: 62323
Added:
jmeter/trunk/src/functions/org/apache/jmeter/functions/AbstractFunctionByKey.java
(with props)
jmeter/trunk/src/functions/org/apache/jmeter/functions/ThreadGroupName.java
(with props)
Modified:
jmeter/trunk/test/src/org/apache/jmeter/functions/TestSimpleFunctions.java
jmeter/trunk/xdocs/changes.xml
jmeter/trunk/xdocs/usermanual/functions.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62323] Add thread group name function
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62323
orimarko <or...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |orimarko@gmail.com
--- Comment #1 from orimarko <or...@gmail.com> ---
Created attachment 35889
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35889&action=edit
Patch with new Thread Group Name function and tests
Thread Group Name function uses AbstractFunctionByKey
I suggest all/most functions will extends AbstractFunctionByKey instead of
AbstractFunction to reduce code duplication of key/desc handling
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62323] Add function "__ThreadGroupName" function to obtain
ThreadGroup name
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62323
--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sat May 12 11:09:47 2018
New Revision: 1831464
URL: http://svn.apache.org/viewvc?rev=1831464&view=rev
Log:
Make function start with lower case
Modified:
jmeter/trunk/src/functions/org/apache/jmeter/functions/ThreadGroupName.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.