性能测试实体类类型修改

This commit is contained in:
2025-04-15 09:20:29 +08:00
parent d0d195c69c
commit 082094d9ef
2 changed files with 82 additions and 82 deletions

View File

@@ -7,7 +7,7 @@ import com.test.common.core.domain.BaseEntity;
/** /**
* 性能测试对象 performance_test * 性能测试对象 performance_test
* *
* @author test * @author test
* @date 2025-04-14 * @date 2025-04-14
*/ */
@@ -28,47 +28,47 @@ public class PerformanceTest extends BaseEntity
/** 定时任务状态0关闭1开启默认0 */ /** 定时任务状态0关闭1开启默认0 */
@Excel(name = "定时任务状态0关闭1开启默认0") @Excel(name = "定时任务状态0关闭1开启默认0")
private Long crontabStatus; private Integer crontabStatus;
/** 并发线程数 */ /** 并发线程数 */
@Excel(name = "并发线程数") @Excel(name = "并发线程数")
private Long concurrentThreads; private Integer concurrentThreads;
/** 在取样器错误后要执行的动作1继续2开始下一个线程轮询3停止线程4停止测试5立即停止测试 */ /** 在取样器错误后要执行的动作1继续2开始下一个线程轮询3停止线程4停止测试5立即停止测试 */
@Excel(name = "在取样器错误后要执行的动作1继续2开始下一个线程轮询3停止线程4停止测试5立即停止测试") @Excel(name = "在取样器错误后要执行的动作1继续2开始下一个线程轮询3停止线程4停止测试5立即停止测试")
private Long errorOperType; private Integer errorOperType;
/** 执行方式1按持续时间2按迭代次数 */ /** 执行方式1按持续时间2按迭代次数 */
@Excel(name = "执行方式1按持续时间2按迭代次数") @Excel(name = "执行方式1按持续时间2按迭代次数")
private Long executeType; private Integer executeType;
/** 多少秒内线程建立完成默认0 */ /** 多少秒内线程建立完成默认0 */
@Excel(name = "多少秒内线程建立完成默认0") @Excel(name = "多少秒内线程建立完成默认0")
private Long rampUpSeconds; private Integer rampUpSeconds;
/** 压测时长默认0 */ /** 压测时长默认0 */
@Excel(name = "压测时长默认0") @Excel(name = "压测时长默认0")
private Long pressureHour; private Integer pressureHour;
/** 压测时长默认0 */ /** 压测时长默认0 */
@Excel(name = "压测时长默认0") @Excel(name = "压测时长默认0")
private Long pressureMinute; private Integer pressureMinute;
/** 压测时长默认0 */ /** 压测时长默认0 */
@Excel(name = "压测时长默认0") @Excel(name = "压测时长默认0")
private Long pressureSecond; private Integer pressureSecond;
/** 迭代次数默认0 */ /** 迭代次数默认0 */
@Excel(name = "迭代次数默认0") @Excel(name = "迭代次数默认0")
private Long loopCount; private Integer loopCount;
/** rps状态0关闭1开启默认0 */ /** rps状态0关闭1开启默认0 */
@Excel(name = "rps状态0关闭1开启默认0") @Excel(name = "rps状态0关闭1开启默认0")
private Long rpsStatus; private Integer rpsStatus;
/** 每分钟rps上限数默认0 */ /** 每分钟rps上限数默认0 */
@Excel(name = "每分钟rps上限数默认0") @Excel(name = "每分钟rps上限数默认0")
private Long rpsLimit; private Integer rpsLimit;
/** 是否已执行完成状态0否1是默认0 */ /** 是否已执行完成状态0否1是默认0 */
@Excel(name = "是否已执行完成状态0否1是默认0") @Excel(name = "是否已执行完成状态0否1是默认0")
@@ -77,147 +77,147 @@ public class PerformanceTest extends BaseEntity
/** 0,正常,1,删除 */ /** 0,正常,1,删除 */
private String delFlag; private String delFlag;
public void setId(Long id) public void setId(Long id)
{ {
this.id = id; this.id = id;
} }
public Long getId() public Long getId()
{ {
return id; return id;
} }
public void setPerformanceName(String performanceName) public void setPerformanceName(String performanceName)
{ {
this.performanceName = performanceName; this.performanceName = performanceName;
} }
public String getPerformanceName() public String getPerformanceName()
{ {
return performanceName; return performanceName;
} }
public void setCrontab(String crontab) public void setCrontab(String crontab)
{ {
this.crontab = crontab; this.crontab = crontab;
} }
public String getCrontab() public String getCrontab()
{ {
return crontab; return crontab;
} }
public void setCrontabStatus(Long crontabStatus) public void setCrontabStatus(Integer crontabStatus)
{ {
this.crontabStatus = crontabStatus; this.crontabStatus = crontabStatus;
} }
public Long getCrontabStatus() public Integer getCrontabStatus()
{ {
return crontabStatus; return crontabStatus;
} }
public void setConcurrentThreads(Long concurrentThreads) public void setConcurrentThreads(Integer concurrentThreads)
{ {
this.concurrentThreads = concurrentThreads; this.concurrentThreads = concurrentThreads;
} }
public Long getConcurrentThreads() public Integer getConcurrentThreads()
{ {
return concurrentThreads; return concurrentThreads;
} }
public void setErrorOperType(Long errorOperType) public void setErrorOperType(Integer errorOperType)
{ {
this.errorOperType = errorOperType; this.errorOperType = errorOperType;
} }
public Long getErrorOperType() public Integer getErrorOperType()
{ {
return errorOperType; return errorOperType;
} }
public void setExecuteType(Long executeType) public void setExecuteType(Integer executeType)
{ {
this.executeType = executeType; this.executeType = executeType;
} }
public Long getExecuteType() public Integer getExecuteType()
{ {
return executeType; return executeType;
} }
public void setRampUpSeconds(Long rampUpSeconds) public void setRampUpSeconds(Integer rampUpSeconds)
{ {
this.rampUpSeconds = rampUpSeconds; this.rampUpSeconds = rampUpSeconds;
} }
public Long getRampUpSeconds() public Integer getRampUpSeconds()
{ {
return rampUpSeconds; return rampUpSeconds;
} }
public void setPressureHour(Long pressureHour) public void setPressureHour(Integer pressureHour)
{ {
this.pressureHour = pressureHour; this.pressureHour = pressureHour;
} }
public Long getPressureHour() public Integer getPressureHour()
{ {
return pressureHour; return pressureHour;
} }
public void setPressureMinute(Long pressureMinute) public void setPressureMinute(Integer pressureMinute)
{ {
this.pressureMinute = pressureMinute; this.pressureMinute = pressureMinute;
} }
public Long getPressureMinute() public Integer getPressureMinute()
{ {
return pressureMinute; return pressureMinute;
} }
public void setPressureSecond(Long pressureSecond) public void setPressureSecond(Integer pressureSecond)
{ {
this.pressureSecond = pressureSecond; this.pressureSecond = pressureSecond;
} }
public Long getPressureSecond() public Integer getPressureSecond()
{ {
return pressureSecond; return pressureSecond;
} }
public void setLoopCount(Long loopCount) public void setLoopCount(Integer loopCount)
{ {
this.loopCount = loopCount; this.loopCount = loopCount;
} }
public Long getLoopCount() public Integer getLoopCount()
{ {
return loopCount; return loopCount;
} }
public void setRpsStatus(Long rpsStatus) public void setRpsStatus(Integer rpsStatus)
{ {
this.rpsStatus = rpsStatus; this.rpsStatus = rpsStatus;
} }
public Long getRpsStatus() public Integer getRpsStatus()
{ {
return rpsStatus; return rpsStatus;
} }
public void setRpsLimit(Long rpsLimit) public void setRpsLimit(Integer rpsLimit)
{ {
this.rpsLimit = rpsLimit; this.rpsLimit = rpsLimit;
} }
public Long getRpsLimit() public Integer getRpsLimit()
{ {
return rpsLimit; return rpsLimit;
} }
public void setStatus(String status) public void setStatus(String status)
{ {
this.status = status; this.status = status;
} }
public String getStatus() public String getStatus()
{ {
return status; return status;
} }
public void setDelFlag(String delFlag) public void setDelFlag(String delFlag)
{ {
this.delFlag = delFlag; this.delFlag = delFlag;
} }
public String getDelFlag() public String getDelFlag()
{ {
return delFlag; return delFlag;
} }
@@ -225,26 +225,26 @@ public class PerformanceTest extends BaseEntity
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("performanceName", getPerformanceName()) .append("performanceName", getPerformanceName())
.append("crontab", getCrontab()) .append("crontab", getCrontab())
.append("crontabStatus", getCrontabStatus()) .append("crontabStatus", getCrontabStatus())
.append("concurrentThreads", getConcurrentThreads()) .append("concurrentThreads", getConcurrentThreads())
.append("errorOperType", getErrorOperType()) .append("errorOperType", getErrorOperType())
.append("executeType", getExecuteType()) .append("executeType", getExecuteType())
.append("rampUpSeconds", getRampUpSeconds()) .append("rampUpSeconds", getRampUpSeconds())
.append("pressureHour", getPressureHour()) .append("pressureHour", getPressureHour())
.append("pressureMinute", getPressureMinute()) .append("pressureMinute", getPressureMinute())
.append("pressureSecond", getPressureSecond()) .append("pressureSecond", getPressureSecond())
.append("loopCount", getLoopCount()) .append("loopCount", getLoopCount())
.append("rpsStatus", getRpsStatus()) .append("rpsStatus", getRpsStatus())
.append("rpsLimit", getRpsLimit()) .append("rpsLimit", getRpsLimit())
.append("status", getStatus()) .append("status", getStatus())
.append("createBy", getCreateBy()) .append("createBy", getCreateBy())
.append("createTime", getCreateTime()) .append("createTime", getCreateTime())
.append("updateBy", getUpdateBy()) .append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime()) .append("updateTime", getUpdateTime())
.append("delFlag", getDelFlag()) .append("delFlag", getDelFlag())
.toString(); .toString();
} }
} }

View File

@@ -7,7 +7,7 @@ import com.test.common.annotation.Excel;
/** /**
* 性能测试与测试用例关联对象 performance_test_case * 性能测试与测试用例关联对象 performance_test_case
* *
* @author test * @author test
* @date 2025-04-14 * @date 2025-04-14
*/ */
@@ -28,41 +28,41 @@ public class PerformanceTestCase extends BaseEntity
/** 状态0关闭1开启默认1 */ /** 状态0关闭1开启默认1 */
@Excel(name = "状态0关闭1开启默认1") @Excel(name = "状态0关闭1开启默认1")
private Long status; private Integer status;
public void setId(Long id) public void setId(Long id)
{ {
this.id = id; this.id = id;
} }
public Long getId() public Long getId()
{ {
return id; return id;
} }
public void setPerformanceId(Long performanceId) public void setPerformanceId(Long performanceId)
{ {
this.performanceId = performanceId; this.performanceId = performanceId;
} }
public Long getPerformanceId() public Long getPerformanceId()
{ {
return performanceId; return performanceId;
} }
public void setTestCaseId(Long testCaseId) public void setTestCaseId(Long testCaseId)
{ {
this.testCaseId = testCaseId; this.testCaseId = testCaseId;
} }
public Long getTestCaseId() public Long getTestCaseId()
{ {
return testCaseId; return testCaseId;
} }
public void setStatus(Long status) public void setStatus(Integer status)
{ {
this.status = status; this.status = status;
} }
public Long getStatus() public Integer getStatus()
{ {
return status; return status;
} }
@@ -70,10 +70,10 @@ public class PerformanceTestCase extends BaseEntity
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("performanceId", getPerformanceId()) .append("performanceId", getPerformanceId())
.append("testCaseId", getTestCaseId()) .append("testCaseId", getTestCaseId())
.append("status", getStatus()) .append("status", getStatus())
.toString(); .toString();
} }
} }