Introspecting configuration at run-time


I am having trouble figuring out how to do the following:

  • I have multiple connectors in multiple configurations (managed, remote, another managed, another remote)
  • Some tests support some connectors, in some configuration, some don’t

How do I, as simply as I can, figure out what configuration the system is running?
Both on client and on the server.

It’s easy on the client because I can set system proeprties / environment variables, but it’s not as easy on the server because it can be remote and started on another machine / by another user, etc.

thank you!