Webpage only loading partially when running automated UI tests with AWS Codepipeline and Katalon Studio Docker image

0

I am trying to run automated UI tests on the pipeline using AWS codepipeline. The test runs perfectly fine on local but the dashboard/homepage of the application only loads partially (the table showing the orders is never loaded) when the test is run on AWS codepipeline using Katalon Studio docker image. This issue has been occurring since February 2023. We were able to run tests perfectly fine up until mid February.

Any thought or suggestions would be much appreciated.

1 Answer
0

Hello,

Thank you for reaching out to us.

For us to check if its a CodePipeline issue please share with us the following :

  • Pipeline name that you are using
  • The AWS region

If you are using CodeBuild to perform your tests, please use pause-resume feature with CodeBuild. This will allow you to connect to the build and debug any issue before you resume the build.In summary, you will follow the steps below.

  1. Enable session connection for the AWS CodeBuild
  2. Add codebuild-breakpoint command  to your buildspec.yml
  3. Start a build for debugging
  4. Connect to the build container either by using CodeBuild console or AWS CLI
  5. Resume the build with codebuild-resume command

For more information about pausing the build and connecting to the build, please refer to our guide : https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html

Please also reach out to Katalon Studio support team and check with them about this issue.

AWS
answered a year ago
  • Hi,

    Our suspicion is that an API is getting blocked on AWS codepipeline (because the issue I mentioned only happens on the AWS codepipeline and not when running locally). Is there a way to enable/disable APIs that are allowed to be called in AWS codepipeline. This used to work fine for us until February but then stopped working. We have tried reverting our codebase to January to rule out any code changes being the cause but the issue still persists.

    Thanks,

    Umair

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions