forked from loafle/openapi-generator-original
7616 correct body params filename (#7635)
* correct body params file name close #7616 * update gradle gatling plugin
This commit is contained in:
parent
803cafb995
commit
86697fedb2
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user