as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Devices
Build
Test
Publish
Connect
Documentation

Share:

Edit the Blog Post Header component above this, then place your content here, then fill out the Related Articles section below, if possible. You should have at least one related article and ideally, all three.

Feel free to add supplementary content to the sidebar at right, but please retain the Twitter component (it can live at the bottom of your added content). 

This text component can be edited or deleted as necessary.

Related Articles

Related article title here

Related articles only have an image (the squarer version of the banner) and a title. This text can be deleted. Place 1-3 related articles.

Subscribe

How to choose the right tool for IAP testing. (DevTest vs. LAT vs. App Tester)

Share:
How to
Blog_Header_Post_Img

If you're building apps for the Amazon Appstore, perhaps you've stared at the three in-app purchasing (IAP) testing options and wondered, "Which one am I supposed to use?" Each tool is purpose-built for different testing scenarios, but once you know when to use what, your testing workflow will become much more efficient. No more guessing which environment to spin up or wondering if you're overcomplicating things.

Let's go through when to use each tool to maximize your testing efficiency and catch issues at the right stage of development.

Different Tools for Different Phases of Development

Each of Amazon's three primary IAP testing tools is designed for different phases and needs in your development process:

Test tools at a glance infographic

See the Amazon Developer Portal documentation for details on each tool.

When and How to Use App Tester

Use App Tester when you're in the thick of development and need fast feedback loops. It responds to your app's IAP API calls using mock data stored in a local JSON file, letting you control exactly what purchase responses your app receives. This makes it perfect for testing edge cases and error scenarios.

Since everything runs locally with predetermined responses, you get rapid iteration cycles. No waiting for network calls or dealing with service downtime. Just focus on whether your code processes IAP events correctly.
 

Setting up App Tester

Getting App Tester running is straightforward. Detailed instructions can be found here. Here is a quick highlight of the key steps:

1. Connect your computer to your device through adb.

2. Set your app to use sandbox mode, using adb shell setprop.

3. Copy the JSON file with your IAP to your device.
Follow the instructions here for information about formatting and where to store it on your device.

4. Install App Tester through the Amazon Appstore.

DevTest

5. Open App Tester. Navigate to Appstore SDK APIs > IAP API Response Settings.

DevTest

6. Configure the IAP API responses for each call to align with the app behaviors you want to test. For example, you can set the Purchase API response to INVALID_SKU to test how your app handles such a response.

7. Similarly, you can modify settings related to notifications and transactions.

DevTest
DevTest

Once you've completed these steps, you can run your app and start testing IAP flows immediately. App Tester will intercept your IAP API calls and respond with the mock data and behavior you've configured.

When and How to Use DevTest for IAP

Use DevTest for IAP when you need to test complex flows—like subscription management, product catalog integrations, or purchase restoration—that require real Amazon services.

DevTest works with your existing IAP implementation without code changes. It simply routes your Appstore SDK API calls to Amazon's testing servers instead of production.

DevTest handles scenarios that mock responses can't fully replicate, like testing across different device configurations and user account states, all while maintaining fast iteration cycles without app submission overhead.
 

Setting up DevTest

DevTest setup focuses on registration and tester management rather than code integration. Here are the key steps from the official workflow:

1. Generate a certificate for app signing.

Copied to clipboard
openssl req -x509 -nodes -newkey ec -pkeyopt ec_paramgen_curve:secp384r1 -keyout key.pem -out cert.pem

2. Register your app in the Developer Console under "Amazon Appstore DevTest for IAP" using your certificate data.

DevTest

3. Add testers (up to 10) who will have permission to make in-app purchases during testing.

4. Sign your app with the same certificate you used for registration.

5. Build your application, generating a signed APK.

6. Distribute the signed APK to your testers for sideloading via adb install.
 

What to test with DevTest for IAP

Once DevTest is set up, focus on scenarios that require real service interactions:

  • Network edge cases: Purchase timeouts, intermittent connectivity during renewals, and real network variability.
  • Complex flows involving backend state: Subscription management and purchase restoration across devices
  • Dynamic product catalog changes: How your app responds when products are updated or become temporarily unavailable

With DevTest, you can catch integration issues that only surface with real Amazon services while still maintaining fast iteration cycles. It's the ideal tool for this phase of your development—when you're testing complex flows and integration, but aren't quite ready to publish for approval and beta testing.

When and How to Use LAT

LAT serves as your reality check before going live. Use it when you need feedback from actual users interacting with your IAP implementation in the production environment. It helps you catch issues that only surface with real user behavior patterns. Users will interact with your app in ways you didn't anticipate during development, and LAT surfaces these scenarios early.

LAT validates the complete user experience—including payment processing, receipt delivery, and content unlocking. But here's the key: IAP purchases are free during LAT test sessions, so no one gets charged.
 

Setting up LAT

LAT setup involves the full app submission process plus tester management. Here are the primary steps from the LAT workflow:

1. Create your app listing in the Developer Console if you haven't already.

2. Navigate to Live App Testing and click Create a new Live App Test.

DevTest

3. Upload your app build APK file and complete the required metadata fields.

4. Add IAP items, submitting with the "Submit to Test" (not "Submit to Test and Live") option. These test IAP items get a "TEST" label and are only available during LAT.

5. Add testers, either individually or via CSV upload.

6. Submit your test. Your testers will receive email invitations and push notifications when ready.

7. Monitor and collect feedback through the LAT dashboard as testers use your app.
 

What to test with LAT

Focus on real-world scenarios that only emerge with actual users:

  • User experience flows: How users discover and purchase IAP items, and whether purchase confirmations make sense to first-time users.
  • Real usage edge cases: Users switching devices mid-purchase, backgrounding apps during transactions, or poor network connectivity during checkout
  • Performance under realistic conditions: Multiple concurrent users and varying device performance that stress-test your implementation

Since LAT uses production Amazon services with real user accounts, you get the most authentic testing environment possible while still maintaining control over who can access your app. When testing is complete, you can promote your test IAP items to live status for your actual release.

Putting It All Together

Each tool has its place. The most effective approach follows a simple progression:

App Tester ⇒ DevTest for IAP⇒ LAT
 

This catches issues early when they're cheap to fix while building confidence as you move toward production.

  •  Start with App Tester during initial development to validate your basic implementation.
  • Move to DevTest once your code is solid, but you need to test against real Amazon services.
  •  Use LAT when you're confident in your technical implementation but need real-world validation before release.

Keep comprehensive logging throughout all three test flows. Each testing tool gives you different feedback. Sometimes, correlating logs will help you identify patterns that might not be obvious from any single testing approach.

Your users expect IAP functionality that just works. When you've got the right approach to testing, that's exactly what you'll deliver.

Additional Resources

Related articles

Sign up for our newsletter

Stay up to date with the latest Amazon Developer news, industry trends and blog posts.