From 8c0453a88ab6d8f7a5d75633fefc8a36701b32f7 Mon Sep 17 00:00:00 2001 From: NivLipetz <31369413+NivLipetz@users.noreply.github.com> Date: Tue, 26 Feb 2019 11:56:19 +0200 Subject: [PATCH] fix(ui): remove duplicated body when creating test (#83) --- ui/src/features/PerformanceUI/components/TestForm/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/src/features/PerformanceUI/components/TestForm/utils.js b/ui/src/features/PerformanceUI/components/TestForm/utils.js index 366d2a4b3..fafb11a60 100644 --- a/ui/src/features/PerformanceUI/components/TestForm/utils.js +++ b/ui/src/features/PerformanceUI/components/TestForm/utils.js @@ -69,7 +69,7 @@ function buildStepsFromFlow (flow) { return { id: uuid(), method: method.toUpperCase(), - body: request[method].body, + body: request[method].json, gzip: request[method].gzip, forever: request[method].forever, url: request[method].url, @@ -109,7 +109,6 @@ function prepareFlow (steps) { return { [step.method.toLowerCase()]: { url: step.url, - body: step.body, headers: prepareHeadersFromArray(step.headers), json: step.body, capture: prepareCapture(step.captures),