How can I run parallel in Espresso?

How can I run parallel in Espresso?

Hello Tim-Khorev,

You can run tests in parallel on multiple devices by passing the device name in comma-separated format in the execute the command as shown below:

curl --location --request POST 'https://mobile-api.lambdatest.com/espresso/v1/build' \
--header 'Authorization: Basic <Enter_Basic_Auth>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app" : "app_id",
    "testSuite": "testsuite_id",
    "device" :  ["Galaxy S20-10","Galaxy S20-10","Redmi Note 9-10","Galaxy S10+-10","Galaxy S7 edge-8","Galaxy S9+-8"],
    "queueTimeout": 360,
    "IdleTimeout": 150,
    "deviceLog": true,
    "build" : "Proverbial-Espresso"
}'