Unanswered question

How to make NeoLoad web token not visible in Jenkins console

I have a NeoLoad test running from Jenkins. The Jenkins node the test runs on runs as a service and because of that under the system user. As a result NeoLoad cannot use NeoLoad web settings made under my own account.

In the NeoLoad plugin i added Custom Command Line Options = "-nlweb -nlwebAPIURL http://server:8080 -nlwebToken token".

But as a result of this, now these settings are shown in Jenkins console and anyone who has (read)acces to this console logging can see the url an toke of NeoLoad web. Is it possible to prevent the token from being visible in the console?

Patrick Z.
Patrick Z.

Patrick Z.

Level
0
81 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

Is this windows or linux? not that it matters, you can copy the configuration settings file from your profile to system users profile

Patrick Z.
Patrick Z.

Patrick Z.

Level
0
81 / 100
points

It is a Virtual Windows Server. What file(s) do i need to copy?

Patrick Z.
Patrick Z.

Patrick Z.

Level
0
81 / 100
points

At the moment i use the Mask Passwords Plugin. I use regex "-nlweb.*" to hide the token and more.

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

It sounds like this mask solves the issue. My thought was that these switches override the settings inside Neoload, you can configure these in Neoload directly and then the switches aren’t needed. The next issue is that they are for the Neoload started under your user, so we need to copy this configuration file to the system users profile. I can provide the path to file when I’m on my laptop