Passing context variables from load test setup scripts to testcase script returns null
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2015
05:56 PM
10-11-2015
05:56 PM
Passing context variables from load test setup scripts to testcase script returns null
I am using SoapUI 5.21. on windows 10 and I need to pass context variables from my load test setup script to teststep script.
I followed this in the load setup script
def array1 = ["a", "b", "c"]
context["myarray"] = array1
and tried retrieving it from test case script like
def arr = context.LoadTestContext["myarray"]
log.info(arr)
when I run the load test I get null
Mon Oct 12 11:07:05 CST 2015:INFO:null
Am I doing something wrong?
Please answer
0 REPLIES 0
