(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] Get all global variables for a given namespace/group
Basically, we want to load variables from several properties files (only last loaded value is taken into account on multi-definitions) and fetch them all into a given group.
Then we want to eventually retrieve all the properties and store them in a file.
So to resume our need we have a set of properties (names unknown) loaded in several steps, and we want finally to get them all.
So a rc.context.getGlobals('group_name') would be great, or at least a way to create manually a global variable in a given group/namespace (rc.setGlobal('group_name:var_name', 'value') does not work actually).
Java Middleware Development
Thales Security Solutions & Services, on behalf of:
Amadeus - Airline IT - Core Middleware
+33 4 9715 3424
a TestRundDaemon holds its own sets of globals from which the globals
in a newly created DaemonRunContext are initialized. This is different
from the set of globals of a given RunContex at run-time.
What do you need the latter for? Some kind of logging, I suppose.
Inofficially, you can use rc.context.getGlobals() in a 'Server script'
Laurent Dolle <ldolle@?.com> writes:
> Is there now any way to retrieve all global variables (if possible for
> a given namespace/group)?
> This was not really possible 2 years ago (cf.
> http://www.qfs.de/archive/qftest-list/2006/msg00187.html), but now,
> since this is possible via the daemon API (getGlobals()), I am
> wondering if such a feature could not be feasible for a low cost.
> Laurent Dollé
> Java Middleware Development
> Thales Security Solutions & Services, on behalf of:
> Amadeus - Airline IT - Core Middleware
> +33 4 9715 3424
Gregor Schmid Gregor.Schmid@?.de
Quality First Software GmbH http://www.qfs.de
Tulpenstr. 41 Tel: +49 8171 919870
DE-82538 Geretsried Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer HRB München 140833