Skip to content

AndroidNextdoor/katalon-aws-workshop

Repository files navigation

Katalon AWS Workshop

PowerPoint slides from the workshop can be found in Testaholics_Workshop.pptx

PRE-REQUISITES

This is a repo used to demonstrate integrations between Katalon and AWS. It accompanies an AWS Kickstarter here

Update your aws credentials file with profiles outline in the AWS-Kickstarter

Set ENV Variables

  • REGION=<YOUR DEFAULT REGION>
  • AWS_ACCOUNT_ID=<YOUR AWS ACCOUNT>
  • ORG=<YOUR AWS ORGANIZATION>
  • KATALON_API_KEY=<YOUR KATALON API KEY>

If you need help setting an environment variable, please refer to this article for help.

READ THIS BEFORE OPENING A KATALON PROJECT FOR THE FIRST TIME

Katalon-Projects use gradle tasks to perform setup tasks i.e. getting dependencies To get started, use IntelliJ IDEA to synchronize the gradle tasks and run the katalonCopyDependencies tasks in the project you are opening for the first time.

Alternatively you can run the following gradle commands in the project you would like to configure.

  • ./gradlew :$PROJECT:katalonCopyDependencies

Once start-up files have been initialized, you can open the $PROJECT in Katalon.

Many of the scripts in the _cli do not actually work without configuration of ENV variables in AWS SecretsManager. ENV variables are set by retrieving secrets from AWS.

Demo Docker Configuration

The Dockerfile and docker-compose.yml files contain sample configuration that can be used to network a katalon docker instance with a mysql database. Sample docker scripts can be found in _cli/docker

AwsKeywords.jar plugin

To update the aws keywords jar for all projects:

  1. Run the clean gradle task (Tasks>build>clean)
  2. Run the Keywords specific katalonPluginPackage gradle task (Keywords>Tasks>other>katalonPluginPackage) - this step takes a bit of time (can take 5+ minutes), wait for it to finish
  3. Move the generated AwsKeywords*.jar file found in AwsKeywords/build/libs into the $PROJECT/Drivers folder.
  4. Finally, you will need to run katalonCopyDependencies gradle task (Project:Tasks>other>katalonCopyDependencies) again before opening a project in Katalon. If this step is forgotten, errors will be present when opening the project in Katalon.

About

Multi Katalon Project Gradle Repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published