fix(接口测试): 修复接口测试部分tcp响应体内依然包含url等非tcp信息的问题
--bug=1019710 --user=宋天阳 【接口测试】github#19741,TCP接口,响应内容的请求地址未显示 {#_orginal_url#}
This commit is contained in:
parent
c3d9057123
commit
1363056c92
|
@ -30,15 +30,16 @@
|
|||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane :label="$t('api_report.request_body')" name="request_body" class="pane">
|
||||
<div class="ms-div">
|
||||
<div class="ms-div" v-if="request.url && request.url !== ''">
|
||||
{{ $t('api_test.request.address') }} :
|
||||
<pre>{{ request.url }}</pre>
|
||||
</div>
|
||||
<div class="ms-div">
|
||||
<!--这里判断url而不是判断cookies是因为通过url来判断是否是http请求,http请求展示以下信息-->
|
||||
<div class="ms-div" v-if="request.url && request.url !== ''">
|
||||
{{ $t('api_test.scenario.headers') }} :
|
||||
<pre>{{ request.headers }}</pre>
|
||||
</div>
|
||||
<div class="ms-div">
|
||||
<div class="ms-div" v-if="request.url && request.url !== ''">
|
||||
Cookies :
|
||||
<pre>{{ request.cookies }}</pre>
|
||||
</div>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<el-col :span="2" />
|
||||
</el-row>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane :label="$t('commons.response_time_delay')" name="delayed" class="pane">
|
||||
<el-tab-pane :label="$t('commons.response_time_delay') + '(ms)'" name="delayed" class="pane">
|
||||
<el-row>
|
||||
<el-input-number v-model="response.delayed" :min="0">
|
||||
<template slot="append">ms</template>
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
<div
|
||||
style="
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
height: 238px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
|
Loading…
Reference in New Issue