Troubleshooting TrueTest issues
This document lists out all the common issues and solutions you can encounter when setting up and using TrueTest autonomous test generation. You can look for the troubleshooting with the corresponding error code.
04-06-0035
Failed to clone the script repository due to incorrect credentials.
When configuring script repository in TestOps, you can input email or Git username in the Username field. However, Katalon AI Agent cannot commit test cases to a script repository with an email form username.
04-06-0045
Personal Access Token is not granted with WRITE permission.
Katalon AI Agent failed to generate user journey map.
The agent failed to generate test cases because it was not able to commit the tests to the repository.
To generate and store test cases, Katalon AI Agent requires Write permission to the configured Git repository. When setting up test environment for the agent, you need to link a Git script repository with Write permission.
If your Git script repository is not configured with Write permission, you need to reconfigure the script repository's personal access token with Write permission. See: Configure a Git repository in TestOps.
The following are some specific examples of Write permission configuration for different Git providers.
- GitHub personal access token: you need to provide the
repo:status
scope. See: GitHub available scopes. - GitLab personal access token: you need to assign the
write_repository
scope. See: GitLab personal access token scopes. - Atlassian Bitbucket Repository Access Token: you need to provide the
repository:write
permission. See: Bitbucket Repository Access Token permissions. - Azure DevOps access token: you need to provide the
vso.code_write
scope. See: Azure DevOps access token scopes. - AWS CodeCommit Git credentials: you need to create an IAM policy with write access to repository. See: AWS managed policies for CodeCommit.
04-06-0055
Failed to push test artifacts to a protected git branch.
The Katalon AI agent cannot push and commit generated test artifacts to a protected git branch although the Personal Access Token has been granted with WRITE permission.