sgauravs14 years agoGenerating random string for web service requestHi,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 ReplyReplies sorted by Most LikedgrussellContributor14 years agoTry putting the following in your SOAP message:${=5+1000*Math.random()}this will create a random number from 5 to 1005.
grussellContributor14 years agoTry putting the following in your SOAP message:${=5+1000*Math.random()}this will create a random number from 5 to 1005.
Recent DiscussionsSoapUI - Apache Commons FileUpload (CVE-2025-48976)(High)Log4j vulnerability (CVE-2025-68161)Signature\Encryption tags missing in Security Header
Related ContentGenerating SoapUI requestHow to log requests in a mock serviceOCR service failed. request contains invalid argument