Skip to content

Conversation

@bisgaard-itis
Copy link
Contributor

@bisgaard-itis bisgaard-itis commented May 30, 2025

What do these changes do?

  • Add two tests (scripts) which can be used to load test the metamodeling framework. One script creates a sim4life simulation and the other uses sleepers. These scripts don't use the locust framework. Instead they utilize the map_function endpoint in the api-server to "batch-run" many jobs. I.e. these scripts do not really load test the api-server, but rather the computational backend. This is a relevant case because this is how @JavierGOrdonnez's UI will use the function section of the api-server. I.e. the tests added here simulate a single user using the metamodeling framework.

Related issue/s

How to test

Dev-ops

@bisgaard-itis bisgaard-itis requested a review from wvangeit May 30, 2025 08:47
@codecov
Copy link

codecov bot commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.87%. Comparing base (fefde09) to head (4f81c19).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7768      +/-   ##
==========================================
- Coverage   86.72%   79.87%   -6.85%     
==========================================
  Files        1850     1747     -103     
  Lines       71842    66841    -5001     
  Branches     1215     1215              
==========================================
- Hits        62302    53391    -8911     
- Misses       9199    13109    +3910     
  Partials      341      341              
Flag Coverage Δ *Carryforward flag
integrationtests 64.18% <ø> (+0.01%) ⬆️
unittests 78.90% <ø> (-7.56%) ⬇️ Carriedforward from fefde09

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
api 76.84% <ø> (ø)
pkg_aws_library 93.92% <ø> (ø)
pkg_dask_task_models_library 79.55% <ø> (ø)
pkg_models_library 93.14% <ø> (ø)
pkg_notifications_library 85.26% <ø> (ø)
pkg_postgres_database 88.16% <ø> (ø)
pkg_service_integration 69.92% <ø> (ø)
pkg_service_library 71.84% <ø> (ø)
pkg_settings_library 90.90% <ø> (ø)
pkg_simcore_sdk 85.09% <ø> (-0.06%) ⬇️
agent 96.29% <ø> (ø)
api_server 91.78% <ø> (ø)
autoscaling ∅ <ø> (∅)
catalog 92.25% <ø> (ø)
clusters_keeper 99.13% <ø> (ø)
dask_sidecar 91.67% <ø> (ø)
datcore_adapter 97.94% <ø> (ø)
director 76.73% <ø> (ø)
director_v2 91.07% <ø> (-0.03%) ⬇️
dynamic_scheduler 96.69% <ø> (ø)
dynamic_sidecar 90.08% <ø> (ø)
efs_guardian 89.65% <ø> (ø)
invitations 93.00% <ø> (ø)
payments 92.57% <ø> (ø)
resource_usage_tracker 88.98% <ø> (ø)
storage ∅ <ø> (∅)
webclient ∅ <ø> (∅)
webserver 63.45% <ø> (-20.27%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fefde09...4f81c19. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bisgaard-itis bisgaard-itis self-assigned this May 30, 2025
@bisgaard-itis bisgaard-itis added this to the Bazinga! milestone May 30, 2025
@bisgaard-itis bisgaard-itis marked this pull request as ready for review May 30, 2025 14:52
…osparc-simcore into update-functions-loadtest
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 2, 2025

Copy link
Contributor

@wvangeit wvangeit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

@bisgaard-itis bisgaard-itis merged commit c07a2bf into ITISFoundation:master Jun 2, 2025
93 of 95 checks passed
@bisgaard-itis bisgaard-itis deleted the update-functions-loadtest branch June 2, 2025 12:54
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jun 6, 2025
92 tasks
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Aug 5, 2025
88 tasks
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.

3 participants