Skip to content

Provides additional modules for xk6.

License

Notifications You must be signed in to change notification settings

zitadel/xk6-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zitadel xk6 modules

Provides helper functions for the Zitadel load tests.

Provided functions

signJWTProfileAssertion

Signs a JWT token request using OIDC and returns it as string.

The function can be used as follows:

// @ts-ignore Import module
import zitadel from 'k6/x/zitadel';

const assertion = zitadel.signJWTProfileAssertion(
  this.keyPayload.userId,
  this.keyPayload.keyId,
  {
    audience: [Config.host],
    expiration: this.keyPayload.expiration,
    key: privateKey
});

About

Provides additional modules for xk6.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages