Bug 54418

Summary: UUID Function
Product: JMeter Reporter: Casey Dunham <casey.dunham>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: casey.dunham, p.mouawad
Priority: P2    
Version: 2.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Includes new function and documentation built against trunk

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