I need to install my load generators in silent mode but i do not want to answer all the questions like installation directory, service etc...the goal is to automate the installations of my agents.
When you manually install NeoLoad controller or agents there's a response file that is automatically generated by the NeoLoad installer.
This file can be found under <NeoLoad_install_dir>\.install4j folder.
This folder is hidden by default so make sure that your file explorer is configured to display hidden folders.
If you need to install a load generator on a different machine in silent mode then thanks to that file you can do it a completely automated way.
This is the command to execute to use that response file:
./neoload_6_2_0_linux_x64.sh -q -varfile /Myfolder/response.varfile
As an example this is the content of that response.varfile for a load generator:
# install4j response file for NeoLoad 6.2.0
executeLauncherAction$Boolean=false
installService$Boolean=false
startOnBootUp$Boolean=false
sys.adminRights$Boolean=true
sys.component.Common$Boolean=true
sys.component.Controller$Boolean=false
sys.component.Load\ Generator$Boolean=true
sys.component.Monitor\ Agent$Boolean=false
sys.installationDir=/data/NeoLoad/LG6.2.0
sys.installationTypeId=Load Generator
sys.languageId=fr
sys.programGroupDisabled$Boolean=false
sys.symlinkDir=/usr/local/bin