We can do GET Request to UUID Tools endpoint to generate UUID from Postman client.
Endpoint:
https://www.uuidtools.com/api/generate/v4
Script in Postman:
let jsonData = JSON.parse( responseBody);
postman.setGlobalVariable( "UUIDValue", jsonData[ 0 ] );
