Forum Discussion
SmartBear_Suppo
Alumni
11 years agoHi,
You can access the urllist using context variable,
So in the previous teststep you need to set the context variable property,
In the next groovy script teststep you can do a get on the property so,
You can also try,
But as Temil said environment feature is better if you want to use multiple endpoints.
Thanks,
Jeshtha
You can access the urllist using context variable,
So in the previous teststep you need to set the context variable property,
context.setProperty("urlList ",urlList)
In the next groovy script teststep you can do a get on the property so,
def urlList = context.getProperty("urlList ")
You can also try,
log.info urlList[1]
But as Temil said environment feature is better if you want to use multiple endpoints.
Thanks,
Jeshtha