title: How can I perform Load testing with Locust using PyTest?
body: <p>What do you think is it possible to perform Load testing using PyTest?
  For example:</p>
  
  <pre><code>import locust
  
  class UsersTest(locust.TaskSet):
  
      @locust.seq_task(1)
      def api_get_task(self):
          self.client.get("/api", name="GET /api") # Самое действие
  
      @locust.seq_task(2)
      def api_post_task(self):
          payload = {"username": "user1", "password": "123456"}
          self.client.post("/api", data=payload, name="POST /api")
  
  class SituationTest(locust.HttpLocust):
  
      task_set = UsersTest 
      min_wait = 1000 
      max_wait = 2000
      host = "http://127.0.0.1:3000"
  </code></pre>
  
  <p>So here is example of 2 simple tasks for 2 urls. Into class UsersTest I have my test cases itself. Into class SituationTest I have my params.</p>
  
  <p>So question is how to integrate this 2 classes into pytest fixtures decorators and split it between test_file.py and conftest.py?</p>