Skip to content

Commit

Permalink
enabling k6 cloud results
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendesce committed Apr 21, 2024
1 parent c61f0a2 commit 0880116
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ public ObjectMeta createMeta(Scenario scenario, Workload workload) {
}

public List<String> createCommand(Scenario scenario, ScenarioWorkload scenarioWorkload, Workload workload) {
// TODO: add support for cloud and local outputs
return Arrays.asList(
"k6", "run", "/scripts/k6.js",
// "--out", String.format("json=/results/%s.json", scenario.getMetadata().getName()),
"--out", "cloud",
"--token", System.getenv("K6_CLOUD_TOKEN"),
"--vus", String.valueOf(scenarioWorkload.getUsers()),
"--tag", "workloadName=" + workload.getMetadata().getName(),
"--duration", workload.getSpec().getDuration() + "s"
Expand Down

0 comments on commit 0880116

Please sign in to comment.