githubEdit

Reusing App Binary

circle-info

πŸš€ Cloud Plan required - get started for free at maestro.devarrow-up-right

Why to reuse an app binary?

To execute a variety of test scenarios on the same build, multiple maestro upload requests are often necessary. Since a binary upload can be time-consuming and resource-intensive, Maestro offers a solution to optimize this process. By using the --app-binary-id option, provided after a successful upload, users can reuse the cached binary for subsequent uploads, saving both time and space.

Finding the app binary ID

After uploading, the app binary id will be returned in the CLI response

It's also visible at the top of a run in the Maestro console

Using the app binary ID

--app-binary-id

You can now re-use a previous app binary by providing the appBinaryId. This will skip binary re-upload and improve iteration speed.

Example usage:

Convenience params --app-file, --flows

You can now specify appFile and flow(s) via an argument.

Example usage:

Flows folder

Single Flow file

Security Concerns

Does this mean that someone else can access your app?

No. This is just a shortcut for you to grab the binary from your last upload rather that sending the same 1s and 0s over the internet again. Further, all devices are wiped after every single test - even you don't have access to the running app once the test is complete.

Last updated

Was this helpful?