npm install command in the Katalon Agent's root directory to install the dependenciesagentconfig file in the Katalon Agent's root directory and configure it:agentName=My Agent
email=<email>
apikey=<api_key>
serverUrl=https://analytics.katalon.com/
teamId=<team_id>
| Mandatory Option | Description |
|---|---|
| agentName | The name of the Katalon Agent displayed on the Katalon TestOps CI page. It should be human-readable and distinguishable among multiple agents. |
| The email of the Katalon account used to log into the Katalon TestOps. | |
| apikey | The API Key used to log into the Katalon TestOps. The API key can be generated and retrieved from here. For more info read the docs. |
| serverUrl | The Katalon TestOps' URL. |
| teamId | The ID of the Katalon TestOps team to integrate the Katalon Agent into. The agent is shared among members and projects within a team. |
| uuid | The ID used to identify the agent. It is generated by the Katalon Agent on the first run and should not be specified manually or modified for any reason. |
| Optional Option | Description |
|---|---|
| xvfbRun | Xvfb-run supported options. Linux only. E.g. xvfbRun=-a -n 0 -s "-screen 0 1024x768x24" |
| x11Display | x11 DISPLAY environment variable. Linux only. E.g. x11Display=:0.0 |
| proxy | The proxy server. E.g. proxy=http://localhost:3000 |
| logLevel | The logging level (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF). Default: INFO. |
| keepFiles | Whether to keep the test project's temporary files. Default: false. |
npm start or node cli.js start-agent command to start the agent.start.bat on Windowsstart.sh on Linux and MacOS.Note: On Linux and MacOS, you might need to add execute permission (chmode u+x <file>) to the following files, if present:
cli-linux-x64cli-macos-x64start.shservice.shpackage.json is installed and up-to-date by running npm install commandnpm run build commandbin directory.agentconfig file can be generated or updated by running config command with additional arguments.node cli.js config --server-url https://analytics.katalon.com --username <email> --apikey <api_key> --teamid <team_id> --agent-name my-agentagentconfig has been created, the existing configuration will be overridden with the new value.config command with -h option. E.g. node cli.js config -h.service.bat on Windowsservice.sh on Linux and MacOS.Run --> Edit Configurations... -> + (Add New Configuration) --> 'npm'startNODE_ENV=debuglaunch.json file following the guidelaunch.json file:{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Start Agent",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}\\cli.js",
"args": [
"start-agent"
],
"env": {
"NODE_ENV": "debug"
},
"console": "integratedTerminal"
}
]
}
Start Agent launch configuration and start debuggingContent type
Image
Digest
sha256:029c3b3b3…
Size
2.3 GB
Last updated
about 1 year ago
docker pull katalonstudio/agent