title: How to analyze and report HTTP responses in JMeter
body: <p>I have a CSV file of values that needs to be run against a REST endpoint with JMeter. I have the project set up roughly like this:</p>
  
  <ul>
  <li>Thread Group
  
  <ul>
  <li>HTTP Request
  
  <ul>
  <li>CSV Data Set Config</li>
  <li>JSR223 PostProcessor</li>
  <li>XPath Extractor</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I use the XPath Extractor to look for a particular path in the HTTP Response. Then I use the JSR233 PostProcessor to evaluate that path output and set a variable with <code>vars.set</code> to track what values I get.</p>
  
  <p>This seems like a really hacky way to write something like this. What I need is track counts of results that were "good" versus "bad" and the endpoint unfortunately doesn't use HTTP error codes (not my choice) to specify when something failed (like a 404 when nothing comes back. Any suggestions?</p>