Forum Discussion

mbennison85's avatar
mbennison85
Occasional Contributor
7 years ago

DataGen 'number' not steping

Im trying to make a number step through for 100 times but without the manual input.   With the script template for 'RIDend'  "def end = context.expand('${Van UQ - DataGen#RelationId}') a...
  • HimanshuTayal's avatar
    7 years ago

    Hi mbennison85,

     

    I think you have to give the Int value in both start and end you can't parameterize it.

     

    If you want to achieve this you can write below into you request directly

     

    ${=org.apache.commons.lang.RandomStringUtils.randomNumeric(5)}

     

    where 5 is the length