I recently upgraded to Gatling 3.0. However they have changed how SSL Context are created for new benchmarks. Has anyone successfully converted from using feed, to the new way of handling this. Below is a sample piece of code of how I was previously doing things:
scenario(scenarioName+ ": " + baseUrl + path)
.feed(sslConfig)
.forever() {
exec(http(requestName).post(path)
.headers(Map(HeaderConstants.CONTENT_TYPE -> HeaderConstants.JSON_HEADER))
.body(StringBody(session => fetchJson(jsonFile)))
.check(status.is(200)))
All help would be greatly appreciated.
Aucun commentaire:
Enregistrer un commentaire