Skip to content

Comments

Wbprice/ndh 812 load tester user migration#383

Merged
wbprice merged 6 commits intomainfrom
wbprice/ndh-812-load-tester-user-migration
Feb 5, 2026
Merged

Wbprice/ndh 812 load tester user migration#383
wbprice merged 6 commits intomainfrom
wbprice/ndh-812-load-tester-user-migration

Conversation

@wbprice
Copy link
Collaborator

@wbprice wbprice commented Feb 4, 2026

module-name: Create load tester user

Jira Ticket # NDH-812

Problem

We want to create a load testing user for automated and ad-hoc manual tests. This user must be registered with Django to accept authenticated requests.

Solution

Adapt earlier work on creating a super user in django to create a regular user (not staff!) for load testing

Result

New user for load testing with limited permissions is created

Test Plan

This works in conjunction with NDH-812 PR in the npd-ops repo. To test locally, set the load test user param:

NPD_LOAD_TESTER_PASSWORD='pbkdf2_sha256$1000000$c363cb9f32102ece1abd4ab15c4312e8$w+uGYI4KnRgwsFC9sA2BlqETdntjQiO/jAtn9+lGbOs='

that hash corresponds to testpassword
so try to login at localhost:8000 (not the admin dashboard) with the creds:

npd+load+tester@cms.hhs.gov
testpassword

@wbprice wbprice force-pushed the wbprice/ndh-812-load-tester-user-migration branch from 493b6d7 to 7e08619 Compare February 4, 2026 21:33
@wbprice wbprice force-pushed the wbprice/ndh-812-load-tester-user-migration branch from 7e08619 to 556f67d Compare February 4, 2026 21:34
@wbprice wbprice requested a review from dmtrscms February 4, 2026 21:44
@wbprice wbprice merged commit 8eca420 into main Feb 5, 2026
12 checks passed
@wbprice wbprice deleted the wbprice/ndh-812-load-tester-user-migration branch February 5, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants