in src/loadgenerator/locustfile.py [0:0]
def view_signup(self):
"""
load the /signup page
fails if not logged on (redirects to /home)
"""
with self.client.get("/signup", catch_response=True) as response:
for r_hist in response.history:
if r_hist.status_code > 200 and r_hist.status_code < 400:
response.failure("Logged on: Got redirect to /home")