The Replicator Agent can be run in test mode for QA purposes. Test mode means that the Agent will run without performing minimum requirements checks for client performance. NOTE: Only follow the steps to configure test mode below if you want to run the Agent in a QA environment as we cannot guarantee the agent will run stable and without performance issues if your environment does meet the minimum requirements.
To configure the Replicator Agent to run in test mode, follow these steps:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> <config> <agent> <test_mode/> <subscribe> <task instances="4"> <task_name>test_agent_subscribe</task_name> <message_connection password="encrypted:XXXX" queue="psp.out.replicator.example" use_basic_consume="true" user="example">amqps://example.perspectium.net</message_connection> <instance_connection password="encrypted:XXXX" user="example">https://example.service-now.com</instance_connection> <handler>com.perspectium.replicator.sql.SQLSubscriber</handler> <decryption_key>The cow jumped over the moon</decryption_key> <database_type>mysql</database_type> <database_server>localhost</database_server> <database_port>3306</database_port> <database_user>example</database_user> <database_password>encrypted:XXXX</database_password> <database_params>characterEncoding=UTF-8</database_params> <database>psp_repl</database> </task> </subscribe> <max_reads_per_connect>4000</max_reads_per_connect> <polling_interval>5</polling_interval> <skip_message_set_processing/> </agent> </config>