Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I run Katalon test suite in Jenkins inside Docker

I have a Katalon test suite setup and it runs great in the UI and from the CLI on the machine where I have Katalon studio installed.

I have Jenkins CI server running in a docker container, and I would like to setup a job to run my test suite on that Jenkins server.

What runtime do I need on the Jenkins server so it can run a Katalon job? Is there a runtime or a plugin for Jenkins for this?

If not, is there a docker container for Katalon that I can use to remotely run the job via jenkins, like the SonarQube stuff?

like image 847
mikeb Avatar asked Sep 12 '17 19:09

mikeb


People also ask

Can we integrate Katalon with Jenkins?

Jenkins is an open-source automation server. Jenkins provides hundreds of plugins to support building, deploying, and automating any project. You can integrate Jenkins with Katalon Studio and execute Katalon tests with Jenkins.


1 Answers

EDIT - New answer from Katalon support

I got a new response from Katalon support that says:

First of all, I would to sorry for my answer due to I'm not giving out the proper one based on your question. I've reviewed again your question and see Katalon Studio have Linux version (http://download.katalon.com/4.8.0/Katalon_Studio_Linux_64-4.8.tar.gz) for console mode execution and it's ideally to package it into your dockerfile.

That's more like it, and with the documentation here it should be pretty straightforward to get it working with Docker:

https://docs.katalon.com/display/KD/Console+Mode+Execution

Hope this answer resolve your question better :).

END EDIT


ORIGINAL

I created a ticket on the Katalon Studio website asking this same question, and I got this (laughable) response:

First of all, there is no Dockerfile for Katalon Studio. It will be hard and complicated to do this and we also do not have a plan to do it in the future :). But we will try to consider with your request to see if there is any applicable adjustment to this case.

In other words, no Docker solution. It's too bad that we can't use it for our CI stuff, since I had good results with the prototyping I did.

Oh well.

like image 79
mikeb Avatar answered Oct 14 '22 14:10

mikeb