-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for negative date ranges in feeders
Refactored `RandomDateRangeFeeder` to handle negative offset dates, added `negativeDateRange` feeder example, and updated related utilities and tests. This improves flexibility in generating dynamic date ranges.
- Loading branch information
1 parent
91048e6
commit 7d2e310
Showing
6 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
example/src/test/scala/org/galaxio/performance/example/GatlingRunner.scala
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package org.galaxio.performance.example | ||
|
||
import io.gatling.app.Gatling | ||
import io.gatling.shared.cli.GatlingCliOptions | ||
|
||
object GatlingRunner { | ||
|
||
def main(args: Array[String]): Unit = { | ||
|
||
// this is where you specify the class you want to run | ||
val simulationClass = classOf[SampleSimulation].getName | ||
|
||
Gatling.main( | ||
args ++ | ||
Array( | ||
GatlingCliOptions.Simulation.shortOption, | ||
simulationClass, | ||
GatlingCliOptions.ResultsFolder.shortOption, | ||
"results", | ||
GatlingCliOptions.Launcher.shortOption, | ||
"sbt", | ||
), | ||
) | ||
} | ||
|
||
} |
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
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
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
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
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