diff --git a/packages/bruno-cli/src/runner/run-single-request.js b/packages/bruno-cli/src/runner/run-single-request.js index 69ecb1fad..e5c42392a 100644 --- a/packages/bruno-cli/src/runner/run-single-request.js +++ b/packages/bruno-cli/src/runner/run-single-request.js @@ -123,9 +123,9 @@ const runSingleRequest = async function ( } let response, responseTime; + const start = Date.now(); try { // run request - const start = Date.now(); response = await axios(request); responseTime = Date.now() - start; } catch (err) { @@ -273,7 +273,8 @@ const runSingleRequest = async function ( status: null, statusText: null, headers: null, - data: null + data: null, + responseTime: 0 }, error: err.message, assertionResults: [],