title: Gatling Get web service
body: <p>I have tried to create a simple Gatling Script mentioned below,</p>
  
  <p>package computerdatabase.advanced </p>
  
  <pre><code>import io.gatling.core.Predef._
  import io.gatling.http.Predef._
  import io.gatling.jdbc.Predef._
  import scala.util.matching.Regex
  import scala.concurrent.duration._
  
  
  
  class getSampleTest extends Simulation{
  
  val httpProtocol = http
  .baseURL("https://xyz.com")
  .header("Content-Type","application/json")
  .header("Accept"," application/json ")
  .header("Accept-Charset","utf-8n")
  .acceptLanguageHeader("en-us","en;q=0.5")
  .acceptEncodingHeader("gzip", "deflate")
  .connection("keep-alive")
  
  
  val scn = scenario("XYZ")
  .group("XYZ Group") {
  exec(http("XYZ-PAge").get("/profile/services").check(status.is(200)))
  }
  setUp(scn.inject(
  rampUsersPerSec(1) to(10) during(5), 
  constantUsersPerSec(10) during(5)
  ).protocols(httpProtocol))
  
  }
  </code></pre>
  
  <p>but i am getting an error saying that -->
  value header is not a member of io.gatling.http.config.httpProtocolBuilder
  may be a semicolon is missing before'value header'
  .header("Content-Type","application/json")</p>