Skip to content

Commit

Permalink
feat: update gatling 3.10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jigarkhwar committed May 22, 2024
1 parent b1af15d commit 63860b3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ object Dependencies {
)

lazy val scalaMock: Seq[ModuleID] = Seq(
"org.scalamock" %% "scalamock" % "6.0.0" % "test",
"org.scalamock" %% "scalamock" % "5.2.0" % "test",
)

lazy val generex: Seq[ModuleID] = Seq(
Expand Down
2 changes: 2 additions & 0 deletions publish.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ThisBuild / scmInfo := Some(
),
)

ThisBuild / scalaVersion := "2.13.14"

ThisBuild / developers := List(
Developer(
id = "jigarkhwar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public ScenarioBuilder toRandomScenario() {

List<Choice.WithWeight> prepRequests = requests
.stream()
.map(request -> Choice.withWeight(100 * request._1 / intensitySum, request._2))
.map(request -> CoreDsl.percent(100 * request._1 / intensitySum).then(request._2))
.toList();

return scenario(oneProfile.name()).randomSwitch().on(prepRequests);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package org.galaxio.gatling.assertions

import io.gatling.commons.shared.unstable.model.stats.assertion.AssertionPathParts
import io.gatling.commons.stats.assertion.Assertion
import io.gatling.core.Predef._
import pureconfig.module.yaml.YamlConfigSource
import pureconfig.generic.auto._
import io.gatling.core.Predef.configuration
import io.gatling.core.assertion.AssertionPathParts

object AssertionsBuilder {

Expand Down

0 comments on commit 63860b3

Please sign in to comment.