<commit_before>package com.github.gregwhitaker.asyncshowdown

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import scala.concurrent.duration._
import io.gatling.core.scenario.Simulation

/**
  * Started with a command like:
  * $ cd $GATLING_HOME/bin
  * $ ./gatling.sh -s "asyncshowdown.AsyncShowdownSimulation"
  */
class AsyncShowdownSimulation extends Simulation {

  val rampUpTimeSecs = 60
  val testTimeSecs   = 120
  val noOfUsers      = 3000

  val baseURL      = "http://localhost:8080"
  val baseName     = "rxspringboot"
  val requestName  = baseName + "-request"
  val scenarioName = baseName + "-scenario"
  val URI          = "/hello"
  //val URI          = "/helloblocking"

  val httpProtocol = http.baseURL(baseURL)

  val http_headers = Map(
    "Accept-Encoding" -> "gzip,deflate",
    "Content-Type" -> "text/json;charset=UTF-8",
    "Keep-Alive" -> "115")<commit_msg>Renaming the scenario<commit_after>package com.github.gregwhitaker.asyncshowdown

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import scala.concurrent.duration._
import io.gatling.core.scenario.Simulation

/**
  * Started with a command like:
  * $ cd $GATLING_HOME/bin
  * $ ./gatling.sh -s "asyncshowdown.AsyncShowdownSimulation"
  */
class AsyncShowdownSimulation extends Simulation {

  val rampUpTimeSecs = 60
  val testTimeSecs   = 120
  val noOfUsers      = 3000

  val baseURL      = "http://localhost:8080"
  val baseName     = "asyncshowdown"
  val requestName  = baseName + "-request"
  val scenarioName = baseName + "-scenario"
  val URI          = "/hello"
  //val URI          = "/helloblocking"

  val httpProtocol = http.baseURL(baseURL)

  val http_headers = Map(
    "Accept-Encoding" -> "gzip,deflate",
    "Content-Type" -> "text/json;charset=UTF-8",
    "Keep-Alive" -> "115")
{'fraction_non_alphanumeric': 0.12068019747668678, 'fraction_numerical': 0.018650575973669776, 'mean_word_length': 3.2320185614849186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1365865', 'n_tokens_mistral': 661, 'n_tokens_neox': 617, 'n_words': 131}