fix: cli run-summary count fix for requests with ECONNREFUSED error (#3451)

* fix: cli run summary for requests with ECONNREFUSED error
* feat: updates
This commit is contained in:
lohit 2024-11-08 16:57:37 +05:30 committed by GitHub
parent d007feb3d1
commit bdfe9c16f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -246,7 +246,7 @@ const runSingleRequest = async function (
data: null,
responseTime: 0
},
error: err.message,
error: err?.message || err?.errors?.map(e => e?.message)?.at(0) || err?.code || 'Request Failed!',
assertionResults: [],
testResults: [],
nextRequestName: nextRequestName