Service Virtualization

Expand all | Collapse all

Data Sets: in "Create a Numeric Counting Data Set", explicitly How to set/change the Property key value.

Jump to Best Answer
  • 1.  Data Sets: in "Create a Numeric Counting Data Set", explicitly How to set/change the Property key value.

    Posted 09-28-2015 01:31 PM

    Data Sets: in "Create a Numeric Counting Data Set", explicitly How to set/change the Property key value.

     

    Like,

    FROM: 1

    To: 5

    Increment: 1

     

    Explicitly after count 1, I want to set count as 6. So that loop will break.



  • 2.  Re: Data Sets: in "Create a Numeric Counting Data Set", explicitly How to set/change the Property key value.
    Best Answer

    Posted 09-29-2015 02:50 AM

    MKLISAMK,

     

    Set the increment value to 5 instead of 1, so that after first execution the count becomes 6.

     

    Salman



  • 3.  Re: Data Sets: in "Create a Numeric Counting Data Set", explicitly How to set/change the Property key value.

    Posted 09-29-2015 11:33 AM

    Excellent Salman! Setting ‘Increment’ value works.



  • 4.  Re: Data Sets: in "Create a Numeric Counting Data Set", explicitly How to set/change the Property key value.

    Posted 09-29-2015 04:57 AM

    You can also use property for Increment if at all if you want to control your logic based on property set.

     

    ex :

    prop=2

    FROM: 1

    To: 5

    Increment: {{prop}}

     

    it will execute 3 times  - ie 1, 3 , 5



  • 5.  Re: Data Sets: in "Create a Numeric Counting Data Set", explicitly How to set/change the Property key value.

    Posted 09-29-2015 11:34 AM

    Excellent Deepu! Setting ‘Increment’ value via Property works.