
: : java.io.FileNotFoundException: /root/artifacts/root/artifacts/message.json (No such file or directory)Īt (GroovyScriptEngineImpl.java:158) ~Īt (Unknown Source) ~Īt .Groovy.execute(Groovy.java:120) Īt .(CompoundVariable.java:138) Īt .(CompoundVariable.java:113) Īt .(FunctionProperty.java:100) Īt .AbstractTestElement.getPropertyAsString(AbstractTestElement.java:280) Īt .Argument.getValue(Argument.java:145) Īt .(HTTPArgument.java:249) Īt .(HTTPArgument.java:230) Īt .(HTTPHC4Impl.java:1643) Īt .(HTTPHC4Impl.java:886) Īt .(HTTPHC4Impl.java:641) Īt .(HTTPSamplerProxy.java:66) Īt .(HTTPSamplerBase.java:1296) Īt .(HTTPSamplerBase.java:1285) Īt .JMeterThread.doSampling(JMeterThread.java:638) Īt .JMeterThread.executeSamplePackage(JMeterThread.java:558) Īt .JMeterThread.processSampler(JMeterThread.java:489) Īt .n(JMeterThread.java:256) Īt (Unknown Source) Ĭaused by: : java.io.FileNotFoundException: /root/artifacts/root/artifacts/message.json (No such file or directory)Īt (GroovyScriptEngineImpl.java:320) ~Īt (GroovyScriptEngineImpl.java:155) ~Ĭaused by: java.io.FileNotFoundException: /root/artifacts/root/artifacts/message.json (No such file or directory)Īt java.io.FileInputStream.open0(Native Method) ~Īt java.io.FileInputStream.open(Unknown Source) ~Īt java.io.FileInputStream.(Unknown Source) ~Īt .(CharsetToolkit.java:78) ~Īt .ResourceGroovyMethods.newReader(ResourceGroovyMethods.java:1780) ~Īt .ResourceGroovyMethods.getText(ResourceGroovyMethods.java:591) ~Īt .dgm$1040.doMethodInvoke(Unknown Source) ~Īt .GeneratedMetaMethod$Proxy.doMethodInvoke(GeneratedMetaMethod.java:83) ~Īt .metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:76) ~Īt .(GetEffectivePojoPropertySite.java:63) ~Īt .(AbstractCallSite.java:329) ~Īt (GroovyScriptEngineImpl.java:317) ~Īlso, please suggest any workaround if feasible by the time this is investigated. It natively supports the following protocols: Besides those, JMeter also has a lot of plug-ins that can be used to test the performance of other services implementing other protocols not described above. JARS to the lib/ folder but that didnt help.

Hello, Ive just downloaded JMeter on and Archlinux system, Java 7, no extra. 17:09:20,489 WARN o.a.j.f.Groovy: Error running groovy script Apache JMeter is a program that can test the performance of various servers. Could not initialize class .util.MenuFactory Juan Ramirez 15:24:32 UTC. This is incorrect (repeated path) and is critical as we have a logic to access a file to populate POST body in HTTP request which throws FileNotFoundException. 17:09:20,488 INFO o.a.j.e.J.JSR223 PostProcessor: /root/artifacts/root/artifacts While running the same test plan using same docker image with JMeter client and server running on separate docker containers (on same or different machines), it shows the following path on JMeter SERVER (taken from worker/JMeter server logs): Import .FileServerĭef inputPath = FileServer.getFileServer().getBaseDir()
#Apache jmeter jar Pc#
There's a groovy script in our JMeter test plan using JSR223PostProcessor which is simply logging the FileServer base dir path and it runs fine on testing both JMeter client and server running on same PC or in single docker container:


We're running JMeter distributed setup and have created an alpine-based jre-headless docker image containing JMeter v5.4.1.
