Forum Discussion

sgauravs's avatar
13 years ago

Generating random string for web service request

Hi,
I have a SOAP request and want to generate a unique random string for every request in SOAP UI. This random string will be passed in SOAP request. Is there any way to do this ?

Thanks,
Gaurav.

1 Reply

  • Try putting the following in your SOAP message:
    ${=5+1000*Math.random()}

    this will create a random number from 5 to 1005.