department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 204 forks source link

Refactor "internal-auth" Load Test for Locust 1.x #18014

Open pjhill opened 3 years ago

pjhill commented 3 years ago

Tasks

rjohnson2011 commented 3 years ago

According to Readme mocks are not configured to work with staging environment.

### Problems with the Test
Unfortunately I was unable to have mocks work properly with the staging environment, so was forced to test against the dev environments.

and not sure what these variables are supposed to be:

apiKey = "" # "Add apiKey"

def get_token(i):
    return check_output([
        'token_generator',
        '--client-id', '', # Add application client_id
        '--client-secret', '',  # Add application client_secret
        '--port', '8080',
        '--user-email', user_template.format(1 + i),
        '--user-password', 'Password1234!',
    ]).strip()
rjohnson2011 commented 3 years ago

Blocked by improper redirect URI in token_generator: The redirect URI specified by the application does not match any of the registered redirect URIs. Erroneous redirect URI.

JoeTice commented 3 years ago

Removing this ticket from Upgrade Locust to 1.4.1 Epic (17650)