Working with the built-in fuzz test for Device Farm - AWS Device Farm

Working with the built-in fuzz test for Device Farm

Device Farm provides a built-in fuzz test type.

What is the built-in fuzz test?

The built-in fuzz test randomly sends user interface events to devices and then reports results.

Use the built-in fuzz test type

Use the Device Farm console to run the built-in fuzz test.

  1. Sign in to the Device Farm console at https://console.aws.amazon.com/devicefarm.

  2. On the Device Farm navigation panel, choose Mobile Device Testing, then choose Projects.

  3. In the list of projects, choose the project where you want to run the built-in fuzz test.

    Tip

    You can use the search bar to filter the project list by name.

    To create a project, follow the instructions in Create a project in AWS Device Farm.

  4. If the Create a new run button is displayed, choose it.

  5. On the Choose application page, select Choose File.

  6. Browse to and choose your app file where you want to run the built-in fuzz test.

  7. Choose Next.

  8. On the Configure page, in the Setup test framework section, choose Built-in: Fuzz.

  9. If any of the following settings appear, you can either accept the default values or specify your own:

    • Event count: Specify a number between 1 and 10,000, representing the number of user interface events for the fuzz test to perform.

    • Event throttle: Specify a number between 0 and 1,000, representing the number of milliseconds for the fuzz test to wait before performing the next user interface event.

    • Randomizer seed: Specify a number for the fuzz test to use for randomizing user interface events. Specifying the same number for subsequent fuzz tests ensures identical event sequences.

  10. Choose Next, and then complete the remaining instructions to select devices and start the run.