Forum Discussion

bowlej's avatar
bowlej
New Contributor
9 years ago

Using a variable in an XML request

Hi all,   I have set up a test case that has 3 test steps:   1. A script that creates a variable which is UUID, variable name "uuid" 2. A script that created a variable which is a unique email a...
  • nmrao's avatar
    9 years ago
    In your script, you need to add the uuid, and email to the context, then only you will be able to use them like you wish to.

    for instance:
    def uuid = "243d-3432-kja-dkfkfjdkd"
    context.uuid = uuid