> For the complete documentation index, see [llms.txt](https://docs.loadmill.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loadmill.com/introduction/deviceless-mobile-testing/loadmill-desktop-recorder/generating-test-flows.md).

# Generating test flows

Loadmill allows streamlining tests generation by capturing user behavior on a mobile device.

To generate a test follow the following steps:

1. Ensure your device is up and configured correctly with [mitm certificate](/introduction/deviceless-mobile-testing/installing-certificate-on-mobile-devices.md) and [proxy settings](/introduction/deviceless-mobile-testing/configuring-proxy-on-mobile-devices.md).
2. Start your application and position it's state to the beginning of a scenario
3. Start loadmill proxy by clicking<img src="/files/6lUQg4o9KKvCFjPrxraD" alt="" data-size="line">,\
   Tip: make sure you start from an empty list, you can clear the residues by clicking <img src="/files/8x8HWiTuoLBLN9xJllPx" alt="" data-size="line">.
4. Drive the application on your device by the scenario you want to capture, make sure requests are captured in the proxy
5. If needed, adjust the filter<img src="/files/tPtc6KpV5eaC4fWxPFh1" alt="" data-size="line">to focus or relevant domain(s) to reduce potential noise from irrelevant requests.
6. Once finished driving the scenario, click on <img src="/files/R4cdKjC4Q7GsF1LrdWgL" alt="" data-size="line">button.\
   loadmill will filter out requests that are highly suspected as irrelevant and strikes them out. You can review the filtered requests and if needed restore them by selecting and clicking<img src="/files/bBN7HZJ4YogYKMiqJAPa" alt="" data-size="line">.
7. Adjust the destination suite in the suite field: <img src="/files/w1MoHndKDfkTX9orFwzN" alt="" data-size="line">
8. To generate the test, click on <img src="/files/hUM87aIHYPhH13tYxi2z" alt="" data-size="line">
9. To review the test navigate to Loadmill section <img src="/files/ygnLCD3jE3Oz5F4yLIX6" alt="" data-size="line">go to Test suite\ <img src="/files/EPUvro6KDTqtrvwrCQtV" alt="" data-size="original">\
   And select your test suite,\
   The recently created flow in the list will be marked with the recent timestamp.


---

# 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:

```
GET https://docs.loadmill.com/introduction/deviceless-mobile-testing/loadmill-desktop-recorder/generating-test-flows.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.
