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 2019/05/31 07:00:28 UTC

[Bug 63478] New: BackendListener: Allow using runtime variables

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

            Bug ID: 63478
           Summary: BackendListener: Allow using runtime variables
           Product: JMeter
           Version: 5.1.1
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: sergiy.iampol@playtech.com
  Target Milestone: JMETER_5.2

trying to use BackendListener and observed runtime variables are not written to
influxDB.

Properties, on the other hand, can be written to influx.

So I can separate test results by some ID by setting
measurement=${__P(SOME_ID)}

What I'm looking for is a splitting results by thread group name, as I may have
up to several dozens of them within the same test.

Tried to use following:
TAG_scenarioName=${__threadGroupName}
TAG_someJmeterVar=${SOME_JMETER_VAR}
TAG_someJmeterVarAsGroovy=${__groovy(vars.get("SOME_JMETER_VAR"),)}
eventTags=${__threadGroupName}
testTitle=${__threadGroupName} (this one makes less sense, but still..)

and none of those works

Those are works:
TAG_injectorName=${__machineName()}
TAG_predefinedVar=${USER_DEFINED_VAR} (I believe this is thanks to
https://bz.apache.org/bugzilla/show_bug.cgi?id=57962)

So as I understand problem is with runtime variables only. Is it possible to
make runtime variables accessible for the BackendListener? Or maybe there is
some workaround for such case?

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

[Bug 63478] BackendListener: Allow using runtime variables

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

sergiy.iampol@playtech.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from sergiy.iampol@playtech.com ---
p.p.s. also tried use a separate BackendListener per each thread group (with
TAG_scenarioName=TG_Name_N) but seems like only one BackendListener can be used
within one testplan.

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