AutoUI:
{{ StringUtil.isEmpty(projectHost.project, true) ? projectHost.host : projectHost.project }}
{{item.host}}
2s
文档
视频
生态
退出
登录
{{ User.id != null && User.id > 0 ? User.name : '设置' }}
托管服务器代理: {{ isDelegateEnabled ? '已开启,点击关闭' : '已关闭,点击开启' }}
对比其它环境结果: {{ isEnvCompareEnabled ? '已开启,点击关闭' : '已关闭,点击开启' }}
当前编辑模式: {{ isEditResponse ? 'Response 后端响应结果' : 'Request 前端请求参数' }}
{{ isRandomShow ? '隐藏(固定)事件列表 Event List' : '显示(编辑)事件列表 Event List' }}
{{ (isHeaderShow ? '隐藏(固定)' : '显示(编辑)') + (isEditResponse ? '响应头 Response Header' : '请求头 Request Header' ) }}
{{ (isScriptShow ? '隐藏(固定)' : '显示(编辑)') + '执行脚本 JavaScript' }}
{{ (isStatisticsEnabled ? '隐藏' : '显示') + '测试统计报告 Test Report' }}
数据库类型 Database: {{ database || '例如 MYSQL' }}
数据库名/模式 Schema: {{ schema || '例如 sys' }}
{{ '应用入口 App Class: \n' + host }}
项目服务器地址URL: {{ projectHost.host || '点击设置' }}
其它环境地址 URL Host: {{ otherEnv || '点击设置' }}
托管服务器地址 URL: {{ server || '点击设置' }}
{{ getOperateName(operate) }}
{{ isVideoFirst ? '视频' : '截屏' }}
{{ getMethodName(method, type) }}
{{ getTypeName(type, method) }}
开始
测试用例:{{ isLocalShow ? '本地历史' : (isChainShow ? '场景串联' : '远程在线') }}
/
{{ getCaseGroupShowName(index, item) }}
{{ getCaseCountStr() }}
{{ testProcess }}
{{ crossProcess }}
{{ getCurrentSummaryTotalText() + ':' }}
{{ getCurrentSummaryWhiteText() }}
{{ getCurrentSummaryGreenText() }}
{{ getCurrentSummaryBlueText() }}
{{ getCurrentSummaryOrangeText() }}
{{ getCurrentSummaryRedText() }}
{{(isCaseGroupEditable ? '' : (StringUtil.isEmpty(item.groupName) ? '-' : item.groupName) + ' ') + item.groupUrl}}
{{' (' + item.count + ') '}}
<
>
{{ isCaseGroupEditable ? '' : item.Chain.groupName }}
{{' (' + (item.Chain.count - 1) + ') '}}
<
>
{{ (item.Flow || {}).name }}
{{ '时间:' + (item.Flow.time == null ? '?' : item.Flow.time) + ' (' + ((item.Input || {}).count - (item.Input || {}).disableCount || '?') + '/' + ((item.Input || {}).count || '?') + ')' + '\nApp:' + (item.Flow.appName || '?') + ', ' + (item.Flow.package || '?') + ', ' + (item.Flow.versionName || '?') + ' (' + (item.Flow.versionCode || '?') + ')' + '\n账号:' + (item.Flow.accountName || '?') + ', ' + (item.Flow.testAccount || '?') + ', ' + (item.Flow.accountId || '?') + '\n机型:' + ((item.Device || {}).brand || '?') + ' ' + ((item.Device || {}).model || '?') + '\n系统:' + 'Android ' + ((item.System || {}).versionName || '?') + ' (' + ((item.System || {}).versionCode || '?') + ')' + '\n屏幕:' + ((item.Device || {}).width || '?') + 'x' + ((item.Device || {}).height || '?') + '\nIMEI:' + ((item.Flow || {}).imei || '?') }}
{{ (item.totalCount || 0) + ':' }}
{{ item.whiteCount || 0 }}
{{ item.greenCount || 0 }}
{{ item.blueCount || 0 }}
{{ item.orangeCount || 0 }}
{{ item.redCount || 0 }}
<
>
本次: {{ detection.isShowNum ? '正确数 ' + detection.afterCorrect + ' 误报数 ' + detection.afterWrong + ' 漏检数 ' + detection.afterMiss : '召回率 ' + detection.afterRecallStr + ' 精确率 ' + detection.afterPrecisionStr + ' F1 ' + detection.afterF1Str }}
全屏
之前: {{ detection.isShowNum ? '正确数 ' + detection.beforeCorrect + ' 误报数 ' + detection.beforeWrong + ' 漏检数 ' + detection.beforeMiss : '召回率 ' + detection.beforeRecallStr + ' 精确率 ' + detection.beforePrecisionStr + ' F1 ' + detection.beforeF1Str }}
实际
差异(之前):
重合度
差异(本次):
总数
次
请求
|
响应
{{ (isRandomListShow || StringUtil.isEmpty(randomTestTitle, true) ? '事件 Event' : randomTestTitle) + (isRandomListShow || isRandomSubListShow ? '(' + ((isRandomListShow ? randoms : randomSubs) || []).length + '/' + (((currentRemoteItem.Input || {}).count - (currentRemoteItem.Input || {}).disableCount) || '0') + '/' + ((currentRemoteItem.Input || {}).count || '?') + ')' : '') }}
列表 List
{{ testRandomProcess }}
{{ (getCurrentRandomSummary().totalCount || 0) + ':' }}
{{ getCurrentRandomSummary().whiteCount || 0 }}
{{ getCurrentRandomSummary().greenCount || 0 }}
{{ getCurrentRandomSummary().blueCount || 0 }}
{{ getCurrentRandomSummary().orangeCount || 0 }}
{{ getCurrentRandomSummary().redCount || 0 }}
+
+
{{ Math.round(100*((item.Input || {}).size || 0)/1024/1024)/100 + 'M ' + ((item.Input || {}).width || '') + "x" + ((item.Input || {}).height || '') }}
{{ StringUtil.limitLength(item.compareMessage, 30, 'middle') + (item.showType == 'before' ? '-前' : '-后') }}
{{ item.showType == 'before' ? '错的,撤回' : '对的,纠正' }}
对的,纠正
{{ (item.showType == 'before' ? item.durationBeforeShowStr : item.durationShowStr) || '?' }}
<
>
{{ (item.Input.disable ? '-' : '') + ((item.Input.step || index) + 1) + '. ' + InputUtil.getShowName(item.Input) }}
{{ '查看 ' + ((item.subs || item['[]']) || []).length + ' 个子项' }}
{{ (item.totalCount || 0) + ':' }}
{{ item.whiteCount || 0 }}
{{ item.greenCount || 0 }}
{{ item.blueCount || 0 }}
{{ item.orangeCount || 0 }}
{{ item.redCount || 0 }}
{{ StringUtil.limitLength(item.compareMessage, 30, 'middle') + (item.showType == 'before' ? '-前' : '-后') }}
{{ item.showType == 'before' ? '错的,撤回' : '对的,纠正' }}
对的,纠正
{{ (item.showType == 'before' ? item.durationBeforeShowStr : item.durationShowStr) || '?' }}
<
>
User/id: RANDOM_INT(82001, 82020) // 随机整数 []/count: RANDOM_IN(5, 10, 's', false, [], {}) // 随机取值 []/page: Math.round(5*Math.random()) // 通过代码来自定义 @explain: ORDER_IN(true, false) // 顺序取值 // 从数据库随机取值 []/Comment/toId: RANDOM_DB() // 回车智能生成。注释可省略,未省略则前面必须空格;清空文本内容可查看规则。 // ## 快捷键 // Ctrl + I 或 Command + I 格式化文本,清除所有注释和无效空格、换行等; // Ctrl + / 或 Command + / 对选中行 新增行注释 或 取消行注释; // Ctrl + D 或 Command + D 删除 选中行; // Ctrl + S 或 Command + S 保存当前请求;
{{ (isEditResponse ? '响应头 Response Header' : '请求头 Request Header' ) }}
(每行都按 key: value 格式)
用例
|
账号
|
全局
前置
|
后置
执行脚本 JavaScript
+
{{his.name}}
未登录态
{{ getLogoutSummaryTotalText() + ':' }}
{{ getLogoutSummaryWhiteText() }}
{{ getLogoutSummaryGreenText() }}
{{ getLogoutSummaryBlueText() }}
{{ getLogoutSummaryOrangeText() }}
{{ getLogoutSummaryRedText() }}
-
{{ JSONResponse.getName(item) + (StringUtil.isEmpty(item.baseUrl) || StringUtil.trim(item.baseUrl) == getBaseUrl() ? '' : '@' + StringUtil.trim(item.baseUrl)) }}
{{ getSummaryTotalText(index) + ':' }}
{{ getSummaryWhiteText(index) }}
{{ getSummaryGreenText(index) }}
{{ getSummaryBlueText(index) }}
{{ getSummaryOrangeText(index) }}
{{ getSummaryRedText(index) }}
+
全部总计
{{ getAllSummaryTotalText() + ':' }}
{{ getAllSummaryWhiteText() }}
{{ getAllSummaryGreenText() }}
{{ getAllSummaryBlueText() }}
{{ getAllSummaryOrangeText() }}
{{ getAllSummaryRedText() }}
{{compressStr}}
上页 <
> 下页
每页
条
DEEP
{{StringUtil.get(item.name) + ': ' + StringUtil.get(item.type) + ', ' + StringUtil.trim(item.comment)}}
{{error.msg}}
保存
{{ exTxt.label || '发布简单接口'}}
{{isExportRemote ? '上传' : '下载'}}
{{isExportRandom && isRandomListShow ? '导出场景接口用例' : '分享'}}
{{ exTxt.button || '切换' }}
删除
+
{{ label.text }}
×
选择颜色
×
{{ selectedColor.hexString }}
{{ ( loginType == "login" ? "登录" : (loginType == "register" ? "注册" : "重置密码") ) + (isAdminOperation ? "(管理员)" : "(测试用户)")}}
账号
密码
{{ loginType == "login" ? "忘记密码?" : "记得密码?" }}
验证码
获取
记住登录
确定
{{ loginType == "login" ? "没有账号?" : "已有账号?" }}
{{ loginType == "login" ? "注册" : "登录" }}