How to use rendezVous() in gatling.

I am newer to gatling, who tell me how to use rendezVous(). I add rendezVous() to the following script, error pops up when running the following script.
If I remove rendezVous(), scripts work well.

import scala.concurrent.duration._
import scala.concurrent.duration.Duration

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._

class ContactQuickSearchAPI1User extends Simulation {

val httpProtocol = http
.baseURL(“https://portal-qa1.everbridge.net”)
.inferHtmlResources()
.acceptHeader(""“application/json, text/javascript, /; q=0.01"”")
.acceptEncodingHeader(""“gzip,deflate,sdch”"")
.acceptLanguageHeader(""“en-US,en;q=0.8"”")
.connection(""“keep-alive”"")
.contentTypeHeader(""“application/x-www-form-urlencoded; charset=UTF-8"”")
.userAgentHeader(""“Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"”")
.disableCaching

val headers_0 = Map(
“”“Accept”"" → “”“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8"”",
“”“Cache-Control”"" → “”“max-age=0"”")

val headers_1 = Map(
“”“Accept”"" → “”“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8"”",
“”“Cache-Control”"" → “”“max-age=0"”",
“”“Content-Type”"" → “”“application/x-www-form-urlencoded”"",
“”“Origin”"" → “”“https://portal-qa1.everbridge.net”"")

val headers_2 = Map(
“”“Cache-Control”"" → “”“max-age=0"”",
“”“X-Requested-With”"" → “”“XMLHttpRequest”"")

val headers_3 = Map(
“”“Accept”"" → “”“text/html, /; q=0.01"”",
“”“Cache-Control”"" → “”“max-age=0"”",
“”“X-Requested-With”"" → “”“XMLHttpRequest”"")

val headers_4 = Map(
“”“Accept”"" → “”“text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, /; q=0.01"”",
“”“X-Requested-With”"" → “”“XMLHttpRequest”"")

val headers_5 = Map(
“”“Origin”"" → “”“https://portal-qa1.everbridge.net”"",
“”“X-Requested-With”"" → “”“XMLHttpRequest”"")

val headers_6 = Map(""“Accept”"" → “”“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8"”")

val uri1 = “”“https://portal-qa1.everbridge.net:443"”"
val contacts = csv(“contacts.csv”).circular
val users = csv(“userinfo.csv”).circular

// val scn = scenario(“ContactQuickSearchAPI”)
object Login {
val login = group(“login”) {
exec(http(“userlogin0”)
.get("""/login""")
.headers(headers_0))
.pause(3)
.feed(users)
.rendezVous(5)
.exec(http(“userlogin1”)
.post("""/check""")
.headers(headers_1)
.formParam(""“nc4Sourse”"", “”"""")
.formParam(""“nc4"”", “”"""")
.formParam(""“username”"", “${user}”)
.formParam(""“password”"", “${password}”)
.formParam(""“input1"”", “”“English (United States)”"")
.resources(http(“request_2”)
.get(uri1 + “”"/information/features?=1408502235440""")
.headers(headers_2),
http(“toaccountuserlist”)
.get(uri1 + “”"/users/listPage?
=1408502235758""")
.headers(headers_3),
http(“request_4”)
.get(uri1 + “”"/statics/javascripts/plugin/jquery-jqgrid/js/grid.base.js?version=V3.1.1-2014-08-18%2021:59:32""")
.headers(headers_4),
http(“request_5”)
.post(uri1 + “”"/users""")
.headers(headers_5)
.formParam("""_search""", “”“false”"")
.formParam(""“nd”"", “”“1408502237263"”")
.formParam(""“size”"", “”“25"”")
.formParam(""“page”"", “”“1"”")
.formParam(""“sidx”"", “”“lastname”"")
.formParam(""“sord”"", “”“asc”""))
.check(regex("${user}"), status.is(200)))
.pause(3)
}.exitHereIfFailed
}

object Logout {
val logout = group(“Logout”) {
exec(http(“logout”)
.get("""/logout""")
.headers(headers_6)
.check(status.is(200), regex(“SIGN IN”)))
}
}

val scn =
scenario(“userlogon”)
.repeat(2) {
exec(Login.login, Logout.logout)
}
setUp(scn.inject(atOnceUsers(5)).protocols(httpProtocol))

}

Hi Tracy,

Sorry it took so long, sometimes the most stupid mistakes are the hardest to spot :frowning:
https://github.com/gatling/gatling/commit/da692b85bdbc4254e001a1c38a7d15dbb1fa4963

Anyway, I fixed it, thanks for reporting!
You can use a snapshot from Sonatype until we release RC3.
https://oss.sonatype.org/content/repositories/snapshots/io/gatling/highcharts/gatling-charts-highcharts/2.0.0-SNAPSHOT/

Regards,

Stéphane

Thank you Stéphane, waiting for the release RC3.