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 2020/03/29 03:57:08 UTC

[Bug 64279] New: Send data to influxDB failed when applicationName is replaced by function parameter

https://bz.apache.org/bugzilla/show_bug.cgi?id=64279

            Bug ID: 64279
           Summary: Send data to influxDB failed when applicationName is
                    replaced  by function parameter
           Product: JMeter
           Version: 5.2.1
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: zengxiaoliangzym@gmail.com
  Target Milestone: JMETER_5.3.0

1、 replace  "application"   to   ${__threadGroupName}  in Backend Listener 

2、 start jmeter and check the influxDB data

result:
send data to influxDB failed with flow error message.


error log:


2020-03-29 11:37:06,681 ERROR o.a.j.v.b.i.HttpMetricsSender: Error writing
metrics to influxDB Url: http://127.0.0.1/data/write?db=jmeter, responseCode:
400, responseBody: {"error":"unable to parse
'events,application=,title=ApacheJMeter,tags=test text=\"test ended\"
1585453026604000000': missing tag value\nunable to parse
'jmeter,application=,transaction=all,statut=all
count=33,countError=1,avg=118.61764705882354,min=115.0,max=158.0,hit=33,sb=5024,rb=7970,pct95.0=156.5,pct99.0=158.0,pct90.0=117.0
1585453026604000000': missing tag value\nunable to parse
'jmeter,application=,transaction=internal
minAT=1,maxAT=1,meanAT=1,startedT=1,endedT=1 1585453026604000000': missing tag
value"}

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64279] Send data to influxDB failed when applicationName is replaced by function parameter

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64279

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
         Resolution|---                         |WORKSFORME

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
This is by design.
__ThreadGroupName is a function that only works at some state of plan:
https://jmeter.apache.org/usermanual/functions.html#__threadGroupName

Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.