Can someone please help me with the best Ramp up time for 20 users as well as 600 users.
I have given Users: 20, Rampup: 60 sec , which is leading to Reason for socket exception in Client-Server Application
I have given Users: 20, Rampup: 60 sec , which is leading to Reason for socket exception in Client-Server Application
Non HTTP response code: javax.net.ssl.SSLException/Non HTTP response message: Socket closed
There is no "best ramp-up time", there is only a recommendation to increase the load gradually so you would be able to correlate increasing load with other metrics like response time, throughput, number of errors, etc.
If you need a quote with it comes to suggested ramp-up period you can stick to official JMeter documentation which states:
"Socket exception" is too broad term, there could be multiple reasons behind it and therefore multiple solutions. If it doesn't happen for 1-2 users and happens for 20 - most probably your application gets overloaded somehow and cannot process that many requests. You can take a look at jmeter.log file and/or add the next line to system.properties file:
and next time you run your test you will see a lot of debugging information in the STDOUT
More information: