Home

Results 1 to 3 of 3

Thread: Start test from script/cmd and pass variable

  1. #1
    tower33 NNTP User

    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


  2. #2
    Automatic reply NNTP User

    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



  3. #3
    bamund NNTP User

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •