Difference between revisions of "GXtest Daemon User's Manual"

From GXtest Wiki
Jump to: navigation, search
(Página nueva: Categoría: GXtest Guides GXtest Manager permite agendar las tareas en las cuales se ejecutarán los conjuntos de casos de prueba. Para brindar mayor flexibilidad a la ejecució...)
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Categoría: GXtest Guides]]
+
{{Idiomas
 +
|Manual de Usuario de GXtest Daemon
 +
| GXtest Daemon User's Manual | GXtest Daemon ユーザーズマニュアル}}
 +
[[Category: GXtest Guides]]
  
 +
GXtest Manager allows you to schedule the tasks which will run the test case sets. For greater flexibility in execution is that there GXtest Executor and GXtest Daemon components. The Executor is the engine that actually runs the tests and record the results in the database. Of these components could be multiple distributed instances. The Daemon is the component that allows GXtest Manager to communicate with the various Executors.
  
GXtest Manager permite agendar las tareas en las cuales se ejecutarán los conjuntos de casos de prueba. Para brindar mayor flexibilidad a la ejecución es que existen los componentes GXtest Daemon y GXtest Executor. El Executor es el engine que efectivamente ejecuta las pruebas y registra los resultados en la base de datos. De estos pueden haber múltiples instancias distribuidas. El Daemon es el componente que permite al GXtest Manager comunicarse con los distintos Executors.
 
  
== GXtest Daemon ==
+
It installs as a Windows service, generally on the same machine where GXtest Manager is installed, but this is not a constraint. It is necessary to properly configure the Daemon to allow it to access to the database (String connection and authentication).
Se instala como un servicio de Windows, generalmente en la misma máquina donde se instala el GXtest Manager, pero esto no es una restricción. Es necesario configurar debidamente el Daemon para que pueda acceder a la base de datos (String de conexión y autenticación).
+
  
Este componente estará verificando si hay tareas que deban ejecutarse (monitorea cada 1 minuto la base de datos). En el caso de que haya alguna tarea pendiente a ejecutar, el Daemon invocará al Executor correspondiente pasándole el String de conexión ''remoto''. Esto brinda la facilidad de no tener que configurar cada Executor ante cambios de configuración al acceso a la base de datos, sino que esta gestión se realizaría en forma centralizada.
+
This component will be checking for Tasks to be performed (it monitors the database every 30 seconds). If there is some pending task to run, the Daemon invokes the corresponding Executor giving it the same Connection String. This provides the convenience of not having to configure each Executor after every configuration change to access to the database. Instead of that, this task is made centrally.
  
== GXtest Executor ==
+
== Starting the service ==
Se instala como una aplicación que inicia con el sistema y ejecuta en el System Try. Desde ahí podemos acceder a su configuración (puerto donde escucha). Este será el que realmente ejecute las pruebas y registre los resultados en la base de datos.
+
Everytime you start the machine this service will start automatically.
 +
To start the service manually just follow the following steps:
 +
* Right-click "My Computer" then choose "Manage"
 +
* In the tree on the left, go to "Services and Applications" and then "Services"
 +
* Find the service "GXtest Daemon" and then do right click and select "Start"
  
Luego debemos darlo de alta en GXtest Manager, indicando un nombre, IP y puerto donde escucha el Executor. También vamos a configurar cuál es la versión del Sistema Operativo y Navegadores con los que cuenta esa máquina, a modo que esa información quede registrada.
+
== Settings ==
 +
This component uses the same settings for connection to the database that the one indicated to GXtest Manager at the installation. If you need to change it, it can be configured in the file GXtestDaemon.exe.config in the installation directory (usually c: \ Program Files \ Abstracta \ GXtest Daemon).
  
=== See Also ===
+
Example:<br>
* [[Manual de Usuario de GXtest Manager#Executors |Cómo configurar Executors en GXtest Manager]]
+
<connectionStrings><br>
* [[Manual de Usuario de GXtest Executor (consola)]]
+
    <add name="GxTest.Daemon.Properties.Settings.GXtestConnectionString" connectionString="Data Source=ABSTRACTA00\SQLEXPRESS;<br>
 +
    Initial Catalog=GXtest; Persist Security Info=True;User ID=sa; Password=sa1234" providerName="System.Data.SqlClient" /><br>
 +
  </connectionStrings><br>
 +
 
 +
== Viewing the Logs ==
 +
To see the GXtest Daemon log messages you have to go to Windows Event Viewer here:
 +
# Right-click "My Computer" then choose "Manage"
 +
# In the tree on the left, go to "Event viewer" and then "Application"
 +
 
 +
You will find there the corrisponding logs of GXtest Daemon.

Latest revision as of 02:53, 21 February 2014

Spanish.gif
English.gif
Japan.gif

GXtest Manager allows you to schedule the tasks which will run the test case sets. For greater flexibility in execution is that there GXtest Executor and GXtest Daemon components. The Executor is the engine that actually runs the tests and record the results in the database. Of these components could be multiple distributed instances. The Daemon is the component that allows GXtest Manager to communicate with the various Executors.


It installs as a Windows service, generally on the same machine where GXtest Manager is installed, but this is not a constraint. It is necessary to properly configure the Daemon to allow it to access to the database (String connection and authentication).

This component will be checking for Tasks to be performed (it monitors the database every 30 seconds). If there is some pending task to run, the Daemon invokes the corresponding Executor giving it the same Connection String. This provides the convenience of not having to configure each Executor after every configuration change to access to the database. Instead of that, this task is made centrally.

Starting the service

Everytime you start the machine this service will start automatically. To start the service manually just follow the following steps:

  • Right-click "My Computer" then choose "Manage"
  • In the tree on the left, go to "Services and Applications" and then "Services"
  • Find the service "GXtest Daemon" and then do right click and select "Start"

Settings

This component uses the same settings for connection to the database that the one indicated to GXtest Manager at the installation. If you need to change it, it can be configured in the file GXtestDaemon.exe.config in the installation directory (usually c: \ Program Files \ Abstracta \ GXtest Daemon).

Example:

<connectionStrings>
<add name="GxTest.Daemon.Properties.Settings.GXtestConnectionString" connectionString="Data Source=ABSTRACTA00\SQLEXPRESS;
Initial Catalog=GXtest; Persist Security Info=True;User ID=sa; Password=sa1234" providerName="System.Data.SqlClient" />
</connectionStrings>

Viewing the Logs

To see the GXtest Daemon log messages you have to go to Windows Event Viewer here:

  1. Right-click "My Computer" then choose "Manage"
  2. In the tree on the left, go to "Event viewer" and then "Application"

You will find there the corrisponding logs of GXtest Daemon.