GPT Driver User Guide
GPT Driver API
GPT Driver API
  • Welcome
  • Basics
    • Upload builds
      • Web UI
      • API
      • CI/CD Examples
        • Github Actions
        • Bitrise
        • GitLab CI
        • CodeMagic
        • Jenkins
        • Circle CI
    • Trigger tests
      • Web UI
      • API
      • API Examples
      • Physical-Device Examples
  • MORE
    • Webhooks
    • Screenshots
    • Meta Data
    • App launch parameters
    • Run existing Appium tests
    • Github Action Step Script
    • TestRail Integration
  • Connectors (Jira + Google Docs)
  • Splunk Integration
Powered by GitBook
On this page
  1. Basics
  2. Trigger tests

API

PreviousWeb UINextAPI Examples

Last updated 7 months ago

The /tests/execute endpoint offers a flexible way to trigger test runs on the GPT Driver platform. Please see also checkout the .

API Examples

Execute Tests

post

Trigger test executions with various options such as platform, tags, device configurations, test inputs, and more.

Body
one ofOptional
or
or
or
or
or
or
Responses
200
Test execution triggered successfully.
application/json
400
Invalid request.
500
Server error.
post
POST /tests/execute HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "organisationId": "org123",
  "platform": "android"
}
{
  "message": "Test suite runs created",
  "test_suite_ids": [
    "77fb1f2d678047abcd09ea3321fedd55"
  ],
  "status": "running"
}