<commit_before>package basic

import com.excilys.ebi.gatling.core.Predef._
import com.excilys.ebi.gatling.http.Predef._
import com.excilys.ebi.gatling.jdbc.Predef._
import com.excilys.ebi.gatling.http.Headers.Names._
import akka.util.duration._
import bootstrap._

class BasicExampleSimulation extends Simulation {

	def apply = {

		val httpConf = httpConfig
				.baseURL("http://excilys-bank-web.cloudfoundry.com")
				.acceptCharsetHeader("ISO-8859-1,utf-8;q=0.7,*;q=0.7")
				.acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
				.acceptEncodingHeader("gzip, deflate")
				.acceptLanguageHeader("fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3")
				.hostHeader("excilys-bank-web.cloudfoundry.com")
				.disableFollowRedirect

		val headers_1 = Map(
			"Keep-Alive" -> "115")

		val headers_3 = Map(
			"Keep-Alive" -> "115",
			"Content-Type" -> "application/x-www-form-urlencoded")

		val headers_6 = Map(
			"Accept" -> "application/json, text/javascript, */*; q=0.01",
			"Keep-Alive" -> "115",
			"X-Requested-With" -> "XMLHttpRequest")

		val scn = scenario("Scenario name")<commit_msg>Removed hostHeader from example simulation<commit_after>package basic

import com.excilys.ebi.gatling.core.Predef._
import com.excilys.ebi.gatling.http.Predef._
import com.excilys.ebi.gatling.jdbc.Predef._
import com.excilys.ebi.gatling.http.Headers.Names._
import akka.util.duration._
import bootstrap._

class BasicExampleSimulation extends Simulation {

	def apply = {

		val httpConf = httpConfig
				.baseURL("http://excilys-bank-web.cloudfoundry.com")
				.acceptCharsetHeader("ISO-8859-1,utf-8;q=0.7,*;q=0.7")
				.acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
				.acceptEncodingHeader("gzip, deflate")
				.acceptLanguageHeader("fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3")
				.disableFollowRedirect

		val headers_1 = Map(
			"Keep-Alive" -> "115")

		val headers_3 = Map(
			"Keep-Alive" -> "115",
			"Content-Type" -> "application/x-www-form-urlencoded")

		val headers_6 = Map(
			"Accept" -> "application/json, text/javascript, */*; q=0.01",
			"Keep-Alive" -> "115",
			"X-Requested-With" -> "XMLHttpRequest")

		val scn = scenario("Scenario name")
{'fraction_non_alphanumeric': 0.17180417044424298, 'fraction_numerical': 0.03173164097914778, 'mean_word_length': 4.096997690531178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '4050575', 'n_tokens_mistral': 952, 'n_tokens_neox': 840, 'n_words': 118}