Draft PR - #100
Draft
deyankiteworks wants to merge 1 commit into
Draft
Draft PR#100deyankiteworks wants to merge 1 commit into
deyankiteworks wants to merge 1 commit into
Conversation
…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
force-pushed
the
feat/OCISDEV-1431
branch
from
September 28, 2026 14:53
c0ce37d to
bdbd0ba
Compare
deyankiteworks
marked this pull request as draft
September 29, 2026 15:36
This branch has not been deployed
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.
Draft PR