Answered question

How can i find my Neoload Web URL for On-Premise deployment?

Hello,
I have already successfully integrated the Neoload web backend and frontend into docker.
To integrate the load generator and controller in Neoload Web, I have to enter the variable NEOLOADWEB_URL.
Where can I find out where that is defined?

Niklas H.
Niklas H.

Niklas H.

Level
1
168 / 750
points
Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

Unless the controller and LG are on that same box, it won't work, you should use the real IP or hostname

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

it's the api URL defined in your all-in-one yaml

Niklas H.
Niklas H.

Niklas H.

Level
1
168 / 750
points

I entered the exact NEOLOAD_WEB_API_PUBLIC_URL. Why can the connection still not be established?

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

You will need to provide more details, can your machine see that URL, yiu can paste it into a browser and you should see a swagger page. Do you have screenshots?

Niklas H.
Niklas H.

Niklas H.

Level
1
168 / 750
points

I initialize each url with my localhost.

NEOLOAD_WEB_PUBLIC_URL: http://127.0.0.1/
NEOLOAD_WEB_API_PUBLIC_URL: http://127.0.0.1:8080
FILE_STORAGE_ROUTER_BASE_URL: http://127.0.0.1:8081

The Docker controller is also started with the localhost

-e NEOLOADWEB_URL = http://127.0.0.1:8080 \

Niklas H.
Niklas H.

Niklas H.

Level
1
168 / 750
points

I made the API for the backend publicly available using ngork. Now I can access the server from the docker loadgenerator. But there are the following error messages. 400 BAD REQUEST.

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

Are you able to login to your Neoload Web? does the api URL display a swagger page? your Neoload web might be misconfigured. You would need to provide more detail or raise a support case. Do you have active maintenance?

Niklas H.
Niklas H.

Niklas H.

Level
1
168 / 750
points

The Docker container cannot access the localhost of the running machine.

The problem was solved as follows.

Since no production environment was available, a local tunnel for the API URL was created so that the Docker container can access it.