1 Reply Latest reply: Oct 21, 2013 9:42 AM by Jamie_Lockhart RSS

    How to pass dynamic arguments in OpenScript?

    prateek.x.gupta

      Hi,

       

      I need to know how to pass dynamic Arguments in an open script. I tried doing the same by passing a value in VMArguments in Run Configuration as

       

      -DtxnID=7002

       

      and used the VUserSettings object to get the same but was not able to do so as we get a null value :

       

      VUserSettings settings = null;

      settings = getSettings();

      System.out.println(settings.get("txnID")); // prints null

       

      Can someone help please.

       

      Regards,

      Prateek