-3

I am new to python and i am trying to first read a json request file and then i will get a json response which will have dynamic id . My question is how to generate dynamic-id in json response using python can i use a js function for the same using python?

for eg 
function() {
var UUID = Java.type('java.util.UUID') 
var someUuid = UUID.randomUUID().toString(); 
var obj = { someName: 'E2E Test - ' + someUuid, } 
return obj;
}

0 Answers0