# Run a basic test

To run a basic test on a regular data service, perform the following steps:

1. Verify **Data Service Type** is set to **Regular**.
2. Perform one of the following actions to open the Test Data Service window:
   * In the Data Service window, click **Test Data Service**.
   * In the **View** tab of the PDI client **Explore** pane, click **Data Services**. Right-click the name of the data service you want, then select **Test**.
   * Right-click the step attached to the data service as indicated by the data service badge, then select **Data Services** > **Test**.
3. If needed, adjust the following optional settings:
   * **Log Level**: Sets the amount of detail shown in the logs the test generates. Log results appear in the **Query Results**, **Optimized Queries**, **Service Transformation Logging**, **Generated Transformation Logging**, **Service Metrics**, and `SQL Trans Metrics` tabs. These tabs are detailed in **Examine Test Results**.
   * **Max Rows**: Sets the maximum number of rows you want to see in your test results.
4. To run the test, click **Execute SQL**.
5. Examine the test results using the instructions in [Examine test results](/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/pentaho-data-services/test-a-pentaho-data-service/examine-test-results.md).
6. If you need to run another test, [clear the cache](/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/pentaho-data-services/optimize-a-pentaho-data-service/apply-the-service-cache-optimization/clear-the-cache.md), then run the test again.
7. Click **Close** to exit the window.
8. Optionally, you can choose to [add an optimization](/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/pentaho-data-services/optimize-a-pentaho-data-service.md) if you want to make it run more efficiently.
9. [Publish a Pentaho Data Service](/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/pentaho-data-services/publish-a-pentaho-data-service.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/pentaho-data-services/test-a-pentaho-data-service/run-a-basic-test.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
