title: how to pass custom parameters to a locust test class?
body: <p>I'm currently passing custom parameters to my load test using environment variables.  For example, my test class looks like this:</p>
  <pre class="lang-python prettyprint-override"><code>from locust import HttpLocust, TaskSet, task
  import os
  
  class UserBehavior(TaskSet):
  
      @task(1)
      def login(self):
          test_dir = os.environ['BASE_DIR']
          auth=tuple(open(test_dir + '/PASSWORD').read().rstrip().split(':')) 
          self.client.request(
             'GET',
             '/myendpoint',
             auth=auth
          )   
  
  class WebsiteUser(HttpLocust):
      task_set = UserBehavior
  </code></pre>
  <p>Then I'm running my test with:</p>
  <pre><code>locust -H https://myserver --no-web --clients=500 --hatch-rate=500 --num-request=15000 --print-stats --only-summary
  </code></pre>
  <p>Is there a more <code>locust</code> way that I can pass custom parameters to the <code>locust</code> command line application?</p>