Skip to main content

Overview

This guide walks you through automating mobile app testing with the noqa API in your CI/CD pipeline. You’ll learn how to:
  1. Get your applications list
  2. Upload your iOS or Android build
  3. Retrieve test cases
  4. Get available devices
  5. Create and run tests
  6. Monitor test results
All API endpoints require authentication using an API key passed in the x-api-key header.
For complete API documentation with all available endpoints and parameters, see the API Reference.

Step 1: Get Your Apps

First, retrieve the list of your applications to get the app_id needed for subsequent steps.
Response:

Step 2: Get Presigned Upload URL

Request a presigned URL to upload your .ipa (iOS) or .apk (Android) build file.
Response:

Step 2: Upload Build File

Upload your .ipa (iOS) or .apk (Android) file to the presigned URL using PUT request.

Step 4: Create Build Record

After uploading the file, create a build record in noqa.
Response:

Step 5: Get Test Cases

Retrieve the list of test cases for your app.
Response:

Step 6: Get Available Devices

Fetch the list of available devices for testing. You can filter by platform (iOS or Android).
Response:

Step 7: Create Test Run

Start a new test run with your build, test cases, and selected device.
Response:

Step 8: Check Run Status

Poll the test run status to monitor progress and get results.
Response (completed run):

Run Status Values

The test run can have the following statuses:
  • queued - Test is waiting to start
  • running - Test is currently executing
  • passed - All tests passed successfully
  • failed - One or more tests failed
  • cancelled - Test run was cancelled

Selecting Multiple Test Cases

You can run multiple test cases by providing multiple IDs or using tags:

CI/CD Integration Examples

scripts/run_noqa_tests.py: