Page 1 of 1

Re: By Using Row generator stage to genrate a test data

Posted: Thu Mar 31, 2011 6:00 am
by samyamkrishna
Is there any specific reason you are using teh schema file. to generate test data.

Posted: Thu Mar 31, 2011 8:14 am
by reddy82
we have to produce the tset data according to schema file for testing purpose

Posted: Thu Mar 31, 2011 9:14 am
by dreamcafe
Hi, reddy82. I think you should define the column properties list to generate the testing data.

For example.

record nullable {final_delim=end, delim=';', quote=none, null_field="s"}
(
ACTION: not_nullable string[MAX=1] {cycle={value='a'}};
TEST1 : not_nullable string[MAX=2] {cycle={value='b', value='bb'}};
TEST2 : not_nullable string[MAX=3] {alphabet='abcdef'};
TEST3 : not_nullable string[MAX=4] {alphabet='abcdefhij'};
MSISDN: not_nullable string[MAX=100] {alphabet='abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'};
)

Posted: Thu Mar 31, 2011 3:33 pm
by ray.wurlod
Leave out not_nullable from the field definitions. Leave out nullable from the record declaration. Both are incorrect. Field are not nullable unless marked nullable. Records can not be nullable.