> 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.
