Katalon Agent Error

I have no idea how to get the agent installed and working

I downloaded it and just clicked on all the bat and exe files because i did not know what to do after downloading it - but I get this error when I click on start.bat

C:\Users\Derickm\OneDrive - Marbletech\Katalon Agent>reg Query “HKLM\Hardware\Description\System\CentralProcessor\0” | find /i “x86” 1>NUL && set OS_ARCH=x86 || set OS_ARCH=x64

C:\Users\Derickm\OneDrive - Marbletech\Katalon Agent>set "CURRENT_DIR=C:\Users\Derickm\OneDrive - Marbletech\Katalon Agent"

C:\Users\Derickm\OneDrive - Marbletech\Katalon Agent>“C:\Users\Derickm\OneDrive - Marbletech\Katalon Agent\cli-win-x64.exe” start-agent
[2023-12-08T17:57:36.937] [INFO] katalon - Loading agent configs @ C:\Users\Derickm\OneDrive - Marbletech\Katalon Agent\agentconfig
[2023-12-08T17:57:36.948] [ERROR] katalon - Please specify ‘email’ property in agentconfig.
[2023-12-08T17:57:36.949] [ERROR] katalon - Please specify ‘apikey’ property in agentconfig.
[2023-12-08T17:57:36.949] [ERROR] katalon - Please specify ‘serverUrl’ property in agentconfig.
[2023-12-08T17:57:36.949] [ERROR] katalon - Please specify ‘teamId’ property in agentconfig.
[2023-12-08T17:57:36.950] [INFO] katalon - Katalon Agent v1.7.8 started @ Fri Dec 08 2023 17:57:36 GMT+0200 (South Africa Standard Time)
[2023-12-08T17:57:36.951] [INFO] katalon - Getting server profiles…
[2023-12-08T17:57:38.755] [INFO] katalon - get https://testops.katalon.io/info 200.
[2023-12-08T17:57:40.185] [ERROR] katalon - { message: ‘Request failed with status code 401’,
name: ‘AxiosError’,
description: undefined,
number: undefined,
fileName: undefined,
lineNumber: undefined,
columnNumber: undefined,
stack: undefined,
config:
{ transitional:
{ silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false },
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 60000,
xsrfCookieName: ‘XSRF-TOKEN’,
xsrfHeaderName: ‘X-XSRF-TOKEN’,
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function] },
validateStatus: [Function: validateStatus],
headers:
{ Accept: ‘application/json, text/plain, /’,
Authorization: ‘Basic Og==’,
‘User-Agent’: ‘axios/0.27.2’ },
method: ‘get’,
url: ‘https://testops.katalon.io/api/v1/jobs/get-job’,
params:
{ uuid: ‘1702050128645-682880a1-5e96-4f83-908a-de90c64a1fbc’,
teamId: undefined },
data: null,
proxy: null,
httpsAgent:
Agent {
_events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: ‘https:’,
options: [Object],
requests: {},
sockets: {},
freeSockets: [Object],
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: [Object] } },
code: ‘ERR_BAD_REQUEST’,
status: 401 }
[2023-12-08T17:57:40.193] [ERROR] katalon - { message: ‘Request failed with status code 401’,
name: ‘AxiosError’,
description: undefined,
number: undefined,
fileName: undefined,
lineNumber: undefined,
columnNumber: undefined,
stack: undefined,
config:
{ transitional:
{ silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false },
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 60000,
xsrfCookieName: ‘XSRF-TOKEN’,
xsrfHeaderName: ‘X-XSRF-TOKEN’,
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function] },
validateStatus: [Function: validateStatus],
headers:
{ Accept: ‘application/json, text/plain, /’,
Authorization: ‘Basic Og==’,
‘User-Agent’: ‘axios/0.27.2’ },
method: ‘get’,
url: ‘https://testops.katalon.io/api/v1/jobs/get-job’,
params:
{ uuid: ‘1702050128645-682880a1-5e96-4f83-908a-de90c64a1fbc’,
teamId: undefined },
data: null,
proxy: null,
httpsAgent:
Agent {
_events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: ‘https:’,
options: [Object],
requests: {},
sockets: {},
freeSockets: [Object],
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: [Object] } },
code: ‘ERR_BAD_REQUEST’,
status: 401 }

can anybody help me get the agent working? I am trying to set up on testops I have created my project and teams - I do not know where else to specify what this error message wants me to specify.

1 Like

I dont have much experience in this. Can anyone please help?