Testing Appdome Secured iOS Apps Using AWS

Last updated August 29, 2024 by Appdome

This Knowledge Base article provides a detailed process for testing Appdome-secured iOS apps using AWS Device Farm, demonstrating Appdome’s seamless integration with top mobile testing solutions. This integration enhances mobile app security effectively within your existing application lifecycle, leveraging the speed and agility of DevSecOps.

Use Appdome’s Build2Test Service (Recommended)

With an Appdome SRM license, you can use Appdome’s Build2Test service to quickly and easily test your Appdome-secured mobile apps on AWS without the need for different Fusion Sets.  Appdome’s Build2Test service in-app defense model recognizes the unique signature of these testing services and allows for easy testing without issuing a security alert or forcing the app to exit, even if these services use tools such as Magisk or Frida.

For details, see How to Use Appdome Mobile App Automation Testing.

General Information About Testing in iOS Apps

Below are the Appdome security features that may be triggered during testing on AWS, along with their behaviors under the Build2Test setting:

Appdome feature Reason Behavior with Build2Test
Secure App Signature AWS might resign the app after installation. The app will detect this but will not crash, allowing testing to continue.
Detect App is Debuggable AWS may sign the app as debuggable upon installation The app will detect if the app is debuggable and will continue running without crashing.
Prevent Code Injection AWS devices might detect and block unauthorized code injections to safeguard the app’s integrity. The app will receive an alert when a potential code injection is detected but will not crash, allowing testing to continue.
Cipher Suites AWS supports a variety of cipher suites, which Appdome can restrict to enforce secure communications as per app-specific protocols. The app will acknowledge the cipher suites but will continue operating normally during testing.

 

How to Upload and Test Your App on AWS

  1. Log into your AWS account.
    Log Into Aws Account
  2. Use the search menu to search for and access “Device Farm.”
  3. Click on “Device Farm.”
    Search For Device Farm
  4. Select Create mobile project.
    Create Mobile Project
  5. Enter the Project Name and click “Create.”
    Click Create

How to Run Automated Tests

  1. Click “Create run.”
    Automated Tests
  2. Click on Choose File.
  3. Upload your Build2Test mobile application (.apk or .ipa).
    Choose An Application
  4. Wait for the file to finish uploading.
  5. Click on Next at the bottom right corner.
    Mobile App Ios
  6. Configure the test to your needs and click next at the bottom right corner
    Ios Setup Test Framework
  7. You can choose from existing pools or create a new one tailored to your needs.
    Select iOS Device
  8. Create a Device Pool
  9. Enter a name for your device pool. 
  10. Select Create Dynamic Device Pool.
  11. Enter Field: Platform, Operator: Equals, and Value: iOS.
    Create Ios Device Pool
  12. View the listed mobile devices.
  13. Click Create
    Apple Mobile Devices
  14. Select either Top Devices or Private Pools
    Private Pool
  15. Click Next
  16. Specify additional software to install on the mobile device.
    Install Additional Software
  17. Setup Location and Network settings.
    Location & Network Settings
  18. Change device paths if required.
  19. Click Next
    Device Paths
  20. Review all settings before starting your test run.  Review & Start run
  21. Click “Confirm and start run.”

How to Run Remote Access Tests

  1. Search for “Device Farm.”
  2. Click on “Device Farm.”
  3. Click Create New Project.
  4. Select “Remote Access”
  5. Click “Create remote access session”.
    Remote Access
  6. Choose a device
    Remote Access Ios
  7. Click “Confirm and start the session.”
    Confirm And Start The Session
  8. Wait for the device to load
    Device Requested Ios
  9. Once the device is finished loading, upload your Build2Test mobile application.
    Upload App
  10. Open the app and start performing tests on the app.
  11. When you’re done, click “Stop Session”.
    Ipad 8th Gen Test
  12. Wait for the results to appear on the next page.

Related Articles:

How Do I Learn More?

If you have any questions, please send them our way at support.appdome.com or via the chat window on the Appdome platform.

Thank you!

Thanks for visiting Appdome! Our mission is to secure every app on the planet by making mobile app security easy. We hope we’re living up to the mission with your project.

Appdome

Want a Demo?

Test Secured Mobile Apps

GilWe're here to help
We'll get back to you in 24 hours to schedule your demo.