I have tried:
${__ RandomString (qwerty,"@",".com") }
but it is not fine. I wonder how can I create this type of random email addresses? I haven't added anything in the Random Variable because I am not sure that I need to use it.
I have tried:
${__ RandomString (qwerty,"@",".com") }
but it is not fine. I wonder how can I create this type of random email addresses? I haven't added anything in the Random Variable because I am not sure that I need to use it.
As per Using JMeter Functions guide __RandomString() function takes 3 parameters:
So to get line of 10 alphabet characters you can use __RandomString function as follows:
${__RandomString(10,abcdefghijklmnopqrstuvwxyz,)}
mail format:
RandomString(COUNT_OF_CHARS,LIST_OF_CHARS,) + '@' + RandomString(COUNT_OF_CHARS,LIST_OF_CHARS,) + '.' + RandomString(COUNT_OF_CHARS,LIST_OF_CHARS,)
We can specify how many characters it should contain using function ${__Random(MIN,MAX,)}
So finaly it may look like:
${__RandomString(${__Random(3,9,)},abcdefghijklmnopqrstuvwxyz,)}@${__RandomString(${__Random(2,3,)},abcdefghijklmnopqrstuvwxyz,)}.${__RandomString(${__Random(2,3,)},abcdefghijklmnopqrstuvwxyz,)}