mderevyankoaqa / jmeter-influxdb2-listener-plugin

Influx DB v2.0 listener plugin for Apache JMeter. Provides the possibility to see the online dashboard (aggregation table, errors, the response body of failures).
Apache License 2.0
119 stars 41 forks source link

It's worked run under Jmeter file, but not on Jekins. #95

Closed uthens closed 1 year ago

uthens commented 1 year ago

Hi team.

I used your plug-in it's worked when i run your plog-in on local server (windows) 1) Run jemeter file > influxdb > grafana (it's worked) i see report on grafana.

Screenshot 2566-11-13 at 8 25 08 AM

But

When i try on this 2) Jeking > run sheduler with Jemeter file (it's don't worked) and grafana don't show any informaiton.

Screenshot 2566-11-13 at 8 24 53 AM

Log file show like this

Screenshot 2566-11-13 at 8 27 44 AM Screenshot 2566-11-13 at 8 32 53 AM Screenshot 2566-11-13 at 8 32 30 AM

Jekins report (build success)

Screenshot 2566-11-13 at 8 35 10 AM

Question:

NOTE: I tesed the same solution with other plug-in it's worked on both (run on local Jmeter file an under Jenkins) https://jmeter.apache.org/usermanual/realtime-results.html

Best, UT

mderevyankoaqa commented 1 year ago

Hello @uthens, can you share the java version you have? the plugin works everywhere 😊 please check this first https://github.com/mderevyankoaqa/jmeter-influxdb2-listener-plugin#compatibility

any logs from jmeter I do not see any things has to do to the plugin on the screen?

To have the direct support you can reach me here https://www.linkedin.com/in/michail-derevyanko-a2700948/

BR, Mike

uthens commented 1 year ago

Hi @mderevyankoaqa

It's log file after click "start" on Jmeter UI [It's worked]

Screenshot 2566-11-16 at 2 10 48 PM

2023-11-16 01:45:22,684 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN 2023-11-16 01:45:22,724 INFO o.a.j.JMeter: Loading user properties from: user.properties 2023-11-16 01:45:22,724 INFO o.a.j.JMeter: Loading system properties from: system.properties 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: Copyright (c) 1998-2023 The Apache Software Foundation 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: Version 5.6.2 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: java.version=17.0.6 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: os.name=Windows Server 2022 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: os.arch=amd64 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: os.version=10.0 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: file.encoding=Cp1252 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: java.awt.headless=null 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: Max memory =1073741824 2023-11-16 01:45:22,732 INFO o.a.j.JMeter: Available Processors =4 2023-11-16 01:45:22,755 INFO o.a.j.JMeter: Default Locale=English (EN) 2023-11-16 01:45:22,763 INFO o.a.j.JMeter: JMeter Locale=English (EN) 2023-11-16 01:45:22,763 INFO o.a.j.JMeter: JMeterHome=C:\tools\apache-jmeter-5.6.2 2023-11-16 01:45:22,763 INFO o.a.j.JMeter: user.dir =C:\tools\apache-jmeter-5.6.2\bin 2023-11-16 01:45:22,763 INFO o.a.j.JMeter: PWD =C:\tools\apache-jmeter-5.6.2\bin 2023-11-16 01:45:22,763 INFO o.a.j.JMeter: IP: 10.xx.x.xxx Name: xxx-windows-xxx FullName: host.docker.internal 2023-11-16 01:45:22,786 INFO o.a.j.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 2023-11-16 01:45:23,114 INFO o.a.j.JMeterGuiLauncher: Setting LAF to: com.github.weisj.darklaf.DarkLaf:com.github.weisj.darklaf.theme.DarculaTheme 2023-11-16 01:45:24,787 INFO o.a.j.r.ClassFinder: Will scan jar C:\tools\apache-jmeter-5.6.2\lib\ext\jmeter-plugins-influxdb2-listener-2.7.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.gui.action.Command], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 2023-11-16 01:45:26,336 INFO o.a.j.r.ClassFinder: Will scan jar C:\tools\apache-jmeter-5.6.2\lib\ext\jmeter-plugins-influxdb2-listener-2.7.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.gui.plugin.MenuCreator], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 2023-11-16 01:46:08,130 INFO o.a.j.s.FileServer: Default base='C:\tools\apache-jmeter-5.6.2\bin' 2023-11-16 01:46:08,138 INFO o.a.j.g.a.Load: Loading file: C:\code\automation-testing-xxx-air\script\sale\406903_Finalize_V3.jmx 2023-11-16 01:46:08,138 INFO o.a.j.s.FileServer: Set new base='C:\code\automation-testing-xxx-xxx\script\sale' 2023-11-16 01:46:08,349 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 2023-11-16 01:46:08,392 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0 2023-11-16 01:46:08,392 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8 2023-11-16 01:46:08,392 INFO o.a.j.s.SaveService: Loading file: C:\code\automation-testing-xxx-xxx\script\sale\406903_FinalizeV3.jmx 2023-11-16 01:46:08,456 INFO o.a.j.p.h.c.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE 2023-11-16 01:46:08,456 INFO o.a.j.p.h.c.CacheManager: Will only cache the following methods: [GET] 2023-11-16 01:46:08,474 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2023-11-16 01:46:08,474 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2023-11-16 01:46:08,474 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2023-11-16 01:46:08,474 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2023-11-16 01:46:08,474 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 2023-11-16 01:46:08,474 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser 2023-11-16 01:46:08,614 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times 2023-11-16 01:46:08,614 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to UTF-8 2023-11-16 01:46:08,614 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true 2023-11-16 01:46:08,614 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000 2023-11-16 01:46:08,663 INFO o.a.j.p.h.s.HTTPJavaImpl: Maximum connection retries = 0 2023-11-16 01:46:09,699 INFO o.a.j.r.ClassFinder: Will scan jar C:\tools\apache-jmeter-5.6.2\lib\ext\jmeter-plugins-influxdb2-listener-2.7.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.visualizers.backend.BackendListenerClient], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 2023-11-16 01:46:10,126 INFO o.a.j.r.ClassFinder: Will scan jar C:\tools\apache-jmeter-5.6.2\lib\ext\jmeter-plugins-influxdb2-listener-2.7.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.visualizers.ResultRenderer], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 2023-11-16 01:46:10,188 INFO o.a.j.r.ClassFinder: Will scan jar C:\tools\apache-jmeter-5.6.2\lib\ext\jmeter-plugins-influxdb2-listener-2.7.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.visualizers.RequestView], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 2023-11-16 01:46:10,345 INFO o.a.j.r.ClassFinder: Will scan jar C:\tools\apache-jmeter-5.6.2\lib\ext\jmeter-plugins-influxdb2-listener-2.7.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.protocol.http.util.accesslog.LogParser], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 2023-11-16 01:46:10,393 INFO o.a.j.r.ClassFinder: Will scan jar C:\tools\apache-jmeter-5.6.2\lib\ext\jmeter-plugins-influxdb2-listener-2.7.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.protocol.http.util.accesslog.Filter], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 2023-11-16 01:46:10,486 INFO o.a.j.s.FileServer: Set new base='C:\code\automation-testing-xxx-xxx\script\sale' 2023-11-16 01:46:23,224 INFO o.a.j.e.StandardJMeterEngine: Running the test! 2023-11-16 01:46:23,231 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2023-11-16 01:46:23,231 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2023-11-16 01:46:23,239 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.' 2023-11-16 01:46:23,239 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 2023-11-16 01:46:23,310 INFO o.a.j.r.ClassFinder: Will scan jar C:\tools\apache-jmeter-5.6.2\lib\ext\jmeter-plugins-influxdb2-listener-2.7.jar with filter ExtendsClassFilter [parents=[interface org.apache.jmeter.functions.Function], inner=false, contains=null, notContains=null]. Consider exposing JMeter plugins via META-INF/services, and add JMeter-Skip-Class-Scanning=true manifest attribute so JMeter can skip classfile scanning 2023-11-16 01:46:23,358 INFO o.a.j.v.b.BackendListener: Backend Listener: Starting worker with class: class io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient and queue capacity: 5000 2023-11-16 01:46:23,374 INFO o.a.j.v.b.BackendListener: Backend Listener: Started worker with class: class io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient 2023-11-16 01:46:23,380 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: New instance of InfluxDatabaseClient has been created! 2023-11-16 01:46:23,380 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: InfluxDBClientFactory is going to use the following properties: 2023-11-16 01:46:23,380 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: URL --> http://localhost:8086/ 2023-11-16 01:46:23,380 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Token --> xxxxxxxxxxxxxxxxxxxxxxxxxx_VyHzN2DAbGZTqUKIXLLP2GypEZTnskDFa1HrzMuxVbf7PG2nohvpeEfg== 2023-11-16 01:46:23,380 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Organization --> learning 2023-11-16 01:46:23,380 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Bucket --> jmeter 2023-11-16 01:46:23,868 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, local) 2023-11-16 01:46:23,945 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group 2023-11-16 01:46:23,945 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group. 2023-11-16 01:46:23,945 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error 2023-11-16 01:46:23,945 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false 2023-11-16 01:46:24,019 INFO o.a.j.t.ThreadGroup: Started thread group number 1 2023-11-16 01:46:24,019 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started 2023-11-16 01:46:24,019 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1 2023-11-16 01:46:24,050 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = xxx-windows-cloud2 2023-11-16 01:46:24,070 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0 2023-11-16 01:46:24,105 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 1, elapsed time is --> 232 ms 2023-11-16 01:46:24,236 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory 2023-11-16 01:46:24,243 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS 2023-11-16 01:46:24,243 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread 2023-11-16 01:46:24,307 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS 2023-11-16 01:46:24,308 INFO o.a.j.u.SSLManager: KeyStore created OK 2023-11-16 01:46:24,308 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore 2023-11-16 01:46:27,879 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 4, elapsed time is --> 13 ms 2023-11-16 01:46:31,880 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 13, elapsed time is --> 13 ms 2023-11-16 01:46:35,580 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-1 2023-11-16 01:46:35,580 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1 2023-11-16 01:46:35,584 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test 2023-11-16 01:46:35,585 INFO o.a.j.v.b.BackendListener: Worker ended 2023-11-16 01:46:35,586 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Shutting down influxDB scheduler... 2023-11-16 01:46:35,588 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: influxDB scheduler terminated! 2023-11-16 01:46:35,589 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: The final step ---> importing before closing. 2023-11-16 01:46:35,601 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 16, elapsed time is --> 12 ms 2023-11-16 01:46:35,604 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Instance of InfluxDatabaseClient has been refreshed! 2023-11-16 01:46:35,604 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, local) 2023-11-16 01:56:14,786 INFO o.a.j.e.StandardJMeterEngine: Running the test! 2023-11-16 01:56:14,801 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2023-11-16 01:56:14,818 INFO o.a.j.v.b.BackendListener: Backend Listener: Starting worker with class: class io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient and queue capacity: 5000 2023-11-16 01:56:14,818 INFO o.a.j.v.b.BackendListener: Backend Listener: Started worker with class: class io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient 2023-11-16 01:56:14,818 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: New instance of InfluxDatabaseClient has been created! 2023-11-16 01:56:14,818 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: InfluxDBClientFactory is going to use the following properties: 2023-11-16 01:56:14,818 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: URL --> http://localhost:8086/ 2023-11-16 01:56:14,818 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Token --> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_VyHzN2DAbGZTqUKIXLLP2GypEZTnskDFa1HrzMuxVbf7PG2nohvpeEfg== 2023-11-16 01:56:14,818 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Organization --> learning 2023-11-16 01:56:14,818 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Bucket --> jmeter 2023-11-16 01:56:14,818 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, local) 2023-11-16 01:56:14,927 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group 2023-11-16 01:56:14,927 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group. 2023-11-16 01:56:14,927 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error 2023-11-16 01:56:14,927 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false 2023-11-16 01:56:14,959 INFO o.a.j.t.ThreadGroup: Started thread group number 1 2023-11-16 01:56:14,959 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started 2023-11-16 01:56:14,986 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1 2023-11-16 01:56:15,008 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 1, elapsed time is --> 81 ms 2023-11-16 01:56:18,926 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 13, elapsed time is --> 12 ms 2023-11-16 01:56:22,430 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-1 2023-11-16 01:56:22,430 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1 2023-11-16 01:56:22,431 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test 2023-11-16 01:56:22,432 INFO o.a.j.v.b.BackendListener: Worker ended 2023-11-16 01:56:22,433 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Shutting down influxDB scheduler... 2023-11-16 01:56:22,433 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: influxDB scheduler terminated! 2023-11-16 01:56:22,433 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: The final step ---> importing before closing. 2023-11-16 01:56:22,446 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 16, elapsed time is --> 13 ms 2023-11-16 01:56:22,447 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Instance of InfluxDatabaseClient has been refreshed! 2023-11-16 01:56:22,447 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, local) 2023-11-16 02:03:40,817 INFO o.a.j.e.StandardJMeterEngine: Running the test! 2023-11-16 02:03:40,828 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2023-11-16 02:03:40,828 INFO o.a.j.v.b.BackendListener: Backend Listener: Starting worker with class: class io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient and queue capacity: 5000 2023-11-16 02:03:40,828 INFO o.a.j.v.b.BackendListener: Backend Listener: Started worker with class: class io.github.mderevyankoaqa.influxdb2.visualizer.InfluxDatabaseBackendListenerClient 2023-11-16 02:03:40,828 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: New instance of InfluxDatabaseClient has been created! 2023-11-16 02:03:40,828 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: InfluxDBClientFactory is going to use the following properties: 2023-11-16 02:03:40,828 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: URL --> http://localhost:8086/ 2023-11-16 02:03:40,828 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Token --> xxxxxxxxxxxxxxxxxxxxxxxxxxxxx_VyHzN2DAbGZTqUKIXLLP2GypEZTnskDFa1HrzMuxVbf7PG2nohvpeEfg== 2023-11-16 02:03:40,828 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Organization --> learning 2023-11-16 02:03:40,828 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Bucket --> jmeter 2023-11-16 02:03:40,844 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, local) 2023-11-16 02:03:40,942 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group 2023-11-16 02:03:40,942 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group. 2023-11-16 02:03:40,942 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error 2023-11-16 02:03:40,942 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false 2023-11-16 02:03:40,969 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 1, elapsed time is --> 29 ms 2023-11-16 02:03:40,979 INFO o.a.j.t.ThreadGroup: Started thread group number 1 2023-11-16 02:03:40,983 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started 2023-11-16 02:03:40,987 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1 2023-11-16 02:03:44,938 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 13, elapsed time is --> 12 ms 2023-11-16 02:03:48,939 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 14, elapsed time is --> 12 ms 2023-11-16 02:03:49,060 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-1 2023-11-16 02:03:49,060 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1 2023-11-16 02:03:49,062 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test 2023-11-16 02:03:49,062 INFO o.a.j.v.b.BackendListener: Worker ended 2023-11-16 02:03:49,063 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Shutting down influxDB scheduler... 2023-11-16 02:03:49,063 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: influxDB scheduler terminated! 2023-11-16 02:03:49,065 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: The final step ---> importing before closing. 2023-11-16 02:03:49,077 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Data has been imported successfully, batch with size is --> 3, elapsed time is --> 12 ms 2023-11-16 02:03:49,078 INFO i.g.m.i.v.InfluxDatabaseBackendListenerClient: Instance of InfluxDatabaseClient has been refreshed! 2023-11-16 02:03:49,078 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, local)


But it's don't work if i tested on command line, build success but don't show data on dashboard. Sample :

Screenshot 2566-11-16 at 2 13 58 PM

My java version: Screenshot 2566-11-16 at 2 15 42 PM


1) I think when i run jmeter on command line with my jmeter file, your plug-in don't run ? 2) My script on command line is wrong ? : https://jmeter.apache.org/usermanual/get-started.html#running 3) How i can run comment line jmeter under shell script and to used under Jenkins piplines ? and your plug-in still work.

Thank you for your comment.

Best, UT

uthens commented 1 year ago

Updated: I changed code "jmeter -n -t test.jmx -l test.jtl -p user.perperties" Now it's worked! on both.