Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>k6 Script GeneratorNew to Visual Studio Code? Get it now.
k6 Script Generator

k6 Script Generator

ndrcodes

|
92 installs
| (0) | Free
Generate k6 test script from simple UI view
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

k6-script-generator README

k6 Script Generator allow user to input the details of requests and endpoint that would like to converted into k6 JS Script. User only needs to define the hostname, endpoint, body and header request, including the configuration of the k6 options.

Then by single click, the k6 test script will be generated!

Features

  1. User input single request details to convert to k6 test script
  2. User input multiple requests details to conver to k6 test script and allow run in parallel or batch mode

Usage

Usage

Once the extension installed, you will be able to see this command in the command section.

>k6 Script Generator

The command will trigger new tab in VSCode to open the HTML viewer.

Known Issues

The executor Ramping VUs is not enabled at this moment due to issues, will immediately enabled on next release.

Release Notes

1.0.0

  • [feat] Support GET, POST, PUT, PATCH and DELETE Requests
  • [feat] Support using k6 Executor (Ramping VUs disabled due to issues)
  • [feat] Add validation for value of VUs, Duration, Rate, and etc

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft