AWS.AppTest — AWS SDK for JavaScript (original) (raw)

We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Class: AWS.AppTest

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

AWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.

Sending a Request Using AppTest

var apptest = new AWS.AppTest();
apptest.createTestCase(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the AppTest object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var apptest = new AWS.AppTest({apiVersion: '2022-12-06'});

You can also set the API version globally in AWS.config.apiVersions using the apptest service identifier:

AWS.config.apiVersions = {
  apptest: '2022-12-06',
  // other service API versions
};

var apptest = new AWS.AppTest();

Constructor Summarycollapse

Property Summarycollapse

Properties inherited from AWS.Service

apiVersions

Method Summarycollapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, setupRequestListeners, defineService

Constructor Details

new AWS.AppTest(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Property Details

endpointAWS.Endpoint

Returns an Endpoint object representing the endpoint URL for service requests.

Method Details

createTestCase(params = {}, callback) ⇒ AWS.Request

createTestConfiguration(params = {}, callback) ⇒ AWS.Request

Creates a test configuration.

createTestSuite(params = {}, callback) ⇒ AWS.Request

deleteTestCase(params = {}, callback) ⇒ AWS.Request

deleteTestConfiguration(params = {}, callback) ⇒ AWS.Request

Deletes a test configuration.

deleteTestRun(params = {}, callback) ⇒ AWS.Request

deleteTestSuite(params = {}, callback) ⇒ AWS.Request

getTestConfiguration(params = {}, callback) ⇒ AWS.Request

Gets a test configuration.

getTestRunStep(params = {}, callback) ⇒ AWS.Request

listTagsForResource(params = {}, callback) ⇒ AWS.Request

Lists tags for a resource.

listTestCases(params = {}, callback) ⇒ AWS.Request

listTestConfigurations(params = {}, callback) ⇒ AWS.Request

Lists test configurations.

listTestRunSteps(params = {}, callback) ⇒ AWS.Request

listTestRunTestCases(params = {}, callback) ⇒ AWS.Request

Lists test run test cases.

listTestSuites(params = {}, callback) ⇒ AWS.Request

tagResource(params = {}, callback) ⇒ AWS.Request

Specifies tags of a resource.

untagResource(params = {}, callback) ⇒ AWS.Request

updateTestCase(params = {}, callback) ⇒ AWS.Request

updateTestConfiguration(params = {}, callback) ⇒ AWS.Request

Updates a test configuration.

updateTestSuite(params = {}, callback) ⇒ AWS.Request

waitFor(state, params = {}, callback) ⇒ AWS.Request

Waits for a given AppTest resource. The final callback or'complete' event will be fired only when the resource is either in its final state or the waiter has timed out and stopped polling for the final state.