title: Jmeter - url from command line
body: <p>I have been trying to pass the url for a web page from the command line to do performance testing using Jmeter.</p>
  
  <p>I had set up the user defined variables like</p>
  
  <pre><code>  NumberOfUsers         ${__P(NumberOfUsers,2)}
    HowManyTimesToRun     ${__P(HowManyTimesToRun,2)}
    RampUpTime                ${__P(RampUpTime, 10)}
    Host                  ${__P(Host)}
  </code></pre>
  
  <p>I tried using the Jmeter command as </p>
  
  <pre><code> ./jmeter.sh -n  -t Performance.jmx -l old88.jtl -JNumberOfUsers=5 -JRampUpTime=10JHowManyTimesToRun=2 -JHost=www.google.com
  </code></pre>
  
  <p>It seems to take all the values correctly except the host name. Is there a way to pass the url from command line. I use this property in HTTP request Defaults.</p>