diff --git a/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue b/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue
index b1c1f2af9f..415bd0ebf2 100644
--- a/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue
+++ b/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue
@@ -115,14 +115,14 @@
:{{ getVariableSize() }}
- {{ $t('api_test.scenario.share_cookie') }}
+
+ {{ $t('api_test.scenario.share_cookie') }}
+
- {{ $t('commons.failure_continues') }}
+
+ {{ $t('commons.failure_continues') }}
+
diff --git a/api-test/frontend/src/business/definition/components/response/ResponseResult.vue b/api-test/frontend/src/business/definition/components/response/ResponseResult.vue
index d49ee4fe25..fbe3eb5b38 100644
--- a/api-test/frontend/src/business/definition/components/response/ResponseResult.vue
+++ b/api-test/frontend/src/business/definition/components/response/ResponseResult.vue
@@ -157,21 +157,18 @@ export default {
if (!this.response.responseResult.vars) {
this.response.responseResult.vars = '';
}
- this.reqMessages =
- this.$t('api_test.request.address') +
- ':\n' +
- this.response.url +
- '\n' +
- this.$t('api_test.scenario.headers') +
- ':\n' +
- this.response.headers +
- '\n' +
- 'Cookies :\n' +
- this.response.cookies +
- '\n' +
- 'Body:' +
- '\n' +
- this.response.body;
+ this.reqMessages = '';
+ if (this.response.url) {
+ this.reqMessages += this.$t('api_test.request.address') + ':\n' + this.response.url + '\n';
+ }
+ if (this.response.headers) {
+ this.reqMessages += this.$t('api_test.scenario.headers') + ':\n' + this.response.headers + '\n';
+ }
+
+ if (this.response.cookies) {
+ this.reqMessages += 'Cookies :\n' + this.response.cookies + '\n';
+ }
+ this.reqMessages += 'Body:' + '\n' + this.response.body;
}
},
},