Forum Discussion

sriramd's avatar
sriramd
Occasional Contributor
7 years ago

Integer Generator - How to use randomly generated number twice

 

 

on Data source - Integer generator step, I need to use a randomly generated number twice. but those numbers have not to be duplicate. I'm giving the "number of rows" is 2. But how to access the randomly generated the second number?

 

 

1 Reply

  • groovyguy's avatar
    groovyguy
    Champion Level 1

    DataSource - Data Generator will generate one value per run for every property that you set up. If you need two random integers in one set up two properties on the data source, with each one being a generator. The number of rows selection is for the "Sample" output to show the effects of your configuration. 

     

    If you need two separate tests to run with two integers, you would have to set up a Data Source loop.