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 2017/06/13 10:31:48 UTC
[Bug 61181] New: Jmeter (NON GUI Mode) Graphite Backend Listener
(Root Metric Prefix) in Distributed Mode unable to fetch Global Jmeter
Variable Value
https://bz.apache.org/bugzilla/show_bug.cgi?id=61181
Bug ID: 61181
Summary: Jmeter (NON GUI Mode) Graphite Backend Listener (Root
Metric Prefix) in Distributed Mode unable to fetch
Global Jmeter Variable Value
Product: JMeter
Version: 3.1
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: mayank3636@gmail.com
Target Milestone: ---
Created attachment 35049
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35049&action=edit
Property in standalone
While running test in standalone i am able to fetch values of Jmeter Varible
in Backend listener inside root metrics prefix
Jmeter -n -t test.jmx -JPROPERTY=VALUE
if i run the test in master slave configration i am unable to get the property
value in Backend listener Root metrics prefix
jmeter -n -r -t test.jmx -GPROPERTY=VALUE -JPROPERTY=VALUE
setting in Backend listener
graphiteMetricsSender
org.apache.jmeter.visualizers.backend.graphite.TextGraphiteMetricsSender
graphiteHost xx.xx.xx.xx
graphitePort 2003
rootMetricsPrefix jmeter.${__P(PROPERTY,)}.
summaryOnly false
samplersList .*
useRegexpForSamplersList true
percentiles 90;95;99
kindly solve the BUG ASAP
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61181] Jmeter (NON GUI Mode) Graphite Backend Listener (Root
Metric Prefix) in Distributed Mode unable to fetch Global Jmeter Variable
Value
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61181
--- Comment #5 from Mayank Upadhyaya <ma...@gmail.com> ---
Now working as per expectation
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61181] Jmeter (NON GUI Mode) Graphite Backend Listener (Root
Metric Prefix) in Distributed Mode unable to fetch Global Jmeter Variable
Value
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61181
--- Comment #2 from Mayank Upadhyaya <ma...@gmail.com> ---
This bug is reproducible even in latest nightly build
2017-06-14 09:47:14,367 INFO o.a.j.u.JMeterUtils: Setting Locale to en_US
2017-06-14 09:47:14,387 INFO o.a.j.JMeter: Loading user properties from:
C:\Users\m1030090\Downloads\apache-jmeter-r1798406\apache-jmeter-r1798406\bin\user.properties
2017-06-14 09:47:14,389 INFO o.a.j.JMeter: Loading system properties from:
C:\Users\m1030090\Downloads\apache-jmeter-r1798406\apache-jmeter-r1798406\bin\system.properties
2017-06-14 09:47:14,389 INFO o.a.j.JMeter: Setting Global property:
PROPERTY=jenkins
2017-06-14 09:47:14,397 INFO o.a.j.JMeter: Copyright (c) 1998-2017 The Apache
Software Foundation
2017-06-14 09:47:14,397 INFO o.a.j.JMeter: Version r1798406
2017-06-14 09:47:14,397 INFO o.a.j.JMeter: java.version=1.8.0_131
2017-06-14 09:47:14,397 INFO o.a.j.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit
Server VM
2017-06-14 09:47:14,397 INFO o.a.j.JMeter: os.name=Windows 10
2017-06-14 09:47:14,398 INFO o.a.j.JMeter: os.arch=amd64
2017-06-14 09:47:14,398 INFO o.a.j.JMeter: os.version=10.0
2017-06-14 09:47:14,398 INFO o.a.j.JMeter: file.encoding=Cp1252
2017-06-14 09:47:14,398 INFO o.a.j.JMeter: Max memory =536870912
2017-06-14 09:47:14,398 INFO o.a.j.JMeter: Available Processors =4
2017-06-14 09:47:14,404 INFO o.a.j.JMeter: Default Locale=English (United
States)
2017-06-14 09:47:14,405 INFO o.a.j.JMeter: JMeter Locale=English (United
States)
2017-06-14 09:47:14,405 INFO o.a.j.JMeter:
JMeterHome=C:\Users\m1030090\Downloads\apache-jmeter-r1798406\apache-jmeter-r1798406
2017-06-14 09:47:14,405 INFO o.a.j.JMeter: user.dir =D:\Jmeter\script
2017-06-14 09:47:14,406 INFO o.a.j.JMeter: PWD =D:\Jmeter\script
2017-06-14 09:47:14,408 INFO o.a.j.JMeter: IP: 10.50.11.98 Name: A2ML12997
FullName: 10.50.11.98
2017-06-14 09:47:14,412 INFO o.a.j.s.FileServer: Default
base='D:\Jmeter\script'
2017-06-14 09:47:14,413 INFO o.a.j.s.FileServer: Set new
base='D:\Jmeter\script'
2017-06-14 09:47:14,656 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2.
Testlog (JTL) version: 2.2
2017-06-14 09:47:14,680 INFO o.a.j.s.SaveService: Using SaveService properties
file encoding UTF-8
2017-06-14 09:47:14,688 INFO o.a.j.s.SaveService: Using SaveService properties
version 3.2
2017-06-14 09:47:14,714 INFO o.a.j.s.SaveService: Loading file:
ilp-login-scalability.jmx
2017-06-14 09:47:14,804 INFO o.a.j.p.h.c.CookieManager: Settings: Delete null:
true Check: true Allow variable: true Save: false Prefix: COOKIE_
2017-06-14 09:47:14,807 INFO o.a.j.p.h.c.CacheManager: Will only cache the
following methods: [GET]
2017-06-14 09:47:15,401 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are
START times
2017-06-14 09:47:15,401 INFO o.a.j.s.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1
2017-06-14 09:47:15,401 INFO o.a.j.s.SampleResult:
sampleresult.useNanoTime=true
2017-06-14 09:47:15,402 INFO o.a.j.s.SampleResult:
sampleresult.nanoThreadSleep=5000
2017-06-14 09:47:15,452 INFO o.a.j.c.IncludeController: loadIncludedElements --
try to load included module:
D:\Jmeter\script\..\commons\reusable\hub\ilp-login.jmx
2017-06-14 09:47:15,453 INFO o.a.j.s.SaveService: Loading file:
..\commons\reusable\hub\ilp-login.jmx
2017-06-14 09:47:15,504 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html
is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2017-06-14 09:47:15,505 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for
application/xhtml+xml is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2017-06-14 09:47:15,505 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for
application/xml is
org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2017-06-14 09:47:15,506 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml
is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2017-06-14 09:47:15,506 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for
text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2017-06-14 09:47:15,506 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css
is org.apache.jmeter.protocol.http.parser.CssParser
2017-06-14 09:47:15,571 INFO o.a.j.c.IncludeController: loadIncludedElements --
try to load included module:
D:\Jmeter\script\..\commons\reusable\hub\ilp-logout.jmx
2017-06-14 09:47:15,572 INFO o.a.j.s.SaveService: Loading file:
..\commons\reusable\hub\ilp-logout.jmx
2017-06-14 09:47:15,580 INFO o.a.j.c.IncludeController: loadIncludedElements --
try to load included module:
D:\Jmeter\script\..\commons\reusable\hub\ilp-login.jmx
2017-06-14 09:47:15,580 INFO o.a.j.s.SaveService: Loading file:
..\commons\reusable\hub\ilp-login.jmx
2017-06-14 09:47:15,626 INFO o.a.j.c.IncludeController: loadIncludedElements --
try to load included module:
D:\Jmeter\script\..\commons\reusable\hub\ilp-logout.jmx
2017-06-14 09:47:15,626 INFO o.a.j.s.SaveService: Loading file:
..\commons\reusable\hub\ilp-logout.jmx
2017-06-14 09:47:15,633 INFO o.a.j.JMeter: Creating summariser <summary>
2017-06-14 09:47:15,649 INFO o.a.j.e.DistributedRunner: Configuring remote
engine: 127.0.0.1
2017-06-14 09:47:16,097 INFO o.a.j.c.IncludeController: loadIncludedElements --
try to load included module:
D:\Jmeter\script\..\commons\reusable\hub\ilp-login.jmx
2017-06-14 09:47:16,098 INFO o.a.j.s.SaveService: Loading file:
..\commons\reusable\hub\ilp-login.jmx
2017-06-14 09:47:16,128 INFO o.a.j.c.IncludeController: loadIncludedElements --
try to load included module:
D:\Jmeter\script\..\commons\reusable\hub\ilp-logout.jmx
2017-06-14 09:47:16,129 INFO o.a.j.s.SaveService: Loading file:
..\commons\reusable\hub\ilp-logout.jmx
2017-06-14 09:47:16,134 INFO o.a.j.e.DistributedRunner: Starting remote engines
2017-06-14 09:47:16,137 INFO o.a.j.e.DistributedRunner: Starting the test @ Wed
Jun 14 09:47:16 IST 2017 (1497413836135)
2017-06-14 09:47:16,140 INFO o.a.j.e.ClientJMeterEngine: running clientengine
run method
2017-06-14 09:47:16,176 INFO o.a.j.e.u.CompoundVariable: Note: Function class
names must contain the string: '.functions.'
2017-06-14 09:47:16,176 INFO o.a.j.e.u.CompoundVariable: Note: Function class
names must not contain the string: '.gui.'
2017-06-14 09:47:16,343 ERROR o.a.j.e.PreCompiler: invalid variables in node
Backend Listener
org.apache.jmeter.functions.InvalidVariableException: __P called with wrong
number of parameters. Actual: 3. Expected: >= 1 and <= 2
at
org.apache.jmeter.functions.AbstractFunction.checkParameterCount(AbstractFunction.java:93)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.functions.Property2.setParameters(Property2.java:90)
~[ApacheJMeter_functions.jar:r1798406]
at
org.apache.jmeter.engine.util.FunctionParser.makeFunction(FunctionParser.java:134)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.util.FunctionParser.compileString(FunctionParser.java:82)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.util.CompoundVariable.setParameters(CompoundVariable.java:186)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.util.ReplaceStringWithFunctions.transformValue(ReplaceStringWithFunctions.java:46)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:170)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:178)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:178)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:178)
~[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.util.ValueReplacer.replaceValues(ValueReplacer.java:80)
~[ApacheJMeter_core.jar:r1798406]
at org.apache.jmeter.engine.PreCompiler.addNode(PreCompiler.java:70)
[ApacheJMeter_core.jar:r1798406]
at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
[jorphan.jar:r1798406]
at
org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:997)
[jorphan.jar:r1798406]
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
[jorphan.jar:r1798406]
at
org.apache.jmeter.engine.ClientJMeterEngine.runTest(ClientJMeterEngine.java:116)
[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.DistributedRunner.start(DistributedRunner.java:132)
[ApacheJMeter_core.jar:r1798406]
at
org.apache.jmeter.engine.DistributedRunner.start(DistributedRunner.java:149)
[ApacheJMeter_core.jar:r1798406]
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:1005)
[ApacheJMeter_core.jar:r1798406]
at org.apache.jmeter.JMeter.startNonGui(JMeter.java:910)
[ApacheJMeter_core.jar:r1798406]
at org.apache.jmeter.JMeter.start(JMeter.java:538)
[ApacheJMeter_core.jar:r1798406]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
at org.apache.jmeter.NewDriver.main(NewDriver.java:248)
[ApacheJMeter.jar:r1798406]
2017-06-14 09:47:16,369 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2017-06-14 09:47:16,382 INFO o.a.j.s.BatchSampleSender: Using batching (client
settings) for this run. Thresholds: num=100, time=60000
2017-06-14 09:47:16,382 INFO o.a.j.s.DataStrippingSampleSender: Using
DataStrippingSampleSender for this run
2017-06-14 09:47:17,259 INFO o.a.j.s.BatchSampleSender: Using batching (client
settings) for this run. Thresholds: num=100, time=60000
2017-06-14 09:47:17,259 INFO o.a.j.s.DataStrippingSampleSender: Using
DataStrippingSampleSender for this run
2017-06-14 09:47:18,656 INFO o.a.j.e.ClientJMeterEngine: sent test to 127.0.0.1
basedir='.'
2017-06-14 09:47:18,656 INFO o.a.j.e.ClientJMeterEngine: Sending properties
{PROPERTY=jenkins}
2017-06-14 09:47:18,674 INFO o.a.j.e.ClientJMeterEngine: sent run command to
127.0.0.1
2017-06-14 09:47:18,674 INFO o.a.j.e.DistributedRunner: Remote engines have
been started
2017-06-14 09:47:19,592 INFO o.a.j.v.b.BackendListener: Backend Listener:
Starting worker with class: class
org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient
and queue capacity: 5000
2017-06-14 09:47:19,594 INFO o.a.j.v.b.BackendListener: Backend Listener:
Started worker with class: class
org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient
2017-06-14 09:47:19,610 INFO o.a.j.v.b.g.TextGraphiteMetricsSender: Created
TextGraphiteMetricsSender with host: 10.34.169.55, port: 2003, prefix:
jmeter.${__P(PROPERTY,,)}.
2017-06-14 09:47:19,619 INFO o.a.j.JMeter: Started remote host: 127.0.0.1
(1497413839618)
2017-06-14 09:47:19,749 INFO o.a.j.v.b.BackendListener: Worker ended
2017-06-14 09:47:20,129 INFO o.a.j.r.Summariser: summary = 0 in 00:00:00 =
******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err:
0 (0.00%)
2017-06-14 09:47:20,134 INFO o.a.j.JMeter: Finished remote host: 127.0.0.1
(1497413840133)
2017-06-14 09:47:25,140 INFO o.a.j.JMeter: Interrupting RMI Reaper
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61181] Jmeter (NON GUI Mode) Graphite Backend Listener (Root
Metric Prefix) in Distributed Mode unable to fetch Global Jmeter Variable
Value
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61181
--- Comment #3 from Mayank Upadhyaya <ma...@gmail.com> ---
TextGraphiteMetricsSender with host: 10.34.169.55, port: 2003, prefix:
jmeter.${__P(PROPERTY,,)}.
kindly resolve
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61181] Jmeter (NON GUI Mode) Graphite Backend Listener (Root
Metric Prefix) in Distributed Mode unable to fetch Global Jmeter Variable
Value
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61181
maxime.chassagneux@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from maxime.chassagneux@gmail.com ---
Can you test with latest nightly build ?
https://builds.apache.org/job/JMeter-trunk/lastSuccessfulBuild/artifact/trunk/dist/
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61181] Jmeter (NON GUI Mode) Graphite Backend Listener (Root
Metric Prefix) in Distributed Mode unable to fetch Global Jmeter Variable
Value
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61181
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #4 from Felix Schumacher <fe...@internetallee.de> ---
The function _P takes two parameters at most. See
http://jmeter.apache.org/usermanual/functions.html#__P
You have two commata in _P and therefore three parameters.
Can you test again with correct parameters?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61181] Jmeter (NON GUI Mode) Graphite Backend Listener (Root
Metric Prefix) in Distributed Mode unable to fetch Global Jmeter Variable
Value
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61181
maxime.chassagneux@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEEDINFO |RESOLVED
--
You are receiving this mail because:
You are the assignee for the bug.