-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response Time - > P90,P95 , Min and Max are not matching #119
Comments
I would guess the issue is this: Aggregate Report (that's what you're using to check against?) is using the entire dataset to calculate against. These metrics are only using the last 10 minutes of data to calculate against. From these docs: However, you can change this to say 60 minutes (if you're running a test for an hour) by adding
|
Thanks a lot for you reply. content from Jmeter Script: 0,0.1;15|0.90,0.1;15|0.95,0.1;15|1.0,0.01;15 ResponseTimeContent from scraper: JM_ResponseTime_Summary{label="/contacts.php",quantile="0.75",} 299.0 Jar version I am using for testing is -> jmeter-prometheus-plugin-0.6.0.jar Regards, |
Can you turn debug logging on and see if there's any issues it's printing? Are you saying that if you have a configuration like this it does work? (i.e., without changing the window length)
|
Hi @johrstrom , 2023-03-14 23:32:11,977 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test (2) config 0.90,0.01|0.95,0.01|0.99,0.01 is working functionally, but value are not matching. I am using data in Prometheus to prepare a custom summary report once the test is completed and comparing data with Jmeter JTL file for correctness. Please let me know if you need any additional information. Regards, |
There could be a bug here. I'll have to check to see if there are tests for the same, but cursorily looking at this logic, it doesn't appear to be correct. jmeter-prometheus-plugin/src/main/java/com/github/johrstrom/collector/BaseCollectorConfig.java Lines 423 to 444 in 6109f9f
|
Try this config. The window length applies to the entire config, so you can only have 1. I've verified the logic and added a test case for the same in #120, so I believe from the test case that already worked on the main line that this should work.
|
I am facing same issue. Above line is not working for me. Any other suggestion to see same values of Aggregate Report on Promethues. |
🤦♂️ I'm just now realizing that time is in seconds, so 60 is 1 minute, less than the default 10 minutes. A value of
|
I am using below in quantiles for 11min window. Can you please help me identify what is wrong as it is still going with default 10 min and also its just showing series for 0.9 and 0.95 only 0.75,0.5|0.9,0.01|0.95,0.01|0.99,0.001;660 |
There must be a bug somewhere that I'm not seeing in unit tests. In unit tests, this config should work. I don't even have jmeter on my machines anymore, so I'll have to set it all up and actually fire it up to see what may be breaking. |
@vasireddi78 did you find any solution....i have exact usecase |
@codegirlpower, |
Hi,
Good Day !
When I compared Response Time data in Premethues with jmeter jtl file, P90,P95 , Min and Max are not matching and they are 2 to 3 times higher than the data we have in jtl file.
I am using Summary metric to write Response time data into Premethues and using following quantiles:
0.0,0.5|0.90,0.01|0.95,0.01 | 1.0,0.01
Can you please let know anything I am missing in the configuration / resolution for this issue ?
Thanks in advance,
Ramu
The text was updated successfully, but these errors were encountered: