sgauravs13 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 LikedSort ByMost LikedOldestNewestgrussellContributor13 years agoTry putting the following in your SOAP message:${=5+1000*Math.random()}this will create a random number from 5 to 1005.
grussellContributor13 years agoTry putting the following in your SOAP message:${=5+1000*Math.random()}this will create a random number from 5 to 1005.
Related ContentGenerating SoapUI requestExpected Level of Service -Service RequestsREST service multipart/mixed request problemGenerating a schema for a generic list in c#Large WSDL file not generating Requests
Recent DiscussionsSoapUi gui with visual artifacts SoapUi unusableSolvedOpenJDK Multiple VulnerabilitiesSolvedPre-Request ScriptMTOM Soap12 Send Request got 500 issue in C# window applicationWS-Security Configuration XML Code