# Ingest Data for Testing

To ingest data for testing purposes, use the `IngestTest` action. You can use this action to view the output of the ingestion process for a small amount of data, without the data being indexed into IDOL.

TIP: CFS includes an XSL template to help you send `IngestTest` actions. Open a web browser and navigate to `http://host:7000/action=IngestTest&Template=IngestTest` (where `host` is the machine where CFS is running and `7000` is the CFS ACI port).

Micro Focus does not support the XSL template, it is provided only as an example of a template that you could build.

The `IngestTest` action has the following parameters:

    /action=IngestTest
                 &config=[base64_encoded_config]
                 &adds=[URL_encoded_adds_xml]

`IngestTest` is similar to the `Ingest` action, but has the following differences which make it suitable for testing:

- `IngestTest` is a synchronous action, and the document data is returned in the ACI response.
- Indexing, whether as a result of ingestion or as a result of an import task, is disabled.
- Update and Delete commands are disabled (you cannot use the `updates` and `removes` action parameters like you can with the `Ingest` action).
- Any writer tasks that have been configured (`IdxWriter`, `XmlWriter`, `JsonWriter`, `CsvWriter`, `SqlWriter`) are disabled.
- Logging to the import log stream is disabled. The log messages are redirected to the action response.
- The global Lua variable `is_test` is set to `true`. You can use this variable in your Lua scripts to prevent certain parts of your scripts from running when you use the `IngestTest` action.

For more information about the `IngestTest` action and its parameters, refer to the Connector Framework Server Reference.

_FT_HTML5_bannerTitle.htm