> For the complete documentation index, see [llms.txt](https://docs.blynk.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blynk.io/en/blynk.console/devices/device-profile/developer-tools/testing.md).

# Testing

The Testing tab is designed to allow developers to test and interact with their device’s datastreams using various API commands.

<figure><img src="https://1839001309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBFTVMf7L6S67HOuqVC%2Fuploads%2FDTGwhx056LAufmepygV8%2Fdeveloper-tools-testing.png?alt=media&amp;token=7d6d0ecc-ff97-486a-8ceb-ebe1551acfc8" alt=""><figcaption></figcaption></figure>

This section is essential for verifying the functionality of different parameters and ensuring proper communication between the device and the platform.

### API

The API section provides options to get or update the values of datastreams, set properties, and log events.

#### **API Command Tabs**

* **GET value:** Retrieve the current value of a specific datastream.
* **UPDATE value:** Update the value of a specific datastream.
* **Set property:** Modify the properties of a datastream.
* **Log event:** Record events related to the datastream.

#### **Datastream Selection**

Allows the selection of a specific datastream to interact with from a dropdown menu (e.g., `Humidity (V4)`).

**Data Type and Range:** Displays the hint on the data type and acceptable range for the selected datastream (e.g., `Double. Range: 0-100`).

#### **Value Input and Update**

For Update value, Set property options you can enter a new value to update the datastream ().

You can also update multiple datastreams / properties usind *Add* button.

#### Code Snippets

The section provides code snippets for [firmware API](https://docs.blynk.io/en/blynk-library-firmware-api/installation.md), [HTTP API](https://docs.blynk.io/en/blynk.cloud/device-https-api.md) and [MQTT API](https://docs.blynk.io/en/blynk.cloud-mqtt-api/device-mqtt-api.md) that can be used to perform the actions that were configured in the interface above from the hardware.

{% hint style="info" %}
Use Timers to send data in intervals. Don’t place `Blynk.virtualWrite` command directly into `void loop().` [Read documentation here](https://docs.blynk.io/en/getting-started/how-to-display-any-sensor-data-in-blynk-app.md#use-timers).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blynk.io/en/blynk.console/devices/device-profile/developer-tools/testing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
