Skip to content

Conversation

@Harriethw
Copy link
Contributor

@Harriethw Harriethw commented Dec 10, 2025

Description

Process for load testing:

FUN FACT: the dev environment and preprod share MESH inbox, so if you send stuff to mesh and it isn't acknowledged by preprod then dev will pick it up and process.

Ensure you are monitoring everything:

  • Check out relevant environment on the Portal, e.g. the dashboard for links to logs and CPU - dash-manbrs-dev-notifications in the container app resource group
  • One useful specific log query is checking when a job started and finished:
ContainerAppConsoleLogs_CL
| where ContainerGroupName_s startswith 'manbrs-smm'
| project TimeGenerated, ContainerName_s, Log_s
| where Log_s has "completed" or Log_s has "started"
  • And log into the AVD to allow access to Blog Storage as an easy way to check/debug what's been ingested

Run the command locally:

  • check out this branch
  • set the NUMBER_OF_ROWS or NUMBER_OF_FILES to setup (default 5 of each - was timing out about 200 files with 200 rows each)
  • In your terminal
az login

make dev notifications-load-test
  • observe logs etc as described above
  • Tidy up afterwards by opening a console on the web container app
    and running the delete_all_load_test_data to delete the files created.
  • And delete files created in Blob Storage via the Portal UI. stmanbrs{env}

Next steps

Jira link

Review notes

Review checklist

  • Check database queries are correctly scoped to current_provider

@Harriethw Harriethw force-pushed the DTOSS-11173-load-testing branch from 333dce1 to 6e7ce75 Compare December 11, 2025 10:45
@Harriethw Harriethw force-pushed the DTOSS-11173-load-testing branch 2 times, most recently from 8c07edf to 4a93f9f Compare December 12, 2025 10:32
@github-actions
Copy link

The review app is available at this URL:
https://pr-821.manage-breast-screening.non-live.screening.nhs.uk
You must authenticate with HTTP basic authentication. Ask the team for credentials.

@Harriethw Harriethw force-pushed the DTOSS-11173-load-testing branch from 800adaf to 7fbf536 Compare December 17, 2025 12:17
@Harriethw Harriethw changed the title wip [Do not merge] Load testing Notifications Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant