title: How to default HTTP request to servername followed by path in JMeter
body: <p>I'm new to JMeter and am having trouble figuring out how to get my default URL to be what I want it to be.  Right now, I've added an <code>HTTP Request Defaults</code>config element to my test plan.   In the Web Server box I have a url of the following format: </p>
  
  <pre><code>testproject.company.com 
  </code></pre>
  
  <p>What I actually want the default URL to be is </p>
  
  <pre><code>testproject.company.com/test
  </code></pre>
  
  <p>The first thing I tried was setting the <code>Server Name or IP</code> to <code>testproject.company.com/test</code>, but this gave me an error</p>
  
  <blockquote>
    <p>java.net.UnknownHostException: testproject.company.com/test</p>
  </blockquote>
  
  <p>Next, I set <code>Server Name or IP</code> back to <code>testproject.company.com</code> and filled in the <code>Path</code> box in the HTTP Request section with </p>
  
  <pre><code>/test
  </code></pre>
  
  <p>This does not cause any errors, but all of my tests fail because it is simply using <code>testproject.company.com</code> as the default URL. </p>
  
  <hr>
  
  <p>I am also using a <code>Project Files</code> config, and within the Configure the CSV Data Source section, in the <code>Filename</code> box, have the path to a .csv file.  The .csv file has the following contents: </p>
  
  <pre><code>testproject.company.com/test/,username@testproject.train,10,true,WIN
  </code></pre>
  
  <hr>
  
  <p>What's preventing JMeter from adding <code>/test</code> to the default URL?</p>