redis配置及jmeter持续时长默认值
This commit is contained in:
@@ -71,13 +71,13 @@ spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
host: ah.qyyh.net
|
||||
host: 47.99.93.74
|
||||
# 端口,默认为6379
|
||||
port: 15129
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: 1
|
||||
# 密码
|
||||
password:
|
||||
password: foobaredDkhsb
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
|
||||
@@ -68,6 +68,9 @@ public class PerformanceTestCaseReportServiceImpl implements IPerformanceTestCas
|
||||
jmeterGroupRequest.setRampUpSeconds(performanceTest.getRampUpSeconds());
|
||||
Long seconds = performanceTest.getPressureHour() * 3600L + performanceTest.getPressureMinute() * 60L + performanceTest.getPressureSecond() * 1L;
|
||||
jmeterGroupRequest.setPressureSecond(seconds);
|
||||
if (seconds == 0L) {
|
||||
jmeterGroupRequest.setPressureSecond(1L);
|
||||
}
|
||||
jmeterGroupRequest.setLoopCount(performanceTest.getLoopCount());
|
||||
jmeterGroupRequest.setRpsStatus(performanceTest.getRpsStatus());
|
||||
jmeterGroupRequest.setRpsLimit(performanceTest.getRpsLimit());
|
||||
|
||||
Reference in New Issue
Block a user