Skip to content

Draft PR - #100

Draft
deyankiteworks wants to merge 1 commit into
nextfrom
feat/OCISDEV-1431
Draft

deyankiteworks wants to merge 1 commit into
nextfrom
feat/OCISDEV-1431

Conversation

@deyankiteworks

@deyankiteworks deyankiteworks commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Draft PR

@kobergj kobergj left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Resolved.

@deyankiteworks
deyankiteworks removed the request for review from mklos-kw September 25, 2026 11:54
@deyankiteworks deyankiteworks changed the title [OCSRE-2392] Add load tests for ByCS school provisioning [OCSRE-2392] Add load tests for school provisioning Sep 28, 2026
…40 (new school) and 150 (update school)

Two k6 tests for the oCIS education API (/graph/v1.0/education) that mimic a school provisioning connector.

140 provisioning new school:
- one iteration provisions one whole school: the school, its classes and its users,
  every user is linked to the school first and then to its classes
- teachers are linked as class members or with /classes/{id}/teachers/$ref (TEACHER_LINK),
  staff without a class get a configurable role (STAFF_ROLE)
- the ramping test uses ramping-vus, one vu = one school in flight, and cleans up users and classes by default

150 provisioning update school:
- updates an existing reference school: user attributes, accountEnabled, class names and class memberships,
  optionally bulk membership updates with members@odata.bind (a standalone comparison run)
- the ramping test uses ramping-arrival-rate per update type, with a dropped_iterations threshold
  so a run cannot pass without delivering the target rate
- teardown restores memberships and enables all users again

shared, in src/provisioning:
- every request is tagged with its step and phase, thresholds only count phase:provision
- provisioning_entries counts entries (school, class, user, update, bulk), separate from http requests
- env values are validated, broken values fail the run in setup
- bearer token from PROVISIONING_TOKEN, basic auth with the admin login for local runs

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Deyan Zhekov <deyan.zhekov@kiteworks.com>
@deyankiteworks deyankiteworks self-assigned this Sep 29, 2026
@owncloud owncloud deleted a comment from kobergj Sep 29, 2026
@owncloud owncloud deleted a comment from kobergj Sep 29, 2026
@deyankiteworks
deyankiteworks marked this pull request as draft September 29, 2026 15:36
@deyankiteworks deyankiteworks changed the title [OCSRE-2392] Add load tests for school provisioning Draft PR Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@owncloud owncloud deleted a comment from kobergj Sep 30, 2026
@deyankiteworks
deyankiteworks removed the request for review from kobergj September 30, 2026 14:44

This branch has not been deployed

No deployments
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.

2 participants