Skip to content

Instantly share code, notes, and snippets.

Ioannis Mavroukakis imavroukakis

View GitHub Profile
View LoadSimulation.scala
package dev.to.gatling
import com.typesafe.scalalogging.StrictLogging
import io.gatling.core.Predef._
import io.gatling.core.scenario.Simulation
import io.gatling.http.Predef._
import scala.concurrent.duration._
import scala.language.postfixOps
import scala.util.{Failure, Success, Try}
View Jenkinsfile
def gitUrl = 'https://github.com/your_repo/gatling-scale-out'
def gitCredentials = 'Github'
def testGroups = [:]
def numberOfTestNodes = 5
def splitTestsAbove = 50.0
def jdkTool = 'openjdk-11'
def sbtTool = '1.3.8'
pipeline {
agent any
View GatlingRunner.scala
package dev.to.gatling
import java.text.SimpleDateFormat
import java.util.Calendar
import io.gatling.app.Gatling
import io.gatling.core.config.GatlingPropertiesBuilder
import org.rogach.scallop.{ScallopConf, ScallopOption}
class Conf(arguments: Seq[String]) extends ScallopConf(arguments) {
View build.sbt
enablePlugins(PackPlugin)
organization := "dev.to"
name := "gatling-scale-out"
version := "1.0"
scalaVersion := "2.12.10"
val gatlingVersion = "3.3.1"
View GatlingRunner.scala
package dev.to.gatling
import java.text.SimpleDateFormat
import java.util.Calendar
import io.gatling.app.Gatling
import io.gatling.core.config.GatlingPropertiesBuilder
import org.rogach.scallop.{ScallopConf, ScallopOption}
class Conf(arguments: Seq[String]) extends ScallopConf(arguments) {
View keybase.md

Keybase proof

I hereby claim:

  • I am imavroukakis on github.
  • I am imavroukakis (https://keybase.io/imavroukakis) on keybase.
  • I have a public key whose fingerprint is E067 5E53 B910 F453 2B8F A779 4A05 0277 14CC 9ED5

To claim this, I am signing this object:

You can’t perform that action at this time.