apache / apache/jmeter

InfluxDBBackendListener: Ability to send user tags based on running test

Open
#5,646 0 comments 0 reactions 0 assignees View on GitHub
enhancement os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

@pmouawad ([Bug 65927](https://bz.apache.org/bugzilla//show_bug.cgi?id=65927&redirect=false)):
Currently in InfluxDBBackendListenerClient, user can add tags to the data sent using TAG_ prefixed key.

This userTag attribute value is computed on start of test (https://github.com/apache/jmeter/blob/master/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java#L361) which limits a bit what users can add to it.

For example, a user reported to me that using ${__threadGroupName} was not working, which is in fact not supported since userTag is computed on test start and besides InfluxDBBackendListenerClient is called in another thread than User Thread Groups.

See for example how this limitation has been workaround:

- https://github.com/delirius325/jmeter-elasticsearch-backend-listener/wiki/Sending-JMeter-variables

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.