Skip to content

Commit

Permalink
Merge pull request #1633 from atlassian/hotfix-locust-decode
Browse files Browse the repository at this point in the history
Hoffix locust Jira login
  • Loading branch information
SergeyMoroz0703 authored Dec 12, 2024
2 parents b22fec2 + 31a597f commit 8b48258
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/locustio/jira/http_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def login_and_view_dashboard(locust):

# Check if 2sv login form
r = locust.get('/login.jsp', catch_response=True)
if 'login-form-remember-me' in r.content:
content = r.content.decode('utf-8')
if 'login-form-remember-me' in content:
legacy_form = True


Expand Down

0 comments on commit 8b48258

Please sign in to comment.