title: Tomcat unexpected maximum response time for a request when load testing is done using jmeter
body: <p>I have a spring boot application which has a post endpoint which takes the request and send it to another service and get the response back and save it to mongo database and returned the response back to user. The application is deployed on embedded tomcat of spring boot. I am using jmeter to see the max response time, throughput etc.</p>
  
  <p>When i ran a test from jmeter with 500 threads for 10 minutes, i got maximum time as around 3500ms. 
  When i repeat the test from jmeter the maximum time gets reduced to 900ms. 
  Again, if i run the test after a long time, the maximum again goes upto 3500ms.</p>
  
  <p>I am not able to get any information regarding this behavior of tomcat.</p>
  
  <p>Could you please help me with understanding this behavior of tomcat?</p>