title: Is there any way where I can send host value as a parameter in locust?
body: <p>I would like to know if there is any way with which i can send host value as parameter. I am aware that locust provides a paramter, "--host" which can help here but it's not working for me. 
  This is my code implementation - </p>
  
  <pre><code>class NcsoTest(TaskSet):
  
      REQ_HEADER = {
          "Accept": "application/json",
          "Accept-Encoding": "gzip, deflate",
          "Connection": "keep-alive",
          "Content-Length": "860",
          "Content-Type": "application/json",
          "User-Agent": "python-requests/2.21.0",
       }
  
      @task(1)
      def send_post_request(self):
          response = self.client.post("/api/v2/services", data=Singleton.json_body, headers=NcsoTest.REQ_HEADER)
          print response
  
  
  class NcsoLoad(HttpLocust):
  
      max_wait = 300
      min_wait = 300
      sleep_time = 10
  
      task_set = NcsoTest
  </code></pre>
  
  <p>I am using this command to run locust.
  pipenv run locust -f testsuite/playground/locust_create_ics_host_flow.py --master --no-web --clients=1 --hatch-rate=1 --host=<a href="https://10.247.123.172" rel="nofollow noreferrer">https://10.247.123.172</a> --run-time=1m</p>
  
  <p>I tried multiple approaches but host value is not propagated and picked up in self.client.post.</p>
  
  <p>Can anyone help me with this?</p>