garymags
5 years agoOccasional Contributor
how to use a variable from a groovy script in the resource patch
Hi, I found a knowledgebase article that explained how I can use a groovy script step in a testcase to generate a random uuid: // Generating a random variable value. def uuid = UUID.randomUUID(...
- 5 years ago
garymags :
Name in bold should be same as the name of your properties test step:
testRunner.testCase.getTestStepByName("Propertes").setPropertyValue("uuid",uuid.toString())
correct it and you are good to go 🙂