Performance Tool(3)Gatling Upgrade and Cluster
I upgrade to version 1.5.6 with gatling sbt tool. It is easy to use but I fail to use version 2.0.0 with that sbt tool.
From my understanding, gatling use akka system. These configuration should be needed.
#actor configuration
akka {
actor {
creation-timeout = 120s
}
scheduler {
tick-duration = 50ms
}
}
Here is the gatling default settings.
#########################
# Gatling Configuration #
#########################
# This file contains all the settings configurable for Gatling with their default values
gatling {
simulation {
#outputDirectoryBaseName = ""
#runDescription = run
#encoding = "utf-8" # encoding for every file manipulation made in gatling
#class = ""
}
timeOut {
simulation = 86400 # in s
actor = 600 # in s
}
directory {
#data = userfiles/data
#requestBodies = userfiles/request-bodies
#simulations = userfiles/simulations
#reportsOnly = "adtarget/reports"
#binaries = ""
#results = results
}
charting {
#noReports = false
#maxPlotPerSeries = 1000
#accuracy = 10 # in ms
indicators {
#lowerBound = 800 # in ms
#higherBound = 1200 # in ms
#percentile1 = 95 # in percents
#percentile2 = 99 # in percents
}
}
http {
#provider = "Netty" # Choose between 'Netty', 'JDK', 'Apache' or 'Grizzly'
#allowPoolingConnection = true
#allowSslConnectionPool = true
#compressionEnabled = true # Set if compression should be supported or not
connectionTimeout = 60000 # Timeout of the connection to the server (ms)
idleConnectionInPoolTimeoutInMs = 60000
idleConnectionTimeoutInMs = 60000
#ioThreadMultiplier = 2
#maximumConnectionsPerHost = -1
#maximumConnectionsTotal = -1
maxRetry = 2 # number of times that a request should be tried again
#requestCompressionLevel = -1
requestTimeoutInMs = 60000 # Timeout of the requests (ms)
#useProxyProperties = false
#userAgent = "NING/1.0"
#useRawUrl = false
}
data {
#writers = [console, file]
#reader = file
}
graphite {
#host = "localhost"
#port = 2003
#bucketWidth = 100
}
}
Anyway, it nice and working, but still I plan to try version 2.0.0.
2. Scala Testing
Run the tool without generate the report
>target/start -nr -s demo.TaobaoHomePage
Put all the log files and rename them in one directory, for example scala-report1 under results.
Then run the command to generate the reports based on all the logs
>target/start -ro scala-report1
References:
http://sillycat.iteye.com/blog/1829699
http://sillycat.iteye.com/blog/1994160
https://github.com/excilys/gatling/wiki/Scaling-out
https://github.com/excilys/gatling/wiki/Gatling%202
- 浏览: 2502336 次
- 性别:
- 来自: 成都
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
相关推荐
Gatling is a highly capable load testing tool. It is designed for ease of use, maintainability and high performance.
gatling 3.0.2
基于moto 开源的java测试架构 gatling 实现的测试用例书写方式
2018-5-14 于官网下载(https://gatling.io/download/) Gatling主要用于测量基于HTTP的服务器,比如Web应用程序,RESTful... 3 能够更灵活的编写压力脚本。 4 可以jenkins集合,将压力测试整合自动化持续集成中。
performance-test-gatling ./bin/install.sh 跑步 默认模拟: ./gatling/bin/gatling.sh IDevelop模拟: ./gatling/bin/gatling.sh -sf simulations/ IDevelop 集群模拟并收集结果: ./bin/cluster-run.sh < ...
Gatling的非官方Dubbo压测插件,基于Gatling 2.3.1。
Gatling是一款基于Scala 开发的高性能服务器性能测试工具,它主要用于对服务器进行负载等测试,并分析和测量服务器的各种性能指标。Gatling主要用于测量基于HTTP的服务器,比如Web应用程序,RESTful服务等,除此之外...
性能测试工具gatling3.0.0, 官网下载太慢,上传到csdn,方便下载,供大家使用
Gatling是一个高性能,简洁强大的DSL API,支持命令行运行,支持Jenkins,以便于持续集成
Gatling是一款功能强大的负载测试工具。它的设计易于使用,可维护性和高性能。开箱即用,Gatling提供了对HTTP协议的出色支持,使其成为负载测试HTTP服务器的首选工具。
性能测试工具gatling2.1.7, 官网下载太慢,上传到csdn,方便下载,供大家使用
1.5.4版的gatling
gatling 新兴的性能测试工具 使用scala语言编写脚本
性能测试工具。该工具仅用学习使用,不可用于商业用途,如有版权问题,请联系删除!
gatling 新兴的性能测试工具 使用scala语言编写脚本
参数化 用于性能测试脚本编写 提供参数化新方案 通过调用自己的java工具类 实现参数化 同时也可以实现参座数据库 链接外部操作等
Gatling的最新版本,包含 gatling-charts-highcharts-1.5.6-bundle.tar.gz 和 gatling-charts-highcharts-2.0.0-M3a-bundle.zip
性能测试加特林 使用 gatling 进行连续性能测试的演示。
gatling-charts-highcharts-bundle-3.3.1-bundle,很好用的测试工具,有一定的学习成本。
gatling-gradle-plugin:Gradle的Gatling插件