New to Telerik Test Studio? Download free 30-day trial

Add API Test as Step

The implemented integration between Test Studio Web&Desktop and Test Studio for APIs projects allows you to insert an API test and execute it as a step in a web test.

Add an API Test as Step

To add a new API test as step first create a web test. Then the option is available in the Step Builder among the steps in the Common section.

Api Test as step

Double click it to trigger the 'Select API test' dialog.

Select API test window

The available options are either to create a new test or import an existing one.

Create an API Test Add existing API test

Create Test

'Create Test' creates and opens an empty API project which is nested in the Test Studio project's root folder. The integrated project allows you to create new API tests.

Import Existing Test

'Import Existing Test' allows you to browse your files and add an already designed API test ready for execution. The imported API test will be inserted in the nested API project if one already exists or will create a new one containing the added test.

Browse API test

Once a test file is selected a warning message appears that any external dependencies need to be added manually.

External dependencies

Once the test is imported click on it and then the Select button. If there are multiple API tests in the nested project they all will be listed in this view and available for execution as step in a web test.

Select a test to add in step

See Also

In this article