Answered question

Test Environment Management : When running NeoLoad test from Jenkins

Hello,
I am trying to run my Neo Load test scripts with CI tool jenkins , and I am successful in doing so. But it runs against the server which I used while recording the script , I would like to have an option to change this easily from jenkins end it self before running the test..

If I run with neo load GUI,I can easily edit the server details which is linked to each of the requests present in the test.I do this from the {{Servers}} section...

I am looking for a way to pass a parameter or so while trigerring the build from the jenkins , so that this parameter would replace the sever to which all the load requests would get hit... ( otherwise everytime i will have to lainch GUI and edit this and save .nlp file which gets passed to jenkins )

Is any one know how we can do this ..? how to create such a variable from GUI and which can be replaced while running from jenkins ?

Thanks,

Musaffir L.
Musaffir L.

Musaffir L.

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

Nouredine A.

Level
4
5000 / 5000
points
Team

In the coming NeoLoad version available mid-September there will be an option to override a variable to a specific value through command line.

So by using a constant variable in your server definition you will be able to override its default value directly through Jenkins in the command line options.

That should suit your need but currently it's not possible with the existing NeoLoad version.

Did you find this useful ?

No (0)

Yes (2)

100%

100% of users found this answer useful