Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>k6 snippetsNew to Visual Studio Code? Get it now.
k6 snippets

k6 snippets

mJacobson

|
8,638 installs
| (1) | Free
some snippets for working with k6
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

k6 snippets

This extension provides you with some code snippets that are useful when developing performance tests with k6.

Supported Languages

  • JavaScript (.js)

Snippets

prefix Purpose
def boiler plate for file that contains default function
che check statement
opt options declaration
sle sleep statement
mod module declaration
gro group declaration
get http.get
post http.post
put http.put
del http.del
head headers declaration
notes some comments on how to run
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft