Answered question

Proxy Settings in an execution from Neoload Web

Dear Experts,
I seek a clarification on the usage of proxy in a user path ; especially when executed from Neoload Web.
I have set up a proxy to be used in a user path while replay and valdiated in the local machine. The project has been exported to Neolaod Web. In the Neoload Web, the load generators are different machines. When I execute a test, the user path gets failed with NL-RUNTIME-01 ; and also in the LOGS window during the test start up, I see below details
Loading Load Generators definition...
Load Generators definition loaded.
Validating Load Generators definition...
Load Generators definition validated.
Retrieving the proxies...
No proxy declared.
Use the infrastructure: Infrastructure
Launching scenario: scenario1 (00h:05m:00s)
Initializing...

${HOSTNAME_FRONT}/#!result/e9d8fa65-c07b-4568-aef9-f4a9e6e39ac0/overview
Initializing Monitors...
Pre-Monitoring...
Running

Please confirm if the proxy mentioned in the project is indeed used during an execution from Neoload Web which is using different load generating mahcines.

Harısh N.
Harısh N.

Harısh N.

Level
1
289 / 750
points
christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

Hi Harish,

The best way is to declare the full proxy settings in the Zones used by the Project. By this way, the Proxy settings are embedded in the Project and used by NeoLoad Web.

An alternative for a Controller deployed on a physical machine (and connected to NeoLoad Web) is to declare the appropriate Proxy settings on this Controller. With this approaches all Applications will use the same proxy to connect to the tested application.

Did you find this useful ?

No (1)

Yes (0)

0%

0% of users found this answer useful

Other answers

Harısh N.
Harısh N.

Harısh N.

Level
1
289 / 750
points

Hi Chritophe, Thanks for the response.
Please clarify what does the details in the LOBS section in Neoload Web imply when it says below
Loading Load Generators definition...
Load Generators definition loaded.
Validating Load Generators definition...
Load Generators definition validated.
Retrieving the proxies...
No proxy declared.
Use the infrastructure: Infrastructure
Launching scenario: scenario1 (00h:05m:00s)
Initializing...

${HOSTNAME_FRONT}/#!result/e9d8fa65-c07b-4568-aef9-f4a9e6e39ac0/overview
Initializing Monitors...
Pre-Monitoring...
Running

Is the proxy referred here is the application proxy or the load generator proxy?

christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

Here the logs refers to the application Proxy (Between LG and the tested app) as defined in the NeoLoad Project for each Zone.

Harısh N.
Harısh N.

Harısh N.

Level
1
289 / 750
points

Dear Christophe, Thanks again for the follow up action on this question. Based on the answer, I feel it's not working as epcted in my scenario. Since I am using a proxy in Application proxy (in Zone settings) which is between the LG and application under test. However in the Neoload Web Logs, its stated as "No proxy setting declared". So I guess something is wrong somewhere. It might be due to my own incorrect usage of the configurations. but need help to correct.

christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

Did you set 'Zone-specific Proxy' ?
'Common application proxy' refers to the Proxy defined on the Controller running the test.

Harısh N.
Harısh N.

Harısh N.

Level
1
289 / 750
points

Hi - Yes, zone specific proxy and its referred as a the one set in Preferences section for the Application proxy.

In the proxy zone for Application do not use the option "Common applications proxy settings.." but the third option "Zone-specific proxy" and manually add your proxy without referring to an existing proxy settings. (i.e manual settings)

Then make sure that the zone name in NeoLoad GUI and NeoLoad Web has exactly the same name. Export your project to NeoLoad Web and try again to run your test.

And "No proxy declared." in the log output will still be there it does not mean that no proxy is used between LG and application.

Harısh N.
Harısh N.

Harısh N.

Level
1
289 / 750
points

Hi Nouredine,
Thank you for your response.
When I import the project in Neoload Web, the zone names do not match with what I have named in Neoload GUI and what is seen in Neoload Web.
Just to add , the Neoload Web is set up in a private Cloud using Open shift platform.
Please assist how to make this zone names sync.

Harısh N.
Harısh N.

Harısh N.

Level
1
289 / 750
points

Hi Nouredine,
To create a new zone in Neoload Web, does the logged in user need to be an "admin" or a role with "tester" is sufficient? Because I don't see any option of adding a zone and am logged into Neolaod Web as a "tester" role.