forked from loafle/openapi-generator-original
* Initial commit, Generates everything necessary to run a performnace test against a swagger api. Just have to fill out the CSV feeder files with your data. * adding samples and gatling-petstore.sh file * Extending the AbstractScalaCodeGen * Checking in the CodegenConfig file as it is needed to generate * removing escaped reserved words * Changed model to be able to make all variables utilize an underscore while json fields are still just the variable name * Changing underscore to var as interpolation can not start with a _ in scala * Fixing path params * allow you to pass in a system property to define which config to use as a workload profile, use rate and instance multipliers to scale up and down your test, added ramp down after the test is completed, added global assertions. * Addressing PR feedback * missed semi-colon * Bringing everything up to date with the renames that were suggested
29 lines
767 B
Groovy
29 lines
767 B
Groovy
plugins {
|
|
id 'com.github.lkishalmi.gatling' version '0.4.1'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
|
|
}
|
|
|
|
apply plugin: "com.github.lkishalmi.gatling"
|
|
|
|
gatling {
|
|
toolVersion = '2.3.0'
|
|
jvmArgs = ['-server', '-XX:+UseThreadPriorities',
|
|
'-XX:ThreadPriorityPolicy=42',
|
|
'-Xms2048M', '-Xmx2048M', '-Xmn500M',
|
|
'-XX:+HeapDumpOnOutOfMemoryError',
|
|
'-XX:+AggressiveOpts',
|
|
'-XX:+OptimizeStringConcat',
|
|
'-XX:+UseFastAccessorMethods',
|
|
'-XX:+UseParNewGC',
|
|
'-XX:+UseConcMarkSweepGC',
|
|
'-XX:+CMSParallelRemarkEnabled',
|
|
'-Djava.net.preferIPv4Stack=true',
|
|
'-Djava.net.preferIPv6Addresses=false']
|
|
} |