Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHello,
The LoadTestContext doesn't have a getPropertyValue method, so that may be why your Groovy Test Step is failing. Instead use something like:
What is the Load Script you mentioned? Are you referring to the TestCase Setup Script?
Regards,
Dain
eviware.com
The LoadTestContext doesn't have a getPropertyValue method, so that may be why your Groovy Test Step is failing. Instead use something like:
//Set a property:
context.LoadTestContext['UserPrefix'] = "Some value"
//Read a property:
def user_prefix = context.LoadTestContext['UserPrefix']
What is the Load Script you mentioned? Are you referring to the TestCase Setup Script?
Regards,
Dain
eviware.com