Bug 54418 - UUID Function
UUID Function
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.8
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-01-14 20:28 UTC by Casey Dunham
Modified: 2013-01-14 22:11 UTC (History)
2 users (show)



Attachments
Includes new function and documentation built against trunk (3.85 KB, patch)
2013-01-14 20:28 UTC, Casey Dunham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Casey Dunham 2013-01-14 20:28:44 UTC
Created attachment 29850 [details]
Includes new function and documentation built against trunk

Testing a web service that requires a UUID as part of the request and all of the solutions that I have seen (e.g. using JavaScript to generate the UUID) have been a bit ugly. 

The provided patch creates a new function __UUID() that takes no parameters and just returns a random type 4 UUID generated from Java's built in UUID.randomUUID().
Comment 1 Philippe Mouawad 2013-01-14 22:11:26 UTC
Date: Mon Jan 14 22:10:40 2013
New Revision: 1433168

URL: http://svn.apache.org/viewvc?rev=1433168&view=rev
Log:
Bug 54418 - UUID Function
Bugzilla Id: 54418

Added:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/Uuid.java   (with props)
Modified:
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/functions.xml