TestResults.io
  • What is TestResults.io
  • System Architecture
  • Regulated Markets
    • Health Care Industry
    • Financial Services Industry
  • What's new?
    • Update Instruction
      • Update of the Designer extension in Visual Studio
      • Update the Execution Engine
      • Update the Base- and Environment Models
    • Migration to new project file
  • Designer
    • Overview
    • First Steps
    • Installation
    • TestResults.io solution
    • The development environment
      • Tool Window Overview
        • Test Environments
          • Steps to configure a SUT VM
          • How to access files on the system under test
        • Remote Viewer
          • Control Mode
          • Capture Mode
          • Screen Editor
          • Capture Single Image
        • Screen Explorer
        • Test Case Designer
        • Image Explorer
        • API Testing
        • TestResults.io options
          • Engines
          • Servers
    • Test Cases
      • Adding Test Cases
      • Test Case structure
      • Simple Test Case (Example)
      • Executing your Test Case
      • Generating Test Containers
      • Publishing Test Cases
      • Execution Variables
    • Software Models
      • Adding SW Models
      • Referencing the Model in the Test Case
      • Generating Test Containers
      • Publishing SW Models
      • Screens and Screen Elements
        • Tables
        • Visual Sense
        • Custom Screen Elements
    • Installers
      • Adding Installers
      • Generating Test Containers
      • Publishing Installers
    • Automation Framework Reference
      • Attributes
      • Enumerations
      • Filters
        • IImageFilter Interface
        • Select
        • Resize
      • GlobalEngineParameters
      • ImageDetectionParameters
      • ImageReference
      • Interfaces
        • ITester Interface
          • ITester Methods
          • ITester Properties
        • ITestee Interface
          • ITestee Methods
        • IConnections Interface
          • IConnections Methods
          • IConnections Properties
        • IDebug Interface
        • IEngineResult
        • IHelpers Interface
        • IImageHelper Interface
          • IImageHelper Methods
        • IKeyboard Interface
          • IKeyboard Methods
        • IMouse Interface
          • IMouse Methods
          • IMouse Properties
        • IReport Interface
          • IReport Methods
        • ISUTConnection Interface
      • OcrEngineParameters
        • Best practise
        • IronOcrEngineParameters
        • LEADOcrEngineParameters
        • OcrEngineRelatedCharacters
        • OcrPreprocessingParameters
      • ResultRectangle
      • SutNotReadyException
      • TestStepAbortedException
    • FAQ
      • Two-factor authentication (2FA) and One Time Passwords (OTP)
      • Receive and verify Emails
      • Using Excel as test data source
      • Verify PDF Content
  • Portal
    • Overview
    • First Steps
    • User's Guide
      • Login
      • Projects
      • Dashboard
      • Test Cases
      • Software & Environments
      • Test Sets
      • Job Queue
      • Management
      • Notifications Summary
    • Automation Engineer's Guide
      • Test Automation Workflow
      • Automating a test case
      • Enabling Software & Environments
    • REST API Reference
      • Authentication
      • Projects
      • Test Sets
      • Test Cases
      • Test Plans
      • Test Reports
      • Files
      • Software
      • Environments
      • Untitled
      • Executions
      • Favorites
      • Statistics
      • User Management
      • Customer Management
      • Notifications
      • Configurations
      • Invoicing
  • Models
    • Overview
    • Base Model
      • BaseScreen
        • BaseScreen Properties
        • BaseScreen Methods
      • OnScreenElement
        • OnScreenElement Methods
        • OnScreenElement Properties
      • Primitives
        • Button
          • Button Methods
          • Button Properties
        • Checkbox
          • Checkbox Methods
        • ContextMenu
          • ContextMenu Methods
          • ContextMenu Properties
        • Dropdown
          • Dropdown Methods
          • Dropdown Properties
        • DropdownMenu
          • DropdownMenu Methods
          • DropdownMenu Properties
        • GenericScroller
          • GenericScroller Methods
          • GenericScroller Properties
        • HorizontalScroller
        • IconButton
          • IconButton Properties
        • Label
        • LabelWithButton
          • LabelWithButton Properties
        • LabelWithCheckbox
          • LabelWithCheckbox Properties
        • LabelWithValue
          • LabelWithValue Methods
          • LabelWithValue Properties
        • PwTextBox
          • PwTextBox Methods
        • TextBox
          • TextBox Methods
          • TextBox Properties
        • Tables and lists
          • Column
            • Column Methods
            • Column Properties
          • ItemList
            • ItemList Methods
            • ItemList Properties
          • Row
            • Row Methods
            • Row Properties
          • TableBase
            • TableBase Methods
            • TableBase Properties
        • LabelWithElementBase
          • LabelWithElementBase Properties
      • Enumerations
      • Extensions
        • EngineResultExtensions Methods
        • EnumExtensions Methods
        • ReportExtensions Methods
        • StringExtensions Methods
        • TesterConnectionExtensions Methods
        • TesterDebugExtensions Methods
        • TesterHelperExtensions Methods
        • TesterMouseExtensions Methods
        • TesterOnScreenElementExtensions
        • TesterSelectExtensions Methods
      • Helper Classes
        • BaseModelHelpers
          • BaseModelHelpers Methods
          • BaseModelHelpers Properties
        • Attributes for Designer
        • ListHelpers
      • Exceptions
        • ElementNotFoundException
        • InteractionFailedException
        • ScreenNotFoundException
      • Interfaces
        • IAppBasics Interface
          • IAppBasics Methods
          • IAppBasics Properties
        • IBrowser
        • ICommandLineWindow
        • IScroller Interface
          • IScroller Methods
          • IScroller Properties
        • ISutLocale Interface
          • ISutLocale Methods
          • ISutLocale Properties
        • ISystemHelpers
        • ISystemInteractions
        • IWindow
    • Environment Model
      • Windows
        • Screens
          • CmdWindow
            • CmdWindow Methods
            • CmdWindow Properties
          • FileDialog
            • FileDialog Methods
            • FileDialog Properties
          • FileExplorer
            • FileExplorer Properties
          • RunWindow
            • RunWindow Methods
            • RunWindow Properties
          • Window
            • Window Methods
            • Window Properties
        • SutLocale
          • SutLocale Methods
          • SutLocale Properties
        • SystemHelpers
          • SystemHelpers Methods
          • SystemHelpers Properties
        • SystemInteractions
        • WebBrowser
          • Browser
            • Browser Methods
            • Browser Properties
          • BrowserScroller
            • BrowserScroller Methods
            • BrowserScroller Properties
          • AuthenticationDialog
            • AuthenticationDialog Methods
            • AuthenticationDialog Properties
          • DownloadDialog
            • DownloadDialog Methods
            • DownloadDialog Properties
        • EnvironmentModel Enumerations
        • Interfaces
          • IWebAppBasics
            • IWebAppBasics Property
Powered by GitBook
On this page
  • Get Test Plan details
  • Get Test Plan details (permanent URL)
  • Create new Test Plan
  • Update Test Plan
  • Register Automation Steps
  • Change Test Type of the Test Case

Was this helpful?

  1. Portal
  2. REST API Reference

Test Plans

Get Test Plan details

GET https://[customer].testresults.io/api/projects/:pId/testcases/:tcId/testplans/:tpId

Gets Test Plan details.

Path Parameters

Name
Type
Description

pId

string

Project ID

tcId

string

Test Case ID

tpId

string

Test Plan ID

Headers

Name
Type
Description

Authentication

string

Authentication token

{
  "DataVersion": "AAAAAAAl1qM=",
  "Status": "New",
  "Variables": [],
  "InputFileId": "6253be56-384d-462e-ada4-e9f63d94a98b",
  "SupportingFilesId": null,
  "AutomationSupportingFilesId": null,
  "AutomatedTestContainerId": null,
  "TestReports": [],
  "ExecutionStatistics": [],
  "TestCaseId": "f88b1426-2b64-4e8f-927f-a9113b10d488",
  "Description": null,
  "Revision": 4,
  "TestType": "Default",
  "MinimumDurationInMin": 600,
  "MonitoringMessage": null,
  "Instances": 123,
  "Id": "502f373e-8abc-4f17-b27f-26165b2b3f5e"
}

Get Test Plan details (permanent URL)

GET https://[customer].testresults.io/api/projects/0/testcases/0/testplans/:tpId

Gets Test Plan details for permanent URL.

Path Parameters

Name
Type
Description

tpId

string

Test Plan ID

Headers

Name
Type
Description

Authentication

string

Authentication token

{
  "DataVersion": "AAAAAAAzieQ=",
  "Status": "New",
  "Variables": [],
  "InputFileId": null,
  "SupportingFilesId": null,
  "AutomationSupportingFilesId": null,
  "AutomatedTestContainerId": null,
  "TestReports": [],
  "ExecutionStatistics": [],
  "TestCaseId": "a0e99e4f-82b9-4ed7-9636-c2acc219af9e",
  "Description": null,
  "Revision": 3,
  "TestType": "Performance",
  "MinimumDurationInMin": 0,
  "MonitoringMessage": null,
  "Instances": 2,
  "Id": "09105f9d-96b0-4aa8-ab8d-18802a8b7e1e"
}

Create new Test Plan

POST https://[customer].testresults.io/api/projects/:pId/testcases/:tcId/testplans

Creates new Test Plan

Path Parameters

Name
Type
Description

pId

string

Project ID

tcId

string

Test Case ID

Headers

Name
Type
Description

Authentication

string

Authentication token

Request Body

Name
Type
Description

Instances

number

Count of Instances

MinimumDurationInMin

number

Minimum Duration in minutes

TestType

string

Test Type

{
  "DataVersion": "AAAAAAAzieQ=",
  "Status": "New",
  "Variables": [],
  "InputFileId": null,
  "SupportingFilesId": null,
  "AutomationSupportingFilesId": null,
  "AutomatedTestContainerId": null,
  "TestReports": [],
  "ExecutionStatistics": [],
  "TestCaseId": "a0e99e4f-82b9-4ed7-9636-c2acc219af9e",
  "Description": null,
  "Revision": 3,
  "TestType": "Performance",
  "MinimumDurationInMin": 0,
  "MonitoringMessage": null,
  "Instances": 2,
  "Id": "09105f9d-96b0-4aa8-ab8d-18802a8b7e1e"
}

Update Test Plan

PUT https://[customer].testresults.io/api/projects/:pId/testcases/:tcId/testplans/:tpId

Updates an existing Test Plan.

Path Parameters

Name
Type
Description

pId

string

Project ID

tcId

string

Test Case ID

tpId

string

Test Plan ID

Headers

Name
Type
Description

Authentication

string

Authentication token

Request Body

Name
Type
Description

Id

string

Test Plan ID

Status

string

Status

Instances

number

Count of Instances

Variables

array

Variables List

InputFileId

string

Test Case Plan Document ID

SupportingFilesId

string

Supporting Files ID

AutomationSupportingFilesId

string

Automation Supporting Files ID

AutomatedTestContainerId

string

Automated Test Case ID

TestReports

array

Test Reports List

ExecutionStatistics

array

Execution Statistics List

TestCaseId

string

Test Case ID

Description

string

Test Plan Description

Revision

number

Revision number

TestType

string

Test Type

MinimumDurationInMin

number

Minimum Duration in minutes

MonitoringMessage

string

Monitoring Message

DataVersion

string

Data Version of Test Plan

{
  "DataVersion": "AAAAAAAzieI=",
  "Status": "New",
  "Variables": [],
  "InputFileId": "78d201da-c6a4-499a-839b-1b7beac235e0",
  "SupportingFilesId": "c76dcb99-eddc-405d-8bcc-f654f4ce1130",
  "AutomationSupportingFilesId": null,
  "AutomatedTestContainerId": null,
  "TestReports": [],
  "ExecutionStatistics": [],
  "TestCaseId": "a0e99e4f-82b9-4ed7-9636-c2acc219af9e",
  "Description": null,
  "Revision": 2,
  "TestType": "Stability",
  "MinimumDurationInMin": 6,
  "MonitoringMessage": null,
  "Instances": 0,
  "Id": "7804c3f2-2861-4377-816a-123c103c8fdf"
}

Register Automation Steps

GET https://[customer].testresults.io/api/projects/:pId/testcases/:tcId/testplans/:tpId/automationSteps

Register Automation Steps.

Path Parameters

Name
Type
Description

pId

string

Project ID

tcId

string

Test Case ID

tpId

string

Test Plan ID

Headers

Name
Type
Description

Authentication

string

Authentication token

Request Body

Name
Type
Description

comment

string

Comment

count

number

Count

4 

Change Test Type of the Test Case

POST https://[customer].testresults.io/api/projects/:pId/testcases/:tcId/testplans/:tpId/transfer/:newType

Sets new Test Type for Test Case. A new Plan Revision will be created.

Path Parameters

Name
Type
Description

pId

string

Project ID

tcId

string

Test Case ID

tpId

string

Test Plan ID

newType

string

New Test Type (e.g "Performance", "Stability" or "Default")

Headers

Name
Type
Description

Authentication

string

Authentication token

{
  "DataVersion": "AAAAAAAzic0=",
  "Status": "ReadyForExecution",
  "Variables": [],
  "InputFileId": "91b7a914-7a9b-4b1a-a707-d4cc036e624e",
  "SupportingFilesId": null,
  "AutomationSupportingFilesId": null,
  "AutomatedTestContainerId": "4a818722-3079-437f-80ba-ae778d0cdfe0",
  "TestReports": [],
  "ExecutionStatistics": [],
  "TestCaseId": "649571bc-7578-4254-a4cb-158d36c56bf5",
  "Description": null,
  "Revision": 7,
  "TestType": "Performance",
  "MinimumDurationInMin": 0,
  "MonitoringMessage": null,
  "Instances": 2,
  "Id": "c5919b52-3757-4c41-a737-b5c622e92044"
}
PreviousTest CasesNextTest Reports

Last updated 6 years ago

Was this helpful?