Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2012

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Is it possible to share Groovy variables?

  • Subject: [QF-Test] Is it possible to share Groovy variables?
  • From: "Gordeyev, Konstantin" <kgordeev@?.ru>
  • Date: Mon, 25 Jun 2012 10:25:44 +0000

Hello QF-Test team!


I have two clients started. Once from one I fetch some information and fill up HashMap in groovy. To be able to use it in future I use this solution in the very beginning:


public class Globals {

     static myMap = [:]



It is possible to use and update this map in other scripts but only within the same client.

Now I need to share this object with scripts of other client. It’s said that QFT is not powerful enough to move Java objects using rc.toServer() and rc.fromServer().


Is it possible to do that?

Or maybe is there any other solution to share complex type of data between clients somehow?

Is there any kind of common namespace or whatever that is reachable from everywhere?




BR, Konstantin Gordeev


Videos Downloads Documentation Buy Free Trial