Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.
Anonymous_User Absent Member.
Absent Member.
398 views

Start test from script/cmd and pass variable


Hi,

I would like to test add/modify/delete of few (say 100) users with same
tests. The fastest way to do that is set variables (ex $CN) and just run
test from script/cmd that will increment is and pass every time when
test will performed. Is there a way to pass variable to test?


--
tower33
------------------------------------------------------------------------
tower33's Profile: https://forums.netiq.com/member.php?userid=4516
View this thread: https://forums.netiq.com/showthread.php?t=50069

Labels (1)
0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Start test from script/cmd and pass variable

tower33,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.netiq.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.netiq.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.netiq.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your NetIQ Forums Team
http://forums.netiq.com


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Start test from script/cmd and pass variable


If I understand correctly, you want to start a test from the
command-line and pass in a parameter that the test can use (a CN for
example). This is not a feature of Validator, you cannot pass any
parameters from the command-line that the test can use.

However, you can accomplish this in another way. You can write the
parameter value (like a CN) into a text file, then start the test from
the command-line. The test can then read the file using the text file
connector and set a variable with the value from the file. You can then
use this variable throughout your test.

Hopefully this helps.


--
bamund
------------------------------------------------------------------------
bamund's Profile: https://forums.netiq.com/member.php?userid=4529
View this thread: https://forums.netiq.com/showthread.php?t=50069

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.