Gatling Automatically Shuts Down

Hey all,

So I have a test I am trying to run through Gatling. I start up the Gatling program, and it begins just fine. It brings me to my list of simulations. I put in the number I want, [Enter] [Enter] for name and description, and it starts processing. Text flies up in the prompt, and then it closes out. Anyone have any idea what is the cause of this? Find my Gatling code below.

package computerdatabase

import io.gatling.core.Predef._
import io.gatling.core.feeder._
import io.gatling.core.session._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._
import io.gatling.http.response.ResponseWrapper
import io.gatling.http.response.StringResponseBody
import scala.concurrent.duration._
import scala.util.parsing.json._
import scala.util.Random

class testName extends Simulation {

object CreateObject{

val createObject = exec(http(“Create_Object”)
“item1”:“Item Name”,
0;0;Some Name;;;0;Arial;10;black;;;;;1;;”,
Some Name;;;0;Arial;10;black;;;;;1;;”,
"1459276175745;39.54248;19.9494948;16.3399;2.52525;2;0;Some Name;;;0;Arial;18;black;;;;;1;;",
"1459276190127;14.3791;26.0101;43.95425;4.419192;3;0;Some Name;;;0;Arial;10;black;;FullName;Full Name;;0;;",
"1459276214099;14.37908;32.44949;3.59477;2.52525;4;0;Some Name;;;0;Arial;10;black;;CheckBox1;0;0;0;True;False",
"1459276238369;14.54255;36.868687;2.94118;2.14646;5;0;Some Name;;;0;Arial;10;black;;RadioBtn1;0;0;0;Yes;",
"1459276256877;20.75163;36.9949;2.94118;2.14646;5;0;Some Name;;;0;Arial;10;black;;RadioBtn1;0;0;0;No;"],
“files”:[“File Name”],
case response if response.isReceived =>
new ResponseWrapper(response) {
val stripped = response.body.string
println(“stripped = " + stripped)
override val body = new StringResponseBody(stripped, response.charset)
.extraInfoExtractor(ExtraInfo => {
println("httpCode: " + ExtraInfo.response.statusCode + ", Response: " + ExtraInfo.response.body)
List(ExtraInfo.response.statusCode, ExtraInfo.response.body.string)}))


val t_iterations = Integer.getInteger(“iterations”, 1).toInt
val t_concurrency = Integer.getInteger(“concurrency”, 1).toInt
val t_rampUp = Integer.getInteger(“ramp-up”, 10).toInt

val httpConf = http
.headers(Map(“Content-Type” → “application/json,text/html,application/xhtml+xml,application/xml”, “charset” → “UTF-8”))
.acceptEncodingHeader(“gzip, deflate”)
.userAgentHeader(“Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0”)

val scn = scenario(“Test 1”)

setUp(scn.inject(rampUsers(t_concurrency) over (t_rampUp)))


Thanks ahead of time for all of your help.


Never mind guys. I figured it out. If anyone else runs into this issue, for me, when I downloaded the new version, I didn’t move my feeder file over to the new set of files. Once I had my feeder file in place, I had no problems running the test.

Thanks for anyone that was working on trying to help me.