I am running some tests as a series of ChainBuilder objects like this:
`
class mytests extends Simulation {
val userinfo = ssv(common.token_file).queue
val scenario1 = scenario(sampletest").feed(userinfo).repeat(1) {
exec(OpenMainPage.openMainPage)
.exec(OpenCreationDialog.openCreationDialog)
.exec(CreateItem.createItem)
…
.exec(DeleteItem.deleteItem)
}
setUp(scenario1.inject(atOnceUsers(1))).protocols(httpConf)
}
`
The ChainBuilder objects themselves look something like this:
`
object CreateItem extends BaseTestCase {
val createItem = group(“Create Item”) {
repeat(timesToRepeat, “iter”) {
exec(http(“Create Item Request”)
.post(“http://myurl/…”)
.formParam(“model”, BigModel) // Big model has ~12,000 characters
.check(status.is(200))
)
.exec(http(“Create Item Request2”)
.get(“http://myURL/…”)
.check(status.is(200))
)
.rendezVous(userCount)
}
}
}
`
The Gatling logs displayed as the test is running show the results I expect, but the simulation log has a problem which appears to be affecting the stats.js file. The “BigModel” above is truncated in the simulation log, and the next request in the log does not start on a new line, but is tacked on to the previous request instead. This results in that second request being absent from the stats.
Is there a way around this?
Thanks,
Paul