@kurlo/cli 2.5.1 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +17 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @kurlo/cli
2
2
 
3
- The command line of [Kurlo](https://kurlo.dev), a free, open-source desktop API client. It runs the requests and test scripts of a Kurlo workspace, and serves a workspace to AI agents as an MCP server. You don't need the desktop app installed to use it.
3
+ The command line of [Kurlo](https://kurlo.dev), a free, open-source desktop API client. It runs the requests, test scripts and k6 load tests of a Kurlo workspace, and serves a workspace to AI agents as an MCP server. You don't need the desktop app installed to use it.
4
4
 
5
5
  ```bash
6
6
  npm install -g @kurlo/cli
@@ -70,10 +70,26 @@ npx -y @kurlo/cli run ./api --env CI --reporters cli,junit
70
70
 
71
71
  The run exits non-zero when a request fails or a test does not pass.
72
72
 
73
+ ## Load tests with k6
74
+
75
+ List the load tests saved in your collections, export a script without installing k6, or run the test with your installed k6:
76
+
77
+ ```bash
78
+ kurlo load list --workspace ./api
79
+ kurlo load export "API smoke" --workspace ./api -o smoke.k6.js
80
+ kurlo load export "API smoke" --workspace ./api --dir ./k6-export
81
+ kurlo load run "API smoke" --workspace ./api --env CI --env-file ./ci.env --json summary.json --report report.html
82
+ ```
83
+
84
+ Use `--collection NAME` to narrow the selection, or select a test by its ID or workspace YAML path. `--dir` creates a new directory and refuses to replace an existing one. The test's saved environment is used unless you pass `--env`. Export keeps secret values external by default; `run` supplies them through k6's process environment. Use `--k6 PATH` if k6 is not on your PATH. Request scripts are not translated; export and run print warnings for unsupported parts.
85
+
86
+ Exit codes: `0` passed, `99` thresholds failed, `1` workspace, export or runtime error, `2` invalid command usage, `130` interrupted. Ctrl+C asks k6 to stop and saves the requested summary if k6 produced it. The HTML report needs a run long enough for k6's dashboard to collect samples.
87
+
73
88
  ## Docs
74
89
 
75
90
  - [MCP server](https://kurlo.dev/docs/guides/mcp-server/)
76
91
  - [CLI runner](https://kurlo.dev/docs/guides/cli-runner/)
92
+ - [Load testing with k6](https://kurlo.dev/docs/guides/load-testing/)
77
93
  - [Git-backed workspaces](https://kurlo.dev/docs/guides/git-workspaces/)
78
94
 
79
95
  Prebuilt binaries are published for macOS, Linux and Windows on x64 and arm64. MIT licensed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kurlo/cli",
3
- "version": "2.5.1",
3
+ "version": "2.6.1",
4
4
  "mcpName": "dev.kurlo/kurlo",
5
5
  "description": "Kurlo's command line: run API collections in CI and serve them to AI agents over MCP.",
6
6
  "keywords": [
@@ -36,11 +36,11 @@
36
36
  "access": "public"
37
37
  },
38
38
  "optionalDependencies": {
39
- "@kurlo/darwin-arm64": "2.5.1",
40
- "@kurlo/darwin-x64": "2.5.1",
41
- "@kurlo/linux-arm64": "2.5.1",
42
- "@kurlo/linux-x64": "2.5.1",
43
- "@kurlo/win32-arm64": "2.5.1",
44
- "@kurlo/win32-x64": "2.5.1"
39
+ "@kurlo/darwin-arm64": "2.6.1",
40
+ "@kurlo/darwin-x64": "2.6.1",
41
+ "@kurlo/linux-arm64": "2.6.1",
42
+ "@kurlo/linux-x64": "2.6.1",
43
+ "@kurlo/win32-arm64": "2.6.1",
44
+ "@kurlo/win32-x64": "2.6.1"
45
45
  }
46
46
  }