title: How do I make jmeter use the same hostname/port for all HTTP requests in a thread, but different values for each thread?
body: <p>I am testing a clustered application, and want to define a different thread to test each machine in the cluster.  I have a thread group with two HTTP Requests, a login that is done once, and a POST that is repeated many times.  I set up a CSV Data Set Config to configure the Server Name and Port Number for the HTTP Requests.  A HTTP Cookie Manager holds the login cookie resulting from the login request.</p>
  
  <p>The problem is that for each time a HTTP Request runs the CSV file is read again.  Often the same thread reads hostname and port values, and the login cookie is then not sent because it only applies to the original machine the thread logged into.</p>
  
  <p>Is there any way to get make the CSV Data Set Config only read once per thread?  Or perhaps some other way to set the hostname/port on a per thread basis instead of a per request basis like I am doing now?</p>