mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 00:39:36 +00:00
34195157ce
Bumps [webpack](https://github.com/webpack/webpack) from 5.89.0 to 5.95.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webpack/webpack/releases">webpack's releases</a>.</em></p> <blockquote> <h2>v5.95.0</h2> <h2>Bug Fixes</h2> <ul> <li>Fixed hanging when attempting to read a symlink-like file that it can't read</li> <li>Handle <code>default</code> for import context element dependency</li> <li>Merge duplicate chunks call after split chunks</li> <li>Generate correctly code for dynamically importing the same file twice and destructuring</li> <li>Use content hash as [base] and [name] for extracted DataURI's</li> <li>Distinguish <code>module</code> and <code>import</code> in <code>module-import</code> for externals <code>import</code>'s</li> <li>[Types] Make <code>EnvironmentPlugin</code> default values types less strict</li> <li>[Types] Typescript 5.6 compatibility</li> </ul> <h2>New Features</h2> <ul> <li>Add new <code>optimization.avoidEntryIife</code> option (<code>true</code> by default for the <code>production</code> mode)</li> <li>Pass output.hash* options to loader context</li> </ul> <h2>Performance</h2> <ul> <li>Avoid unneeded re-visit in build chunk graph</li> </ul> <h2>v5.94.0</h2> <h2>Bug Fixes</h2> <ul> <li>Added runtime condition for harmony reexport checked</li> <li>Handle properly <code>data</code>/<code>http</code>/<code>https</code> protocols in source maps</li> <li>Make <code>bigint</code> optimistic when browserslist not found</li> <li>Move <code>@types/eslint-scope</code> to dev deps</li> <li>Related in asset stats is now always an array when no related found</li> <li>Handle ASI for export declarations</li> <li>Mangle destruction incorrect with export named default properly</li> <li>Fixed unexpected asi generation with sequence expression</li> <li>Fixed a lot of types</li> </ul> <h2>New Features</h2> <ul> <li>Added new external type "module-import"</li> <li>Support <code>webpackIgnore</code> for <code>new URL()</code> construction</li> <li>[CSS] <code>@import</code> pathinfo support</li> </ul> <h2>Security</h2> <ul> <li>Fixed DOM clobbering in auto public path</li> </ul> <h2>v5.93.0</h2> <h2>Bug Fixes</h2> <ul> <li>Generate correct relative path to runtime chunks</li> <li>Makes <code>DefinePlugin</code> quieter under default log level</li> <li>Fixed mangle destructuring default in namespace import</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
---|---|---|
.. | ||
src | ||
.babelrc | ||
.prettierrc | ||
Makefile | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
webpack.config.js |
Load Tests
This package contains code for load testing specific endpoints of ZITADEL using k6.
Prerequisite
Structure
The use cases under tests are defined in src/use_cases
. The implementation of ZITADEL resources and calls are located under src
.
Execution
Env vars
VUS
: Amount of parallel processes execute the test (default is 20)DURATION
: Defines how long the tests are executed (default is200s
)ZITADEL_HOST
: URL of ZITADEL (default ishttp://localhost:8080
)
To setup the tests we use the credentials of console and log in using an admin. The user must be able to create organizations and all resources inside organizations.
ADMIN_LOGIN_NAME
:zitadel-admin@zitadel.localhost
ADMIN_PASSWORD
:Password1!
Test
Before you run the tests you need an initialized user. The tests don't implement the change password screen during login.
make human_password_login
setup: creates human users
test: uses the previously created humans to sign in using the login uimake machine_pat_login
setup: creates machines and a pat for each machine
test: calls user info endpoint with the given patsmake machine_client_credentials_login
setup: creates machines and a client credential secret for each machine
test: calls token endpoint with theclient_credentials
grant type.make user_info
setup: creates human users and signs them in
test: calls user info endpoint using the given humansmake manipulate_user
test: creates a human, updates its profile, locks the user and then deletes itmake introspect
setup: creates projects, one api per project, one key per api and generates the jwt from the given keys
test: calls introspection endpoint using the given JWTsmake add_session
setup: creates human users
test: creates new sessions with user id checkmake machine_jwt_profile_grant
setup: generates private/public key, creates machine users, adds a key
test: creates a token and calls user infomake machine_jwt_profile_grant_single_user
setup: generates private/public key, creates machine user, adds a key
test: creates a token and calls user info in parallel for the same user