title: How to test the performance of an http JSON server?
body: <p>How to test the performance of an http server that serves and accepts only JSON requests (post and get)? I'm new to web testing, so tell me if I'm trying to do it in incorrect way.</p>
  
  <p>I want to test if:</p>
  
  <ul>
  <li>server is capable of handling hundreds of simultaneous connections. </li>
  <li>server is capable to serve thousands requests per second.</li>
  <li>server does not crash or get stuck when the number of requests exceeds server capabilities, and continues to run normally when the number of requests drops below average. </li>
  </ul>
  
  <p>One way is to write some logic that repeats certain actions per run, and run multiple of them. </p>
  
  <p>PS: Ideally, the tool/method should support compression like gzip as an option.</p>