Bug 54547 - ID Broker: create performance tests
Summary: ID Broker: create performance tests
Status: NEW
Alias: None
Product: UCS@school
Classification: Unclassified
Component: ID Broker
Version: unspecified
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Daniel Tröder
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-14 10:01 CET by Daniel Tröder
Modified: 2022-03-25 12:32 CET (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2022-03-14 10:01:02 CET
Create and package performance tests using Locust.

The Locust scripts must be executable directly from the developers git repository and from a UCS system (installed via apt).

Use of a virtual env in both UCS and dev machine is OK.
Comment 1 Daniel Tröder univentionstaff 2022-03-25 12:32:30 CET
Lots of commits from Felix, Tobias, Fabian and me:

[main] e97e709 Bug #54547: performance tests for the Provisioning API: schools and school classes
[main] f70ea75 Bug #54547: package performance tests
[main] 44c3e2c Bug #54547: add 'ucsschool_id_connector' to known_first_party imports
[main] 01e9e58 Bug #54547: temporary development tools
[main] a21b96e Bug #54547: convert JSON data to SQLite DB and access it
[main] 4c913fc Bug #54547: prepare ldap utils
[main] 468b1bd Bug #54547: call prepare_ldap and assert envs are set
[main] c445c40 Bug #54547: adapt envs
[main] e2378c6 Bug #54547: changelog
[main] b7b7ce2 Bug #54547: copyright + set flags
[main] c53f3d4 Bug #54547: tar structure + school groups
[main] 97f892f Bug #54547: improve readme
[main] fff41ff Bug #54547: ldif import
[main] 1876e28 !fixup Bug #54547: ldif import
[main] bf64cc3 fixup! Bug #54547: ldif import
[main] 42c1324 Bug #54547: use SQlite database, add user performance tests
[main] febe548 Bug #54547: ldif import
[main] d961546 Bug #54547: ou-admins group in readme
[main] e62d402 Bug #54547: use Python3, cleanup
[main] 9bef9bc Bug #54547: fix Python 3 str/bytes conversion
[main] 7c8aa58 Bug #54547: make prepare_ldap/* Python2 compatible
[main] 8398e41 Bug #54547: ignore ucslint, scripts are py2/3 compatible
[main] b74d2b7 Bug #54547: add ucs-test package for performance tests
[main] 1c906d1 Bug #54547: performance tests
[main] 46b4ac5 !fixup Bug #54547: performance tests
[main] 0e056b1 Bug #54547: added prepare/cleanup env
[main] 8629b26 Bug #54547: performance tests
[main] f50d7a3 Bug #54547: add ucs-tests for all Provisioning API calls, prevent use of modified OUs, Locust configurable through environment variables

id-broker-plugin (0.0.71)

At this point
* test data for 600.000 users in 800 schools is created and installed,
* all calls to the Provisioning API are covered with performance tests and
* are started through a ucs-test package (ucs-test-id-broker-performance).