title: Error error while modifying scala file Gatling
body: <p>i have a error when i try modifyng scala file.</p>
  
  <p>When i want to insert a new scripts, the original script.It does not appear to me to execute in Gatling.bat or only it executes the previous requests to which I am modifying</p>
  
  <p>Example i need to insert new code in Request12,but  when i try it happens what i mentioned above, only the requests from 0 to 11 are executed or simply my scala file is not displayed to run in Gatling.bat</p>
  
  <p>Has anyone else had this error?</p>
  
  <p>EDIT:</p>
  
  <p>My code: In this file i want to add request 12</p>
  
  <pre><code>  package blablabla
  
   import scala.concurrent.duration._
  
   import io.gatling.core.Predef._
   import io.gatling.http.Predef._
   import io.gatling.jdbc.Predef._
  
   class SearchCustomerClientNumber2 extends Simulation {
  
       val httpProtocol = http
      .baseURL("http://URL")
      .inferHtmlResources()
      .acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
      .acceptEncodingHeader("gzip, deflate")
      .acceptLanguageHeader("es-CL,es;q=0.8,en-US;q=0.5,en;q=0.3")
      .userAgentHeader("Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0")
  
  Variables to read CSV FILE
  val csvFeeder = csv("Users.csv").circular // use a comma separator
  val ic= feed(csvFeeder)
  </code></pre>
  
  <p>//When i put this variables above the request(request 12) only executes the first 11 request and when I put them here it does not read the csv file</p>
  
  <p>Help me!! :c</p>
  
  <pre><code>val headers_0 = Map("Upgrade-Insecure-Requests" -&gt; "1")
  
  val headers_1 = Map("Accept" -&gt; "*/*")
  
  val headers_12 = Map(
      "Content-length" -&gt; "1135",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_13 = Map(
      "Content-length" -&gt; "388",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_17 = Map(
      "Content-length" -&gt; "306",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_19 = Map(
      "Content-length" -&gt; "390",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_21 = Map(
      "Content-length" -&gt; "400",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_23 = Map(
      "Content-length" -&gt; "396",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_29 = Map(
      "Content-length" -&gt; "409",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_30 = Map(
      "Content-length" -&gt; "435",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_32 = Map(
      "Content-length" -&gt; "449",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_34 = Map(
      "Content-length" -&gt; "533",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_35 = Map(
      "Content-length" -&gt; "534",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_42 = Map(
      "Content-length" -&gt; "453",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_44 = Map(
      "Content-length" -&gt; "459",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_45 = Map(
      "Content-length" -&gt; "813",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_46 = Map(
      "Content-length" -&gt; "940",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val headers_54 = Map(
      "Content-length" -&gt; "376",
      "Content-type" -&gt; "text/xml; charset=utf-8",
      "SOAPAction" -&gt; """""""")
  
  val uri1 = "URL/b0001b/"
  
  
  
  
  val scn = scenario("SearchCustomerClientNumber2")
  
  
      .exec(http("request_0")
          .get("/bei010Web/")
          .headers(headers_0)
          .resources(http("request_1")
          .get("/bei010Web/images/logo.jpg")
          .headers(headers_1),
          http("request_2")
          .get("/bei010Web/images/***.jpg")
          .headers(headers_1),
          http("request_3")
          .get("/bei010Web/images/flagES.png")
          .headers(headers_1),
          http("request_4")
          .get("/bei010Web/images/****.jpg")
          .headers(headers_1),
          http("request_5")
          .get("/bei010Web/images/****.jpg")
          .headers(headers_1),
          http("request_6")
          .get("/bei010Web/images/flagUSA.png")
          .headers(headers_1),
          http("request_7")
          .get("/bei010Web/images/*****.jpg")
          .headers(headers_1),
          http("request_8")
          .get("/bei010Web/images/***.jpg")
          .headers(headers_1)))
      .pause(1)
      .exec(http("request_9")
          .get("/bei010Web/bei010/sp_MX/bei10.jsp")
          .headers(headers_0))
      .pause(1)
      .exec(http("request_10")
          .get("/bei010Web/WEBSERVICE?WSDL")
          .resources(http("request_11")
          .get("/bei010Web/WEBSERVICE?WSDL")))
      .pause(4)
  
  
            //before:
  
           .exec(http("request_12")
          .post("/bei010Web/webservicesecurity")
          .headers(headers_12)
          .body(RawFileBody("SearchAccountNumberxxx_0012_request.txt"))
             //This code i want to add:
           // I want:                    
          .exec(http("request_12")
          .post("/bei010Web/WEBSERVICESECURITY")
          .headers(headers_12)
           .body(StringBody("""&lt;SOAP-ENV:Envelope xmlns:SOAP-
         ENV="http://schemas.xmlsoap.org/soap/envelope/" 
        xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
      &lt;SOAP-ENV:Body&gt;
      &lt;tns:authenticateUserxmlns:tns="http://******.com/"&gt;
          &lt;login&gt;${Username}&lt;/login&gt;
           &lt;password&gt;${pass}&lt;/password&gt;
             &lt;program&gt;1&lt;/program&gt;
       &lt;/tns:authenticateUser&gt;
       &lt;/SOAP-ENV:Body&gt;
     &lt;/SOAP-ENV:Envelope&gt;"""))
  
  
  
  
  
  
  
  
          .resources(http("request_13")
          .post("/bei010Web/WEBSERVICE")
          .headers(headers_13)
          .body(RawFileBody("SearchCustomerClientNumber2_0013_request.txt")),
          http("request_14")
          .get("/bei010Web/WEBSERVICE?WSDL"),
          http("request_15")
          .get("/bei010Web/WEBSERVICE?WSDL"),
          http("request_16")
          .get("/bei010Web/DWEBSERVICE?WSDL"),
          http("request_17")
          .post("/bei010Web/WEBSERVICE")
          .headers(headers_17)
          .body(RawFileBody("SearchCustomerClientNumber2_0017_request.txt")),
          http("request_18")
          .get("/bei010Web/WEBSERVICE?WSDL"),
          http("request_19")
          .post("/bei010Web/DelinquentServiceService")
          .headers(headers_19)
          .body(RawFileBody("SearchCustomerClientNumber2_0019_request.txt")),
          http("request_20")
          .get("/bei010Web/WEBSERVICE?WSDL"),
          http("request_21")
          .post("/bei010Web/WEBSERVICE")
          .headers(headers_21)
          .body(RawFileBody("SearchCustomerClientNumber2_0021_request.txt")),
          http("request_22")
          .post("/bei010Web/WEBSERVICE")
          .headers(headers_13)
          .body(RawFileBody("SearchCustomerClientNumber2_0022_request.txt")),
          http("request_23")
          .post("/bei010Web/WEBSERVICE")
          .headers(headers_23)
          .body(RawFileBody("SearchCustomerClientNumber2_0023_request.txt"))))
  
  
  
         This code is in another file:
         .exec(http("request_12")
          .post("/bei010Web/WEBSERVICESECURITY")
          .headers(headers_12)
           .body(StringBody("""&lt;SOAP-ENV:Envelope xmlns:SOAP-
         ENV="http://schemas.xmlsoap.org/soap/envelope/" 
         xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
        &lt;SOAP-ENV:Body&gt;
       &lt;tns:authenticateUserxmlns:tns="http://******.com/"&gt;
        &lt;login&gt;${Username}&lt;/login&gt;
        &lt;password&gt;${pass}&lt;/password&gt;
        &lt;program&gt;1&lt;/program&gt;
       &lt;/tns:authenticateUser&gt;
       &lt;/SOAP-ENV:Body&gt;
       &lt;/SOAP-ENV:Envelope&gt;"""))
  </code></pre>
  
  <p>**I changed some names, but are working,except for what i want to add</p>
  
  <p>Help me please.</p>
  
  <p>Regards</p>