DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
Cupertino desk4 min

Appium Parallel Testing: Configure Android Emulators and iOS Simulators

Run Appium sessions concurrently by assigning each worker a distinct Android emulator or iOS simulator, unique ports for active driver features, and isolated iOS build data.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To run Appium tests concurrently, give each worker its own emulator or simulator and a configuration that does not collide with another worker’s host-side ports or build files. Use UiAutomator2 for Android and XCUITest for iOS; identify every target explicitly, then assign unique driver ports and, for iOS, a separate WebDriverAgent derived-data path. You can coordinate sessions through one Appium server process or run multiple server processes.

What each parallel worker needs

Think of a worker as a complete pairing of one test execution, one target device, and one isolated set of session resources. A device name alone is not enough: two sessions can target different devices yet still compete for the same port or generated build data.

As an Amazon Associate I earn from qualifying purchases.

Target Driver and device identity Resources to make unique per active session
Android emulator UiAutomator2; set appium:udid. An emulator AVD identity can also help identify the target. appium:systemPort; appium:chromedriverPort for Chrome or webview automation; appium:mjpegServerPort if capturing video.
iOS simulator XCUITest; set appium:udid, or use a unique deviceName and platformVersion pair. appium:wdaLocalPort and appium:derivedDataPath; appium:mjpegServerPort if streaming video.

Use the W3C appium: namespace for driver-specific capabilities when required by your client and server combination. Capability names and behavior are driver-version-sensitive, so check the README matching the driver you have installed rather than relying on older general capability documentation: UiAutomator2 driver README and XCUITest parallel-test guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prepare Appium and the device targets

Install the platform drivers and prerequisites

Install Appium and the driver for each platform you intend to test. UiAutomator2 requires Android SDK Platform Tools, a configured ANDROID_HOME or ANDROID_SDK_ROOT, Java, and an installed emulator platform image. Its documentation lists Windows, Linux, and macOS as supported host operating systems. To check many Android prerequisites, run appium driver doctor uiautomator2; the UiAutomator2 README says this command has been available since driver version 2.39.0.

#1 Best Overall
Cell Phone Tester Module Smartphone Test Board Cell Phone Tester Module Smartphone Testing Board with Smart Testing for Mobile Phones Maintenance
  • [HASSLE- MAINTENANCE] Detects overall maintenance and inspection without disassembling the machine.
  • [VERSATILE USAGE] Can also be used for memory card testing, front and rear recorder detection.
  • [MAINTENANCE TOOL] Tests voltage and of the phone holder, essential for professional repair technicians.
  • [FOR ANDROID AND ] Suitable for Android and SIM card series for .
  • [SMART TESTS] Specifically designed for mobile maintenance testing and testing second-hand mobile phones.

Start and identify distinct targets

Start the emulators and simulators that your workers will use before launching the parallel run. For Android, run adb devices -l to see connected-device identifiers. Set an explicit udid for each UiAutomator2 session: if it is omitted, the driver can select the first connected device, which risks sending a worker to the wrong emulator. For iOS simulators, use xcrun simctl list to find simulator identifiers.

Choose how Appium serves concurrent sessions

There are two supported layouts: one Appium server process can handle multiple session requests, or you can run multiple server processes, each listening on a different server port and serving one session. The driver guides describe the single-process approach as using fewer resources and offering better control. Multiple processes remain an option when they fit your runner’s orchestration. In either layout, your test framework must maintain a reliable mapping from each worker to its intended device and capability set.

Rank #2
Sale
Fluke TC01A 25Hz - iSee Mobile Thermal Camera for Android Smartphones, Temperature Range up to 1022°F
  • Detailed image quality comparable to professional thermal imagers
  • Full temperature range analysis
  • Real-time image sharing, communication without barriers
  • Small and portable, it takes a second to get started

Appium server ports and driver ports are separate concerns. If you run multiple server processes, give each process its own server port. Regardless of server layout, do not let active sessions reuse a host-side port required by the same driver feature.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Build a separate capability set for every worker

Create one session configuration per worker, with a distinct target identity and explicit values for every resource that worker uses. A conceptual Android allocation might give two emulators different UDIDs and system ports; if both run webview tests, give them different ChromeDriver ports too. An iOS allocation needs a different simulator UDID, WDA local port, and derived-data path for each worker. Add unique MJPEG ports only when video streaming is enabled.

Rank #3
FLUKE II01, Acoustic Camera for Smartphone, 16 Mems, Android
  • Turn hidden problems into visible fixes – identify leaks and faults faster, improving uptime, reliability, and efficiency.
  • Transform your Android smartphone into an acoustic camera. Detect compressed air leaks and gas leaks anytime, anywhere.
  • Find More. Fix Faster. Quickly locate hidden leaks to reduce unplanned downtime and energy waste.
  • Put the power of acoustic imaging leak detection in every pocket.

The Android UiAutomator2 README describes an automatic systemPort selection range of 8200–8299. Treat that as a selection range, not a safe value to copy into every worker: check that each chosen port is free and unique among active sessions. The XCUITest parallel guide documents defaults of 8100 for the local WDA port and 9100 for the MJPEG port; concurrent sessions that use those features need distinct values to avoid contention. See the current UiAutomator2 README and XCUITest parallel guide for driver-specific details.

Keep optional features out of a worker’s configuration if its tests do not need them. For example, Android webview automation introduces a ChromeDriver port to allocate; enabling unused port-using features creates more opportunities for collisions.

Rank #4
Sale
Acxico 3Pcs/Set Mobile Phone Battery Power Charging Dock Flex Tester Repair Tool for Android Type C Testing Tool Set
  • USB 5 Pin PCB test board.Micro for Andriod phone micro pin test.for iPhone PCB test board
  • It is a small diagnostic tool, for iPhone or Android cell phone U2, battery or dock plug detection
  • You can disassemble free testing, quick and easy to find mobile phone problems
  • Easy to use,directly plug to the USB charging port of your phone.With this board,you can do test work without opening a mobile phone
  • PCB Board Size: 30 x 27 mm.The package includes:3 x PCB Test Board

Scale up in stages and verify the mapping

  1. Inventory targets. Start the intended emulators or simulators, record each UDID, and confirm that every worker has a distinct target.
  2. Assign resources. Reserve the necessary driver ports and, for iOS, distinct derivedDataPath values before launching sessions. Include ChromeDriver or MJPEG ports only where those features are enabled.
  3. Start a small run. Launch a limited number of workers and confirm from the session behavior and server logs that each one reached the intended device.
  4. Increase concurrency gradually. Watch for port-binding errors, device readiness problems, server failures, and host resource saturation as you add workers.
  5. Record the working allocation. Keep the worker-to-device mapping and its capability values together in your test-runner configuration so a later run does not silently reuse an active resource.

This staged approach follows the drivers’ isolation requirements; it does not establish a guaranteed number of sessions or a particular speedup. The viable concurrency level depends on the targets, startup time, host capacity, and the reliability of your actual app and test workload.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common parallel-run failures

“Address already in use” or a session fails during startup

Check for duplicate allocations among active sessions and stale processes that still hold ports. Audit every port the enabled features use: Android systemPort, chromedriverPort, and mjpegServerPort; iOS wdaLocalPort and mjpegServerPort. Confirm that each value is unique where sessions run concurrently.

Best Value
Sale
Motorola Moto g - 2026 | Unlocked | Made for US 4/128GB | 50MP Camera | Pantone Cattleya Orchid
  • Universal unlocked. Compatible with all major U.S. carriers, including Verizon, AT&T, T-Mobile and other prepaid carriers.
  • Super-bright, super-smooth 6.7" display. See your screen clearly even outdoors in sunlight, and enjoy seamless views with a fast-refreshing 120Hz display.*
  • AI-powered camera system. Take stunning photos in any light with the 50MP camera**, look your best with a 32MP selfie cam*****, and capture extreme close-ups.
  • Superfast 5G performance. Unleash your entertainment at 5G speed*** with the MediaTek Dimensity 6300 chipset and up to 12GB of RAM with RAM Boost****.
  • Long-lasting battery + TurboPower charging. Power through day after day with a 5200mAh battery, then get hours of power in just minutes.****

An Android test runs on the wrong emulator

Set appium:udid explicitly for each UiAutomator2 session and compare it with the identifiers shown by adb devices -l. Without an explicit UDID, the driver may select the first connected device.

iOS sessions conflict during build or launch

Give each XCUITest session a distinct appium:derivedDataPath as well as a unique WDA local port. Separate paths prevent concurrent sessions from sharing generated build data.

Sessions pass alone but fail together

Compare each worker’s complete capability set, not just its device name. Verify target identity, every port used by an enabled feature, and iOS per-session paths. A setup that works sequentially can still collide when sessions are active at the same time.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 2
Fluke TC01A 25Hz - iSee Mobile Thermal Camera for Android Smartphones, Temperature Range up to 1022°F
Fluke TC01A 25Hz - iSee Mobile Thermal Camera for Android Smartphones, Temperature Range up to 1022°F
Detailed image quality comparable to professional thermal imagers; Full temperature range analysis
$334.60
Bestseller No. 3
FLUKE II01, Acoustic Camera for Smartphone, 16 Mems, Android
FLUKE II01, Acoustic Camera for Smartphone, 16 Mems, Android
Put the power of acoustic imaging leak detection in every pocket.
$999.99
SaleBestseller No. 4
Acxico 3Pcs/Set Mobile Phone Battery Power Charging Dock Flex Tester Repair Tool for Android Type C Testing Tool Set
Acxico 3Pcs/Set Mobile Phone Battery Power Charging Dock Flex Tester Repair Tool for Android Type C Testing Tool Set
USB 5 Pin PCB test board.Micro for Andriod phone micro pin test.for iPhone PCB test board; You can disassemble free testing, quick and easy to find mobile phone problems
$5.54
SaleBestseller No. 5
Motorola Moto g - 2026 | Unlocked | Made for US 4/128GB | 50MP Camera | Pantone Cattleya Orchid
Motorola Moto g - 2026 | Unlocked | Made for US 4/128GB | 50MP Camera | Pantone Cattleya Orchid
The 32MP sensor combines 4 pixels into 1, for an effective photo resolution of 8MP.
$249.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.