> For the complete documentation index, see [llms.txt](https://docs.iotify.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iotify.io/concepts/understanding-a-test/exporting-importing-tests.md).

# Exporting/Importing Tests

When you have finalised your tests, you may want to take a local backup of the test, or you may want to send the test that you're working on to another person. For such cases, we allow you to export the whole test as a JSON file, that is easy to understand.

### Exporting

To export any test, go to the Tests interface by clicking on Tests in the left navigation drawer. Now move your cursor to the 3 dot icon at the bottom right of the test you want to export.&#x20;

<figure><img src="/files/PpMFiLe87BTgYTZ3PBqy" alt=""><figcaption></figcaption></figure>

This will open an overflow menu where you will get the option to export your test. Click on Export and the JSON file will be downloaded to your system.

### Importing

If you have a JSON definition of a test and you want to import it back to the platform, just go back to the Tests interface and click on the Import button on the top right of the screen.&#x20;

This will open another overflow menu, here click on `Import IoTIFY Test`. This will open a file picker, navigate to the folder where you have stored the JSON file and open it.&#x20;

<figure><img src="/files/GivyYrQCQ8qCasOjMUoh" alt=""><figcaption></figcaption></figure>

The file will be uploaded and parsed and the test will be added to your workspace.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.iotify.io/concepts/understanding-a-test/exporting-importing-tests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
