Search This Blog

Tuesday, May 18, 2010

XStudio 1.3: Proxy launcher

One big issue in testing distributed environment is how to publish scripts execution on each component.

Let's imagine you have to test a VoIP framework that comprises 3 different machines: a
Client, a Gateway and a Server. To test the data flow, you will need to deploy for each test (at least) 3 scripts on each of those and run them at the same time. And that's were Test Management systems (even very expensive ones!) generally fails.

XStudio 1.3 includes a new launcher called the proxy launcher and a new kind of agent called the XSubAgent. An XSubAgent is basically a kind of XAgent instance embedding an XML-RPC server and which communicates only through this media.

Here is the flow:
  • You create your test campaign from XStudio and start it
  • The tests in this campaign are associated to the proxy launcher which can be running on any host
  • The proxy launcher is configured with a list of individual XSubAgents, launchers and configurations
  • The proxy launcher will just contact individually all the XSubAgents and will forward the requests to execute extracted sub-tests
  • Each XSubAgent will execute its specific script and will return results to the proxy
  • The proxy consolidates results and logs and returns it to XStudio.

Hence, one single test is split by the proxy launcher in different scripts that are executed simultaneously on different XSubAgents located on the Client, the Gateway and the Server of our VoIP Framework.

No comments:

Post a Comment