re-use generated value

Hi,

I have created an email that includes a random integer.

.formParam(“email”, session => s"random@${new Random().nextInt(Int.MaxValue)}.com")

However, I wondered if it was possible to save that value and use it in another request?

Many Thanks

Adrian

Just set it first in the session. exec(_.set(“randomDomain”, …))