Last active
May 8, 2019 20:53
-
-
Save ppcano/1442dc243321747ee146a6c90859fe89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Proposal to modify the
group
tag syntax.grafana/k6#948