cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

is there any way to create random value in impex?

0 Likes
748

is there any way to create random value in impex? ex) UUID.randomUUID()

or How to create unique value for test data by using impex?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes
 INSERT_UPDATE ABC;code[unique=true];@random[translator=com.test.random.translator.RandomUUIDGenerateTranslator]
 ;123;


create this class RandomUUIDGenerateTranslator in com.test.random.translator package and write your custom logic in it.

For reference see ConvertPlaintextToEncodedUserPasswordTranslator class.

0 Likes

Thank you!

Answers (0)