🐛 Fixed #644
This commit is contained in:
@@ -2132,16 +2132,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
// tests
|
|
||||||
const syntheticResponse = {
|
|
||||||
status: this.response.status,
|
|
||||||
body: this.response.body,
|
|
||||||
headers: this.response.headers,
|
|
||||||
}
|
|
||||||
const { testResults } = runTestScriptWithVariables(this.testScript, {
|
|
||||||
response: syntheticResponse,
|
|
||||||
})
|
|
||||||
this.testReports = testResults
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
if (error.response) {
|
if (error.response) {
|
||||||
@@ -2187,6 +2177,16 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// tests
|
||||||
|
const syntheticResponse = {
|
||||||
|
status: this.response.status,
|
||||||
|
body: this.response.body,
|
||||||
|
headers: this.response.headers,
|
||||||
|
}
|
||||||
|
const { testResults } = runTestScriptWithVariables(this.testScript, {
|
||||||
|
response: syntheticResponse,
|
||||||
|
})
|
||||||
|
this.testReports = testResults
|
||||||
},
|
},
|
||||||
getQueryStringFromPath() {
|
getQueryStringFromPath() {
|
||||||
let queryString
|
let queryString
|
||||||
|
|||||||
Reference in New Issue
Block a user