diff options
author | wr148d <wr148d@att.com> | 2022-04-29 10:38:04 -0400 |
---|---|---|
committer | wr148d <wr148d@att.com> | 2022-04-29 10:38:20 -0400 |
commit | 713c56b8d0f64fe411a6833240c10c44c8c33eb7 (patch) | |
tree | 12e0df324d283dac7fcf72c5df9f3f927439ef73 /gatling/Gatling_conf_file | |
parent | 39460cd0de2a212827e741527d74df57b718450c (diff) |
[AAI] Add the aai performance test script files
Issue-ID: AAI-3480
Change-Id: I63c2584c3f0d78c5cb9cf3f91f1aa13898aabdde
Signed-off-by: wr148d <wr148d@att.com>
Diffstat (limited to 'gatling/Gatling_conf_file')
-rw-r--r-- | gatling/Gatling_conf_file | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/gatling/Gatling_conf_file b/gatling/Gatling_conf_file new file mode 100644 index 0000000..bd32c32 --- /dev/null +++ b/gatling/Gatling_conf_file @@ -0,0 +1,141 @@ +######################### +# Gatling Configuration # +######################### + +# This file contains all the settings configurable for Gatling with their default values + +gatling { + core { + #outputDirectoryBaseName = "" # The prefix for each simulation result folder (then suffixed by the report generation timestamp) + #runDescription = "" # The description for this simulation run, displayed in each report + #encoding = "utf-8" # Encoding to use throughout Gatling for file and string manipulation + #simulationClass = "" # The FQCN of the simulation to run (when used in conjunction with noReports, the simulation for which assertions will be validated) + #mute = false # When set to true, don't ask for simulation name nor run description (currently only used by Gatling SBT plugin) + #elFileBodiesCacheMaxCapacity = 200 # Cache size for request body EL templates, set to 0 to disable + #rawFileBodiesCacheMaxCapacity = 200 # Cache size for request body Raw templates, set to 0 to disable + #rawFileBodiesInMemoryMaxSize = 1000 # Below this limit, raw file bodies will be cached in memory + + extract { + regex { + #cacheMaxCapacity = 200 # Cache size for the compiled regexes, set to 0 to disable caching + } + xpath { + #cacheMaxCapacity = 200 # Cache size for the compiled XPath queries, set to 0 to disable caching + } + jsonPath { + #cacheMaxCapacity = 200 # Cache size for the compiled jsonPath queries, set to 0 to disable caching + #preferJackson = false # When set to true, prefer Jackson over Boon for JSON-related operations + } + css { + #cacheMaxCapacity = 200 # Cache size for the compiled CSS selectors queries, set to 0 to disable caching + } + } + directory { + data = src/test/gatling/data # Folder where user's data (e.g. files used by Feeders) is located + bodies = src/test/gatling/bodies # Folder where request bodies are located + #simulations = user-files/simulations # Folder where the bundle's simulations are located + #reportsOnly = "" # If set, name of report folder to look for in order to generate its report + #binaries = "" # If set, name of the folder where compiles classes are located: Defaults to GATLING_HOME/target. + #results = results # Name of the folder where all reports folder are located + } + } + charting { + #noReports = false # When set to true, don't generate HTML reports + #maxPlotPerSeries = 1000 # Number of points per graph in Gatling reports + #useGroupDurationMetric = false # Switch group timings from cumulated response time to group duration. + indicators { + #lowerBound = 800 # Lower bound for the requests' response time to track in the reports and the console summary + #higherBound = 1200 # Higher bound for the requests' response time to track in the reports and the console summary + percentile1 = 50 # Value for the 1st percentile to track in the reports, the console summary and Graphite + percentile2 = 75 # Value for the 2nd percentile to track in the reports, the console summary and Graphite + percentile3 = 90 # Value for the 3rd percentile to track in the reports, the console summary and Graphite + percentile4 = 95 # Value for the 3rd percentile to track in the reports, the console summary and Graphite + percentile5 = 99 # Value for the 4th percentile to track in the reports, the console summary and Graphite + } + } + http { + #fetchedCssCacheMaxCapacity = 200 # Cache size for CSS parsed content, set to 0 to disable + #fetchedHtmlCacheMaxCapacity = 200 # Cache size for HTML parsed content, set to 0 to disable + #perUserCacheMaxCapacity = 200 # Per virtual user cache size, set to 0 to disable + warmUpUrl = "http://gatling.io" # The URL to use to warm-up the HTTP stack (blank means disabled) + #enableGA = true # Very light Google Analytics, please support + + ssl { + keyStore { + file = src/test/gatling/conf/Enter P12 file Here #Location of SSLContext's KeyManagers store + password = "Enter Keystore Password" #Password for SSLContext's KeyManagers store + } + trustStore { + #type = "JKS" # Type of SSLContext's TrustManagers store + file = src/test/gatling/conf/truststore2020m.jks # Location of SSLContext's TrustManagers store + password = Enter password here # Password for SSLContext's TrustManagers store + #algorithm = "" # Algorithm used by SSLContext's TrustManagers store + } + } + ahc { + #keepAlive = true # Allow pooling HTTP connections (keep-alive header automatically added) + #connectTimeout = 10000 # Timeout when establishing a connection + #handshakeTimeout = 10000 # Timeout when performing TLS hashshake + #pooledConnectionIdleTimeout = 60000 # Timeout when a connection stays unused in the pool + pooledConnectionIdleTimeout = 80000 # Timeout when a connection stays unused in the pool + readTimeout = 800000 # Timeout when a used connection stays idle + #maxRetry = 2 # Number of times that a request should be tried again + requestTimeout = 800000 # Timeout of the requests + acceptAnyCertificate = true # When set to true, doesn't validate SSL certificates + #httpClientCodecMaxInitialLineLength = 4096 # Maximum length of the initial line of the response (e.g. "HTTP/1.0 200 OK") + #httpClientCodecMaxHeaderSize = 8192 # Maximum size, in bytes, of each request's headers + #httpClientCodecMaxChunkSize = 8192 # Maximum length of the content or each chunk + #webSocketMaxFrameSize = 10240000 # Maximum frame payload size + sslEnabledProtocols = [TLSv1.2, TLSv1.1, TLSv1] # Array of enabled protocols for HTTPS, if empty use the JDK defaults + #sslEnabledCipherSuites = [] # Array of enabled cipher suites for HTTPS, if empty use the AHC defaults + #sslSessionCacheSize = 0 # SSLSession cache size, set to 0 to use JDK's default + #sslSessionTimeout = 0 # SSLSession timeout in seconds, set to 0 to use JDK's default (24h) + #useOpenSsl = true # if OpenSSL should be used instead of JSSE (requires tcnative jar) + #useNativeTransport = false # if native transport should be used instead of Java NIO (requires netty-transport-native-epoll, currently Linux only) + #tcpNoDelay = true + #soReuseAddress = false + #soLinger = -1 + #soSndBuf = -1 + #soRcvBuf = -1 + #allocator = "pooled" # switch to unpooled for unpooled ByteBufAllocator + #maxThreadLocalCharBufferSize = 200000 # Netty's default is 16k + } + dns { + #queryTimeout = 5000 # Timeout of each DNS query in millis + #maxQueriesPerResolve = 6 # Maximum allowed number of DNS queries for a given name resolution + } + + #proxy { + #host = "http://sub.proxy.att.com" # proxy host (blank means no proxy) + #port = 8080 # HTTP port + #securedPort = -1 # HTTPS port (-1 means no HTTPS proxy) + #username = "" # proxy username (blank means no credentials) + #password = "" # proxy password + #} + + } + jms { + #acknowledgedMessagesBufferSize = 5000 # size of the buffer used to tracked acknowledged messages and protect against duplicate receives + } + data { + #writers = [console, file] # The list of DataWriters to which Gatling write simulation data (currently supported : console, file, graphite, jdbc) + console { + #light = false # When set to true, displays a light version without detailed request stats + } + file { + #bufferSize = 8192 # FileDataWriter's internal data buffer size, in bytes + } + leak { + #noActivityTimeout = 30 # Period, in seconds, for which Gatling may have no activity before considering a leak may be happening + } + graphite { + #light = false # only send the all* stats + #host = "localhost" # The host where the Carbon server is located + #port = 2003 # The port to which the Carbon server listens to (2003 is default for plaintext, 2004 is default for pickle) + #protocol = "tcp" # The protocol used to send data to Carbon (currently supported : "tcp", "udp") + #rootPathPrefix = "gatling" # The common prefix of all metrics sent to Graphite + #bufferSize = 8192 # GraphiteDataWriter's internal data buffer size, in bytes + #writeInterval = 1 # GraphiteDataWriter's write interval, in seconds + } + } +} |