rollno748 / Extended-csv-dataset-config

This plugin will enable Apache JMeter users to have similar parameter advantage as LoadRunner
MIT License
25 stars 7 forks source link

Does not work in Distributed testing #22

Open binayaparhy opened 3 months ago

binayaparhy commented 3 months ago

Below is the error.

2024-03-27 16:21:20,181 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.' 2024-03-27 16:21:20,182 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 2024-03-27 16:21:20,332 INFO o.a.j.r.ClassFinder: Will scan jar C:\FTP_Jmter_LoadTest\apache-jmeter-5.6.3\apache-jmeter-5.6.3\lib\ext\di-extended-csv-2.2.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 2024-03-27 16:21:20,340 INFO o.a.j.r.ClassFinder: Will scan jar C:\FTP_Jmter_LoadTest\apache-jmeter-5.6.3\apache-jmeter-5.6.3\lib\ext\jmeter-plugins-manager-1.10.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 2024-03-27 16:21:20,769 INFO c.d.j.u.FileServerExtended: Default base='C:\FTP_Jmter_LoadTest\apache-jmeter-5.6.3\apache-jmeter-5.6.3\bin' 2024-03-27 16:21:20,770 ERROR o.a.j.e.StandardJMeterEngine: Unable to execute testStarted(FTDC6LRU002) for test element com.di.jmeter.config.ExtendedCsvDataSetConfig@f0cd55a5 java.lang.NullPointerException: Cannot invoke "org.apache.jmeter.gui.GuiPackage.getTestPlanFile()" because the return value of "org.apache.jmeter.gui.GuiPackage.getInstance()" is null at com.di.jmeter.config.ExtendedCsvDataSetConfig.testStarted(ExtendedCsvDataSetConfig.java:210) ~[di-extended-csv-2.2.jar:?] at com.di.jmeter.config.ExtendedCsvDataSetConfig.testStarted(ExtendedCsvDataSetConfig.java:227) ~[di-extended-csv-2.2.jar:?] at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:249) ~[ApacheJMeter_core.jar:5.6.3] at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:432) ~[ApacheJMeter_core.jar:5.6.3] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

binayaparhy commented 3 months ago

Jmeter version 5.6.3, java 21.0.2 2024-01-16 LTS, di-extended-csv-2.2.jar:

rollno748 commented 3 months ago

Hello @binayaparhy

Thanks for reporting this.

  1. Can you confirm that you have the plugin installed on your slaves as well (should be of same version) ?
  2. Can you please provide your complete jmeter.log file from the master and slave ?
binayaparhy commented 3 months ago

jmeter - Copy.log jmeter-server - Copy.log

binayaparhy commented 3 months ago

Can you confirm that you have the plugin installed on your slaves as well (should be of same version) ? Yes, same version installed using Plugin manager in Slave Can you please provide your complete jmeter.log file from the master and slave ? - Attached with sanitised server name and IP

binayaparhy commented 2 months ago

Hi, is there any update on this issue please? I am trying to use this new data set config for one of my test.

rollno748 commented 2 months ago

Hey @binayaparhy

I have been keeping busy lately. Will push an update to the plugins soon

Thanks

rollno748 commented 2 months ago

Can you validate this please ?

https://github.com/rollno748/Extended-csv-dataset-config/releases/download/untagged-d002a8f5b422693e1c27/di-extended-csv-2.3.jar

and let meknow, if the issue still persist

binayaparhy commented 2 months ago

The link is not opening

rollno748 commented 2 months ago

Can you try with the below link https://github.com/rollno748/Extended-csv-dataset-config/releases/download/2.3/di-extended-csv-2.3.jar

binayaparhy commented 2 months ago

I am not able to download the Jar, were you able to reproduce the issue? if it the fix works fine, you can publish it to the plugin manager where I can take it.

rollno748 commented 2 months ago

I dont have an env to test it How are you tryin to download the jar ? Copy pasting the link to the browser should get the jar downloaded

I cannot release it, until the reporter confirms the fix

binayaparhy commented 2 months ago

Our organisation has blocked download of jar files

rollno748 commented 2 months ago

Only option I see is by compiling the jar by yourself or raise an IT ticket and get it downloaded

binayaparhy commented 2 months ago

Hello, I have been able to download from a different machine and tested it works in distributed mode. Please let me know once it is published