We had talked about Ramp up period in Jmeter and Load testing with JMeter in last posts
We get this error when testing with load of 1800 concurrent users.
Http request
Number of threads(users) = 1700
Ramp up period(in seconds) = 0
Loop Count = 1
In Jmeter logs , I found this error
ERROR – jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: Java heap space
When load testing with Jmeter , the no of concurrent threads you can create is also dependent on your desktop or laptop. I have a 2GB laptop and had closed all the services , still 1700 was the a maximum number of users we could test.
The post ERROR- jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError Java heap space appeared first on Free practice test , mock test, driving test, interview questions.