jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

csv config

Open cnscyy opened this issue 4 years ago • 3 comments

when i use csv data in testfile, get the error "Error generating the report: java.lang.NullPointerException". there is no result and test request. can you help me?

cnscyy avatar May 11 '20 07:05 cnscyy

Hello @cnscyy , Could you please provide me the docker command you executed or any files that could help me ? Thank you.

egaillardon avatar May 21 '20 16:05 egaillardon

master commod:docker run --name jmeter --publish 20001:20001 --rm --volume pwd:/jmeter egaillardon/jmeter -Jserver.rmi.ssl.disable=true -Jclient.rmi.localport=20001 --nongui --testfile test.jmx --remotestart 10.66.1.126:20000 --logfile result.jtl --reportatendofloadtests --reportoutputfolder report -Jjmeter.reportgenerator.overall_granularity=10000

slaver commod:docker run --detach --publish 20000:20000 --rm egaillardon/jmeter -Jserver.rmi.ssl.disable=true -Djava.rmi.server.hostname=10.66.1.126 -Jserver.rmi.localport=20000 -Dserver_port=20000 --server

thanks.

cnscyy avatar May 22 '20 01:05 cnscyy

Hi @egaillardon ,

I am trying to modify the entrypoint as below.

ENTRYPOINT ["jmeter", "-n", "-t" ,"jmeter_test.jmx"]

Note: i have modified the Dockerfile with jmx included. But I am getting the below error while runnig the container. Can you please help me.

"Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/jmeter/jmeter_test.jmx'. Cause: CannotResolveClassException: html

Detail:com.thoughtworks.xstream.mapper.CannotResolveClassException: html "

dhineshbabu avatar Jun 20 '20 08:06 dhineshbabu