Hi,
I am starting the ready-api-soapui-testrunner (https://hub.docker.com/r/smartbear/ready-api-soapui-testrunner) from within a git pipeline. The container starts and connects to the license server, but the license server asks which license type i want to aquire. At this point I am running in a git runner and there is no way to provide input to the container.
Is there any way to provide this in the docker run command or something alike?
Heres where the pipeline times out waiting for input:
$ docker run -v="testproject":/project -v="testprojectr":/reports -e LICENSE_SERVER="xx.xx.xx.xx:9999" -i smartbear/ready-api-soapui-testrunner:latest
Please select the tool for which you want to get the floating license:
1. SoapUI Pro
2. LoadUI Pro
3. Secure (if you have an old license)
4. ServiceV Pro
5. VirtServer
6. ReadyAPI Bundle
7. TestEngine
8. swaggerhub
9. swaggerhub2
Solved! Go to Solution.
We had a similar issue and after a few online sessions this is what we have working now.
Run docker pull ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest
docker pull ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest
mkdir -p /tmp/reports
mkdir -p /tmp/ext
PWD=`pwd`
PROJ='radigio-automated-tests'
PROJECT="${PWD}/${PROJ}"
REPORT="/tmp/reports"
EXTN="/tmp/ext"
docker run -v="${PROJECT}":/project -v="${REPORT}":/reports -v="${EXTN}":/ext -e "JAVA_OPTS=-Xms128m -Xmx8192m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:MaxPermSize=256m -Dsoapui.properties=soapui.properties" -e LICENSE_SERVER="sblicense.net:1099" -e COMMAND_LINE=" -f/reports '-RJUnit-Style HTML Report' -FHTML '-EMSP_QA1' '-TTestSuite Proposals' '-TTestCase Proposals' '/project' " ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest
Hi @Chry007,
Please take a look at the Required license paragraph of the Functional Tests in Docker article. Does it answer your question?
This is still not resolved. By now I get an error message though. It looks like the license Server is contacted succesfully, but still no license can be aquired, even though there are floating licenses remaining on the server.
The error Message from the log is as attached.
Hi @Chry007,
Sorry to hear that the issue still persists. I recommend that you submit a ticket to our Support Case - I'm sure they will help you figure out this licensing issue. You can reach out to them here:
https://support.smartbear.com/message/?prod=readyapi
We had a similar issue and after a few online sessions this is what we have working now.
Run docker pull ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest
docker pull ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest
mkdir -p /tmp/reports
mkdir -p /tmp/ext
PWD=`pwd`
PROJ='radigio-automated-tests'
PROJECT="${PWD}/${PROJ}"
REPORT="/tmp/reports"
EXTN="/tmp/ext"
docker run -v="${PROJECT}":/project -v="${REPORT}":/reports -v="${EXTN}":/ext -e "JAVA_OPTS=-Xms128m -Xmx8192m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:MaxPermSize=256m -Dsoapui.properties=soapui.properties" -e LICENSE_SERVER="sblicense.net:1099" -e COMMAND_LINE=" -f/reports '-RJUnit-Style HTML Report' -FHTML '-EMSP_QA1' '-TTestSuite Proposals' '-TTestCase Proposals' '/project' " ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest
Thanks for sharing your solution with us, @dbuchanan.
@Chry007, does it work for you?
User | Count |
---|---|
6 | |
5 | |
4 | |
2 | |
1 |
Subject | Author | Latest Post |
---|---|---|