Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Random Number in XML

samaiaiJun 14 2011 — edited Jun 16 2011
I have to generate a random number in a web request built in XML having params and values.

My web request is something like below:

<request action="createObject">
<params name="unique_name" value="123"/>
..
..
</request>
<response>
<assert ..
/>
</response>

the value 123 should be passed on random so that the req is taken care of automatically.

can I get this in some way of generating the number in same or someother xml or xsl.
will xpath can help in same way.

please suggest a sol.

thanks in advance
sam
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2011
Added on Jun 14 2011
1 comment
1,631 views