2019 up to now | 2018 2017  |  2016  | 2015 | 2014 | 2013 | 2012

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