Answered question

How to configure licence url for controller image 6.8.0

I installed neoload web onprimise inside docker containers (Version 1.8.1).

for the controller I use image with tag 6.8.0.

When a testset is uploaded to nlweb the test scripts are sent to the controller, but when the controller start I receive:
"Unable to lease a license [Unknown Error. No host specified for license server.] "

Environment variables are set:
env:

  • name: MODE
  • value: Managed

    • name: NEOLOADWEB_URL
    • value: http://nlweb:8080

      • name: NEOLOADWEB_TOKEN
      • value: ${TOKEN}

        • name: LEASE_SERVER
        • value: NLWEB

          • name: ZONE
          • value: defaultzone

            When I start a terminal inside the container, a
            wget ${NEOLOADWEB_URL} shows the swagger-ui page.

            what url do I have to set?

            --- part of the controller log ----

            2019/01/13 16:35:25 INFO - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: BUSY
            2019/01/13 16:35:37 INFO - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: BUSY_DOWNLOADING_PROJECT
            File = /tmp/963af328-a14a-4391-8b04-b31c3db29c43/demo_tst.nlp
            2019/01/13 16:35:38 INFO - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: BUSY
            2019/01/13 16:35:44 INFO - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: BUSY_DOWNLOADING_INFRASTRUCTURE
            2019/01/13 16:35:44 INFO - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: BUSY
            2019/01/13 16:35:48 INFO - neoload.controller.agent.ControllerAgent: Proxy settings retrieved successfully.
            2019/01/13 16:35:56 INFO - neoload.controller.agent.ControllerAgent: Logging to /home/neoload/.neotys/neoload/v6.8/logs, as user: neoload
            2019/01/13 16:36:10 INFO - neoload.controller.agent.ControllerAgent: Unable to lease a license [Unknown Error. No host specified for license server.]
            2019/01/13 16:36:10 INFO - neoload.controller.agent.ControllerAgent: An error occurred during Controller initialization: null
            2019/01/13 16:36:10 INFO - neoload.controller.agent.ControllerAgent: Controller is stopping
            2019/01/13 16:36:10 INFO - neoload.controller.agent.ControllerAgent: Controller is stopped
            2019/01/13 16:36:10 INFO - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: READY
            2019/01/13 16:36:10 INFO - neoload.controller.agent.ControllerAgent: Controller agent is ready
            2019/01/13 16:36:20 INFO - neoload.controller.agent.ControllerAgent: Controller is stopping
            2019/01/13 16:36:20 INFO - neoload.controller.agent.ControllerAgent: Controller is stopped
            2019/01/13 16:36:20 INFO - neoload.controller.agent.ControllerAgent: Controller agent is ready

Machiel V.
Machiel V.

Machiel V.

Level
0
6 / 100
points
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

I would like to add addional comment. You need a shared license to run your test. Since 1.8.xx you can install your shared license on NeoLoad Web so it can be used for your test.

If you have a FREE edition license like i suppose you can't use the docker controller image this way since the license will not be found locally on your docker container.

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

Actually you can use NTS or NeoLoad Web as a license server since NeoLoad 6.8 and NeoLoad Web 1.8. But that means that you need a shared license and in your case you probably have a FREE edition license

But if you have a shared license you can install it directly on NeoLoad Web or you can use a NTS server. The best is to use NeoLoad Web to avoid installing a NTS.

 

christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

Free Edition License cannot be used for a Docker environment and cannot be shared through NLWeb or NTS.

If you want to evaluate such dynamic and collaborative deployment, please contact Neotys to request a Trial license: https://www.neotys.com/home/contact