Hi,
I have a JMX that work successfully from the JMeter UI but when I try to run it 
with this command from the CLI all samplers fail

timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,URL,Latency,IdleTime,Connect
1654544531892,2023,GET M2M /ngp/api/v1/assets,Non HTTP response code: 
java.net.SocketException,Non HTTP response message: Connection reset,Assets 
1-1,text,false,,3756,0,1,1,https://ngp-service-ui-dev.dal1a.ciocloud.nonprod.intranet.ibm.com/auth/m2m,0,0,1964
1654544533916,0,GET M2M /ngp/api/v1/assets-0,200,OK,Assets 
1-1,text,true,,1171,0,1,1,null,0,0,0
1654544533918,303,GET ALL /ngp/api/v1/assets,Non HTTP response code: 
java.net.SocketException,Non HTTP response message: Connection reset,Assets 
1-1,text,false,,2585,0,1,1,https://ngp-service-asset-dev.dal1a.ciocloud.nonprod.intranet.ibm.com/ngp/api/v1/assets,0,0,302
1654544534222,151,POST  /ngp/api/v1/assets,Non HTTP response code: 
java.net.SocketException,Non HTTP response message: Connection reset,Assets 
1-1,text,false,,4275,0,1,1,https://ngp-service-asset-dev.dal1a.ciocloud.nonprod.intranet.ibm.com/ngp/api/v1/assets/,0,0,146
1654544534373,0,POST  /ngp/api/v1/assets-0,200,OK,Assets 
1-1,text,true,,1690,0,1,1,null,0,0,0
1654544534374,144,PUT  /ngp/api/v1/assets/byid/,Non HTTP response code: 
javax.net.ssl.SSLException,Non HTTP response message: Received fatal alert: 
protocol_version,Assets 
1-1,text,false,,4161,0,1,1,https://ngp-service-asset-dev.dal1a.ciocloud.nonprod.intranet.ibm.com/ngp/api/v1/assets/byid/NotFound,0,0,142
1654544534518,0,PUT  /ngp/api/v1/assets/byid/-0,200,OK,Assets 
1-1,text,true,,1679,0,1,1,null,0,0,0
1654544534519,152,PUT  /ngp/api/v1/assets/byname/,Non HTTP response code: 
java.net.SocketException,Non HTTP response message: Connection reset,Assets 
1-1,text,false,,2585,0,1,1,https://ngp-service-asset-dev.dal1a.ciocloud.nonprod.intranet.ibm.com/ngp/api/v1/assets/byid/NotFound,0,0,151
1654544534672,164,DEL ,Non HTTP response code: javax.net.ssl.SSLException,Non 
HTTP response message: Received fatal alert: protocol_version,Assets 
1-1,text,false,,2482,0,1,1,https://ngp-service-asset-dev.dal1a.ciocloud.nonprod.intranet.ibm.com/ngp/api/v1/assets/byid/1,0,0,163

This is the command used to run the jmx from the cli

C:\IBM\apache-jmeter-5.4.3\apache-jmeter-5.4.3\bin\jmeter.bat -n -t 
NextGen_asset.jmx -l NextGen_asset.jtl -LDEBUG


And I’ll attach the jmeter.log also.

Why on earth would it behave differently from the UI vs the command line?

Regards,

Lisa JM Waugh
Test Engineer
CIO Software & Development Experience
1 704 907 7008 Mobile
1 720 342 5373 Office
wa...@us.ibm.com

IBM


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to