Summary: | backend listener does not like certain words as the sampler label names | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | jz5168 |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
sample jmeter test script to reproduce the problem
Log file My Test plan |
Description
jz5168
2016-10-14 13:46:47 UTC
Hello, Thanks for report. My guess is that space may be the problem but I don't see why it would fail for GlobalCase. Do you confirm there is no space ? Could you also remove the space in your naming and see if it works better ? Thanks (In reply to jz5168 from comment #0) > The backend listener does not like some words in the sampler label name. > For example, for example, these sampler names (all http samplers): > > GlobalCase > IMRe case > Flex independent all > > The backend listener will simply not send to the backend Grafana servers. > > This is the case for both version 2.13 and 3.0. With 3.0 regular expression > support for the sampler list, if using ".*", other samplers will be sent, > but these samplers will not be. > > This looks like a silly defect since it is just label. Hi, JMeter escapes some characters when sending metrics so: IMRe case => IMRe-case Flex independent all => Flex-independent-all For GlobalCase I don't know what's the problem. Regards Space is NOT what's causing the issue. We have many sampler labels that have white space in them, that's fine. The sampler labels I provided are as is (without double quote): "GlobalCase" "IMRe case" "Flex independent all" If we change "GlobalCase" to "GlobalCas", it works. So the backend listener does not like "Case" in the label. You can verify yourself easily. (In reply to jz5168 from comment #3) > Space is NOT what's causing the issue. We have many sampler labels that > have white space in them, that's fine. The sampler labels I provided are as > is (without double quote): > > "GlobalCase" > "IMRe case" > "Flex independent all" > > If we change "GlobalCase" to "GlobalCas", it works. So the backend listener > does not like "Case" in the label. What about IMRe case ? same issue ? works if you set cas ? and "Flex independent all" , it does not contain case ? Could it be size of label ? > > You can verify yourself easily. For all three example I provided: "GlobalCase" "IMRe case" "Flex independent all" They do not work - we have tried. The character length is also not problem, we have much longer label name that do work. If we change "IMRe case" to "IMRe cas", it works. That's why I suspect it doesn't like "case" in it. For "Flex independent all", it seems it's the word "independent" it does not like. Cannot reproduce without more detail. Created attachment 34442 [details]
sample jmeter test script to reproduce the problem
1) In the backend listener, set the graphite server host to the actual host you have set up
2) Take a look at the samplers' comments, I've marked working vs. not working. Working ones will send to the graphite server, while not working ones will not.
Use the attached test script to reproduce the problem. Hello, Regarding your architecture: - You speak about Grafana server, do you mean Graphite or InfluxDB ? - You are using Grafana to render results right ? What are the versions you are using for each software ? A schema explaining the architecture is welcome. Could those issues be your problem ? https://github.com/grafana/grafana/issues/2983 https://github.com/influxdata/influxdb/issues/3787 Thanks Regards Hi, I confirmed issue is not a JMeter one. I installed last InfluxDB version 1.1 I ran a slightly modified version of your test to use Java Request instead of Debug Sampler (just to have timings > 0). All metrics are in DB as you can see in attached file. For info, I dropped jmeter db , I ran the test and ran SELECT * FROM /.*/ LIMIT 1. Regards Philippe M. Created attachment 34443 [details]
Log file
Created attachment 34444 [details]
My Test plan
Philippe, You are correct, I verified the data are indeed inserted into InfluxDB. It seems the issue is on the Grafana side. I'm using Grafana Version 3.1.1. I will further investigate. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4143 |