Generating Re-runnable Test Data
To run a flow multiple times, some fields might need unique values for each run. Instead of changing the value in the databank, we can enable re-runnable test data so that the test data is generated randomly every time the flow is run.
This chapter describes the options available on how the random data generated can be configured.
Requirement
Test Data Structure
Example Test Data
Generated String
A specified number of random lower case characters need to be appended to the given test data.
<int>?data
4?van
3?appl
6?AC
2?
?
vancara
applxtg
ACkdbvdl
nd
ufdbn
A specified number of random upper case characters need to be appended to the given test data.
<int>U?data
4U?van
3u?appl
6U?AC
2U?
U?
vanCARA
applXTG
ACKDBVDL
ND
UFDBN
A specified number of random lower case characters need to be prefixed to the given test data.
<int>B?data
4B?van
3b?appl
6B?AC
2B?
B?
caravan
xtgappl
kdbvdlAC
nd
ufdbn
A specified number of random upper case characters need to be prefixed to the given test data.
<int>BU?data
4BU?van
3bu?appl
6Bu?AC
2BU?
BU?
CARAvan
XTGappl
KDBVDLAC
ND
UFDBN
A specified number of random numbers need to prefixed to the given test data
<int> d?data
d?ABCD
2d?ABCD
ABCD32940
ABCD43
A specified number of random numbers need to suffixed to the given test data
<int> bd?data
bd?ABCD
4bd?ABCD
32940ABCD
1534ABCD