Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val scn =
- feed(Common.feeder)
- .exec(
- http("GetDecisionTree")
- .exec(
- http("CalculatePriceFromDefaultModel") )
- .pause(2 seconds)
- .exec(
- (s: Session) => {
- val config = parse((s("result").as[String]))
- config.model.configuration.name = Utils.getNewUuid
- s.set("calculationResult", render(config))
- })
- .exec( http("SaveConfiguration"))
- .pause(1 seconds)
- .exec( http("Add Group"))
- .exec(http("Add config to group"))
- .pause(2)
- .exec(http("DeleteConfiguration"))
- .pause(1)
- .exec(http("Delete Group"))
- val sr=scenario("test").during(60 seconds) { scn }
- setUp(sr.inject( atOnceUsers(3)).protocols(Common.decTreeConf))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement