Skip to content

feat(loadtest): expand locust coverage to 100% of coverable endpoints#2747

Merged
crivetimihai merged 1 commit intomainfrom
improve-coverage-locust-v2
Feb 7, 2026
Merged

feat(loadtest): expand locust coverage to 100% of coverable endpoints#2747
crivetimihai merged 1 commit intomainfrom
improve-coverage-locust-v2

Conversation

@crivetimihai
Copy link
Copy Markdown
Member

Summary

  • Add 17 new User classes (batches 12-14) to tests/loadtest/locustfile.py, expanding from 66 to 83 User classes (364 tasks)
  • Coverage increases from 64% (244/380) to 98.2% (373/380 endpoints), achieving 100% of all coverable endpoints
  • Remaining 7 uncovered endpoints are intentionally skipped: 5 SSE/streaming (long-lived connections) and 2 OAuth browser flows (require browser redirects)

New User classes by batch

Batch 12 — Entity CRUD extensions:
EntityUpdateExtendedUser, LLMCRUDUser, GatewayCRUDExtendedUser, AuthEmailCRUDUser

Batch 13 — Write operation extensions:
TeamsExtendedWriteUser, RBACExtendedWriteUser, TokensExtendedWriteUser, ReverseProxyExtendedUser

Batch 14 — Admin and misc coverage:
AdminDetailReadExtendedUser, AdminGrpcCRUDUser, AdminHTMXEntityOpsUser, AdminMCPRegistryOpsUser, AdminLLMOpsUser, AdminObservabilityQueriesUser, MiscEndpointsUser, AdminHTMXEntityCRUDUser, AdminUsersOpsUser, AdminTeamsHTMXOpsUser

Test plan

  • Syntax check passes
  • Light load test (10 users, 30s): 0 failures
  • Medium load test (50 users, 30s): 0 failures, 823 requests

Add 17 new User classes (batches 12-14) covering entity updates, LLM
CRUD, gateway CRUD, auth email, teams/RBAC/token write ops, reverse
proxy, admin detail reads, admin gRPC, admin HTMX ops, admin MCP
registry, admin LLM ops, admin observability queries, and misc
endpoints. Coverage goes from 64% (244/380) to 98.2% (373/380), with
the remaining 7 being intentionally skipped SSE/streaming and OAuth
browser flow endpoints.

Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
@crivetimihai crivetimihai added the testing Testing (unit, e2e, manual, automated, etc) label Feb 7, 2026
@crivetimihai crivetimihai added this to the Release 1.0.0-RC1 milestone Feb 7, 2026
@crivetimihai crivetimihai self-assigned this Feb 7, 2026
@crivetimihai crivetimihai merged commit c5a7c17 into main Feb 7, 2026
36 checks passed
@crivetimihai crivetimihai deleted the improve-coverage-locust-v2 branch February 7, 2026 14:49
kcostell06 pushed a commit to kcostell06/mcp-context-forge that referenced this pull request Feb 24, 2026
…IBM#2747)

Add 17 new User classes (batches 12-14) covering entity updates, LLM
CRUD, gateway CRUD, auth email, teams/RBAC/token write ops, reverse
proxy, admin detail reads, admin gRPC, admin HTMX ops, admin MCP
registry, admin LLM ops, admin observability queries, and misc
endpoints. Coverage goes from 64% (244/380) to 98.2% (373/380), with
the remaining 7 being intentionally skipped SSE/streaming and OAuth
browser flow endpoints.

Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Testing (unit, e2e, manual, automated, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant