Unanswered question

How to set Load Generator settings on Linux via ssh?

I've inherited a Neoload setup which consists of a Win Server 2016 acting as controller and 40 Ubuntu virtual machines acting as Load Generators.

I can execute tests from the Neoload installation on the Controller (which utilizes all 40 LGs), but I would like to run tests from https://neoload.saas.neotys.com/

I can setup the controller, or any other Windows machine, as a Load Generator on it's own using LoadGeneratorAgent.exe (see attached scrshot).

How do I do the same on a Linux installation?

I've located the LoadgeneratorAgent on the Linux machines in /usr/local/Neoload7.1/bin/ but how do I start these with the correct zone and access token?

There is no Desktop Environment installed, so all I have is a ssh connection.

Nicolai I.
Nicolai I.

Nicolai I.

Level
0
67 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

You will need to edit the load generator agent properties file within the users profile. it will be in the .neotys directory, I will start my linux vm now...

The content of that panel is stored on Linux under $HOME/.neotys/neoload/yourversion/conf

Look at the agent_user.properties file. You can duplicate what you already have in your Windows environment for the same file.

The content should be like this:

[Web]
neoload.web.resource.address.port=7100
neoload.web.resource.address.host=192.168.0.5
neoload.web.resource.zone=
neoload.web.saas.secretToken=f522e37a4c1c7a24c9208b69314f708888f0ab9632ca8d65
neoload.web.saas.url=https\://neoload-rest.saas.neotys.com

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

this should give you everything you need...

(edit: Nouredine beat me to it :)

Nicolai I.
Nicolai I.

Nicolai I.

Level
0
67 / 100
points

Awesome, thanks Neil and Nouredine.
Now I can get further with the web test. The LGs are an older version, NL v6.3, but that shouldn't stop me.

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

it might, I think it was around 6.8, that Neoload Web 1.8 stopped supporting 6.7 LGs (and earlier). you're fine moving forward but I think there was some architecture change. See how you get on

Nicolai I.
Nicolai I.

Nicolai I.

Level
0
67 / 100
points

I did get an error about a LG agent already runinng, but ps -aux reveal no other processes running.

Starting an agent did create new dirs under 7.1/conf incl the user_agent.properties

I've got an idea of which direction to go from here, so again thanks for your help. It's greatly appreciated :)