Hi, I am trying to run test execution on my own agent in Katalon Testops. However I am facing an issue like the log below, could you please help me take a look on this?
Job execution log uploaded.
[2024-06-25T10:41:03.603] [ERROR] katalon - {
message: 'Request failed with status code 400',
name: 'AxiosError',
description: undefined,
number: undefined,
fileName: undefined,
lineNumber: undefined,
columnNumber: undefined,
stack: 'AxiosError: Request failed with status code 400\n' +
' at settle (agent-bundle.js:35033:16)\n' +
' at Unzip.handleStreamEnd (agent-bundle.js:35841:15)\n' +
' at Unzip.emit (node:events:526:35)\n' +
' at endReadableNT (node:internal/streams/readable:1408:12)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:82:21)',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 60000,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function], Blob: [class Blob] },
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/json',
Authorization: 'Basic dfdsfdsfd==',
'User-Agent': 'axios/1.6.8',
'Content-Length': '121',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
method: 'post',
url: 'https://testops.katalon.io/api/v1/jobs/update-job',
params: {},
data: '{"id":5817101,"status":"FAILED","processId":"6930ac5e-5431-45dc-9440-122f5365e9d7","stopTime":"2024-06-25T03:41:02.110Z"}',
proxy: null,
httpsAgent: {
_events: [Object],
_eventsCount: 2,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: {},
freeSockets: [Object],
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: [Object]
}
},
code: 'ERR_BAD_REQUEST',
status: 400
}