---
title: "Running DataSync Agent in Test Mode"
canonical: "https://docs.perspectium.com/space/helium/2114767/Running%20DataSync%20Agent%20in%20Test%20Mode"
format: markdown
---
The DataSync 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. Prerequisites  First, you will need to set up one of the  Perspectium   DataSync Agents .   You will also need to   get started with DataSync for ServiceNow   and commit a Perspectium update set that creates   transform maps   in your ServiceNow instance (To request one of these update sets, contact   Perspectium Support ).   Finally, you should  stop running your DataSync Agent   before making any Agent configuration changes. Procedure To install the DataSync Agent in test mode, follow these steps: Example Test Mode Configuration for DataSync Agent <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<config>
   <agent>
      <test_mode/>
      <subscribe>
         <task instances="1">
            <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_parms>characterEncoding=UTF-8</database_parms>
            <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>