Seed Data – Random Values

Document created by Salvador Camacho Reyes Employee on Jul 24, 2017Last modified by Salvador Camacho Reyes Employee on Jul 24, 2017
Version 2Show Document
  • View in full screen mode

Example Use Case: We want to randomize a seed data value, for example search terms, usernames, etc.

 

This would be similar to LoadRunner Select next row: Random and Update value on: Each Iteration. Similar in configuration to this one except that you'll need to select the “Row traversal type” to Random.

 

For a similar LoadRunner setup of Select next row: Random and Update value on: Each Occurrence, check here. Only select the “Row traversal type” to Random.

 

For a similar LoadRunner setup of Select next row: Random and Update value on: Once, check this. Only select the “Row traversal type” to Random.

 

For setting this up, you’ll need to declare a property at the clip level and modify the “Row traversal type” to “Random with replacement” or “Random without replacement" according to your needs. Also the most common setup would be “The same single slice of seed data will be sent to all servers” under “Server allocation” and set the “Maximum rows per server” to the number or rows in the seed data (in this case 10000). Check here for more info.

 

Check “Save value for analytics” to see the values used after the composition is played with the widget “Property Value Composition Analysis”. You can change the other settings depending on your needs, as for this example I’ve left the default values.

 

This setup works for a composition that uses the two most common setups: Infinite Clip Repeats (Renew Parallel Repeats Disabled for the Track, first image below) as well as for Renew Parallel Repeats Enabled for the Track (Clip Repeats Disabled, second image below).

  

Find attached a composition with the second configuration (using Renew Parallel Repeats). Since it is set to renew parallel repeat, it will run infinitely, make sure to stop it after some iterations have completed to see the behavior. The composition is set to “Preview Mode”, meaning it will not be sending any traffic to the target but it will compute the seed data distribution.

Outcomes