feat(performance): add concurrent user load tests for each product#118
Draft
feat(performance): add concurrent user load tests for each product#118
Conversation
Co-authored-by: statik <983+statik@users.noreply.github.com> Agent-Logs-Url: https://github.com/posit-dev/vip/sessions/b839450c-e3ea-4330-bf4b-e1b17f7c7de1
Copilot
AI
changed the title
[WIP] Design load tests plan and gather requirements
feat(performance): add concurrent user load tests for each product
Mar 26, 2026
Collaborator
|
@copilot run these for 10, 20, 50, 100 ussrs |
…sers Co-authored-by: statik <983+statik@users.noreply.github.com> Agent-Logs-Url: https://github.com/posit-dev/vip/sessions/20749263-1677-4e63-bba6-9bfb32cb29ef
Contributor
Author
Done in a9bae63. Converted each scenario to a |
|
Preview Links
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #117 requested load tests focused on concurrent users (not large sessions). The existing
test_concurrencyscenarios only hit anonymous health-check endpoints — these new tests simulate authenticated users making real API calls simultaneously.New:
test_loadscenariosThree
Scenario Outlinedefinitions undersrc/vip_tests/performance/, one per product, each running at 10, 20, 50, and 100 concurrent users (12 test cases total):GET /__api__/v1/contentGET /api/server/settingsGET /__api__/reposEach scenario asserts:
performance.p95_response_timeThe user count is passed directly from the
Examplestable into eachWhenstep, so test IDs are clearly labeled (e.g.test_connect_handles_users_concurrent_authenticated_users[100]).Auto-skips per product when not configured, consistent with the rest of the performance suite.
Original prompt
⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.