Hmm it seems that while its running on the KRE, it isn’t using the agent. If i add the appended code for the agent or not, the actions are the same and the agent isn’t doing anything.
This is my command:
katalonc -noSplash -runMode=console -projectPath=“LOCALPROJECTPATH” -maxFailedTests=3 -retry=0 -testSuitePath=TESTSUITEPATH" -browserType=“Firefox” -executionProfile=“default” -apiKey="APIKEY -testOpsProjectId=1232830 --config -proxy.auth.option=NO_PROXY -proxy.system.option=NO_PROXY -proxy.system.applyToDesiredCapabilities=true -webui.autoUpdateDrivers=true- testOpsAgentType=local -testOpsLocalAgentPath=PATHTO LOCALAGENT\Documents\katalon-agent-win-x64-v1.7.6 -testOpsLocalAgentPort=50001
so it told me to add: testOpsAgentType=local -testOpsLocalAgentPath=PATHTO LOCALAGENT\katalon-agent-win-x64-v1.7.6 -testOpsLocalAgentPort=50001
(I censored PATHTOLOCALAGENT, but it is the correct folder)
if i add it or not, it just runs it through the KRE, and the local agent does nothing. I also dont see the local agent doing anything after checking testops.
I’m also getting more and more confused.
Here I’m being told to schedule the agent on KRE with a command from katalon studio, appended with code that says to use the agent:
Download and install Katalon Studio from the Katalon website.
Create a Test Suite or Test Suite Collection in Katalon Studio.
Download Katalon Runtime Engine from the Katalon website.
Go to the Katalon TestOps platform and create a project if you haven’t already.
In your TestOps project, go to “Configurations” and then “Agent Setup”.
Select “Local Environment”, choose your operating system, and download the agent (which will be downloaded as a zip file).
Unzip the agent file to a location on your local machine.
In Katalon Studio, open the “Build CMD” dialog by selecting your Test Suite or Test Suite Collection and clicking on the “Build” button.
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.
Copy the generated command to your clipboard.
Open a Command Prompt or Terminal window on your local machine.
Navigate to the directory where you unzipped the agent file.
Paste the command you copied in step 10 into the Command Prompt or Terminal window.
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.
Press “Enter” to execute the command.
After the test run completes, verify the test results and reports in the TestOps platform.
But this doesnt do anything with the agent, the appended code does nothing.
and here I’m being told to schedule the test using testops and selecting the local agent
I’ve just turned off the local agent, ran the code in the CLI for the KRE again, and it runs the same. so the local agent is not doing anything. so I’m not achieving the “local agent” part of the requirement.
If you look at my original post you can see I already did 5 tests like you said last week, and they did not count.
I’ve done 5+ tests in the KRE like you’ve instructed me, and I’ve done 5+ tests using a local agent in testops like you’ve shown me, and I did them 3 days ago.
Still both of them are not counting. Hence my original question if I am doing something wrong or misunderstanding what I need to do for the requirement.
Thank you for your interest and participation in the Katalon Certification Program. For your issue, I will go and check with the team to ensure the tracking system is still working fine. Will keep you posted on this.
In the meantime, could you list the detailed steps you did for this requirement? I understand it’s kind of frustrating when we get stuck. But if you could record the screen and the steps, it would be great and super helpful (to make sure everything is done correctly).