7616 correct body params filename (#7635)

* correct body params file name

close #7616

* update gradle gatling plugin
This commit is contained in:
Frederik Hahne 2018-02-12 06:44:35 +01:00 committed by William Cheng
parent 803cafb995
commit 86697fedb2
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ public class ScalaGatlingCodegen extends AbstractScalaCodegen implements Codegen
operation.setVendorExtension("x-gatling-body-feeder", operation.getOperationId() + "BodyFeeder"); operation.setVendorExtension("x-gatling-body-feeder", operation.getOperationId() + "BodyFeeder");
operation.setVendorExtension("x-gatling-body-feeder-params", StringUtils.join(sessionBodyVars, ",")); operation.setVendorExtension("x-gatling-body-feeder-params", StringUtils.join(sessionBodyVars, ","));
try { try {
FileUtils.writeStringToFile(new File(outputFolder + File.separator + dataFolder + File.separator + operation.getOperationId() + "-" + "BodyParams.csv"), StringUtils.join(bodyFeederParams, ",")); FileUtils.writeStringToFile(new File(outputFolder + File.separator + dataFolder + File.separator + operation.getOperationId() + "-" + "bodyParams.csv"), StringUtils.join(bodyFeederParams, ","));
} catch (IOException ioe) { } catch (IOException ioe) {
LOGGER.error("Could not create feeder file for operationId" + operation.getOperationId(), ioe); LOGGER.error("Could not create feeder file for operationId" + operation.getOperationId(), ioe);
} }

View File

@ -1,5 +1,5 @@
plugins { plugins {
id 'com.github.lkishalmi.gatling' version '0.4.1' id 'com.github.lkishalmi.gatling' version '0.7.1'
} }
repositories { repositories {