Forum Discussion

c0dy1's avatar
c0dy1
New Contributor
12 years ago

DataGen Range Limits?

I'm using Pro 4.6.0 and trying to implement a DataGen for one of my test cases. It requires large integer values but it doesn't seem to work as I would expect. The DataGen's Type is Number, Mode is Step, Persist is "Persist series between test runs", Start value is 2140000000, end value is 2149999999. I run the step repeatedly by itself but it sticks at 2140000000. Behavior is normal for smaller values so I think I'm running into some kind of size constraint. Can this size be increased? Thanks!

4 Replies

  • Hi,

    As a reminder you can post in the Pro forum since you are a SoapUI Pro user. Unfortunately, this is a known issue with DataGen.

    Defect SOAP-905 is tracking this problem.
  • c0dy1's avatar
    c0dy1
    New Contributor
    Ok great. Thanks for your feedback. Is there any place I can view the bug, or is that internal?
  • Also, the current workaround for this issue is to use a Groovy script with code like this:

    in n = Min + (int)(Math.random() * ((Max - Min) + 1))


    Thanks,
    Michael Giller
    SmartBear Software