Skip to content

Define API schema in OpenAPI format, write scenario using models generated from OpenAPI schema, and run load testing using K6

License

Notifications You must be signed in to change notification settings

hkford/k6-openapi-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k6-openapi-typescript

Define your API schema in OpenAPI format, write scenarios using models generated from the OpenAPI schema, and conduct load testing with K6.

Usage

API Schema

Create your API schema in the OpenAPI format and save it as schema.yaml.

Then run npm run schema to generate TypeScript code.

Scenarios

Compose your test scenarios in the src/tests directory. Vite will build files in that location.

Run Load Test

Execute npm run test, and K6 will generate a load against the specified URL.

About

Define API schema in OpenAPI format, write scenario using models generated from OpenAPI schema, and run load testing using K6

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published