What is the right way to run executions on TestOps agents (Local or Docker) using Katalon Runtime Engine

Hi there,

I am looking to learn the foundation of Katalon, and I am currently working on the Professional level certification. However, and I am stuck on the following:

  • 5 test run executions on TestOps agents (Local or Docker) using Katalon Runtime Engine

I don’t see a lot of documentation around this. The only documentation I found was: Test Execution with TestOps | Katalon Docs

I am not sure this helps me meet the requirements, because I was successful in executing the steps in the documentation. However, my task is still not showing complete.

I just want a bit of clarity around this task - and a bit of help to getting started if anyone has been on the same boat.

Thanks.

3 Likes

After some tinkering around, I feel I have found the correct way. No way to verify yet as the certifications page only refreshes at 00:00 UTC. Let me know if everything looks correct to run executions on TestOps agents using Katalon Runtime Engine:

  1. Download and install Katalon Studio from the Katalon website.
  2. Create a Test Suite or Test Suite Collection in Katalon Studio.
  3. Download Katalon Runtime Engine from the Katalon website.
  4. Go to the Katalon TestOps platform and create a project if you haven’t already.
  5. In your TestOps project, go to “Configurations” and then “Agent Setup”.
  6. Select “Local Environment”, choose your operating system, and download the agent (which will be downloaded as a zip file).
  7. Unzip the agent file to a location on your local machine.
  8. In Katalon Studio, open the “Build CMD” dialog by selecting your Test Suite or Test Suite Collection and clicking on the “Build” button.
  9. Choose your desired browser and platform for the test run, then click “Generate Command”. This will generate a command to run the test in the console.
  10. Copy the generated command to your clipboard.
  11. Open a Command Prompt or Terminal window on your local machine.
  12. Navigate to the directory where you unzipped the agent file.
  13. Paste the command you copied in step 10 into the Command Prompt or Terminal window.
  14. Append the following to the command: “-testOpsAgentType=local -testOpsLocalAgentPath=path\to\agent\file -testOpsLocalAgentPort=50001”. Replace “path\to\agent\file” with the actual file path to the agent you unzipped in step 7.
  15. Press “Enter” to execute the command.
  16. After the test run completes, verify the test results and reports in the TestOps platform.

@viet.nguyen

4 Likes

Hi @bibidhsubedi! First of all, thank you for your interest in Katalon solutions and the Certification Program. I’m glad you spent time exploring the steps yourself while waiting for response.

For your steps, I’m not sure it’s correct. But apparently, it worked since your dashboard updates that you completed this criteria.

For the steps I expect users to take:

  1. Set up an agent. Doc: Create a Local Test Environment with an Agent | Katalon Docs
  2. Go to Test Execution > Schedule Test Run > Choose your tests (you will need to connect the Git repo to TestOps) > Choose Local Test Environment for Where to run > Select the agent. Doc: Schedule Test Runs in TestOps | Katalon Docs
  3. Click on the Schedule or Run button
  4. After the test run completes, verify the test results and reports in the Katalon Platform

And congrats on your efforts on achieving the certificates :clap:

1 Like

Hello @bibidhsubedi,

Do you mind informing us if this steps worked with you? I’m currently looking for a way to do it as well.

@reemalsenan Look at my comment above, it worked!

You need to follow the steps provided here to complete the part of Certification course: “Test run executions on TestOps agents using Katalon Runtime Engine: 0/5”

which path will put?

The full quote includes the path I think? I haven’t tried but the instructions seem complete:
" 14. Append the following to the command: “-testOpsAgentType=local -testOpsLocalAgentPath=path\to\agent\file -testOpsLocalAgentPort=50001”. Replace “path\to\agent\file” with the actual file path to the agent you unzipped in step 7."

Hello, I have the same problem and have tried these steps. but I’m still confused about whether the process I did was successful or not. How do I know that the process I have carried out has been successful without having to wait for an update on the achievement of the certificate?

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

Hello, i tried to do this step below and it worked for me. I think we have to run testsuite through testop, not our local environment.

Finding it hard to meet some certification criteria? Then read this topic! - Product Forums / Katalon Academy - Katalon Community

1 Like

It’s nice to see you’re here helping others after getting certified @vz.pham :muscle: Keep it up!

2 Likes

Hi @viet.nguyen
I followed your instructions but did not increase my progress.


image
I’m grateful for your time and attention.

Hi there @Fu_Lin. I see that it has been updated. I guess it took some time to load the data for such requirement. Congratulations on the full collection of Katalon Certifications!

2 Likes

Thank you for your response

Hey @bibidhsubedi is this solution really working? I am looking for the solution as I am currently working on Katalon expert level certification.

Hi, @bibidhsubedi
Do i need to do any setup for cucumber bdd or all the above steps will work?
i have tried these but the run says incomplete