Skip to content

Instantly share code, notes, and snippets.

@ppcano
Last active May 8, 2019 20:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ppcano/1442dc243321747ee146a6c90859fe89 to your computer and use it in GitHub Desktop.
Save ppcano/1442dc243321747ee146a6c90859fe89 to your computer and use it in GitHub Desktop.
import {sleep} from "k6";
import mainPageUserFlow from "../cases/main-page";
import billingUserFlow from "../cases/billing";
export let options = {
thresholds: {
"group_duration{group:::mainPageGroup}": ["p(99)<300"],
"group_duration{group:::billingGroup}": ["p(99)<300"]
}
};
export default function() {
group("mainPageGroup", function() {
mainPageUserFlow();
});
group("billingGroup", function() {
billingUserFlow();
});
sleep(2);
}
@ppcano
Copy link
Author

ppcano commented Mar 13, 2019

Proposal to modify the group tag syntax.

grafana/k6#948

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment