This is a migrated thread and some comments may be shown as answers.

Create automation API

3 Answers 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Geert
Top achievements
Rank 1
Geert asked on 23 Oct 2013, 02:33 PM
I want to use the test studio for automated tasks because it is great and can be used or that. With the previous version I achieved that I could manually schedule tests (without the Test Studio (!)) and run the tests on the execution server. However with the new version everything is different. That's not a big deal but these are the breaking changes:

1) Changed API from web services to REST services
2) Database has completely changed
3) No documentation for this private API

It would be really, really great if the API was actually documented and available for everyone. Now it is just too complex. I now try to automate by using the same reference assemblies that the test studio uses, but I get a lot of issues:

1) Loader does not load types automatically
2) Tests are not being scheduled (but maybe I have a few loops to jump through)

What I basically want to achieve is to create a generic test project (test list). Then when I need to run an automated task I want to create a copy of that project, put it on a shared location (network share) and customize it for the specific action. Then I want to manually schedule the test execution on the first available execution runner.

In short my question is: please provide a public API so people can schedule automated tests (for example, after every build I want to schedule a UI test (automatically)).

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 28 Oct 2013, 03:32 PM
Hi Geert,

Thank you for contacting us.

The upcoming 2013 R1 release of Test Studio comes with an entirely reworked remote execution and scheduling engine. The need for this change came from a desire to allow parallelization of test runs and to bring different test types into parity. 

Please check out these two blog post about the new scheduling.

1. Test Studio’s New Remote Execution Engine
2. New Solutions for Scheduling Issues and More

Here is the API documentation for scheduling and storage services:

1. Scheduling: http://localhost:8009/documentation/

2. Storage: http://localhost:8492/v1/documentation/

Hope this helps.

Regards,

Boyan Boev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Geert
Top achievements
Rank 1
answered on 07 Nov 2013, 11:48 AM
Thank you very much for your reply. We hope to try again this week. Just a quick follow-up question:

In the previous version we could put the test files on a network share and point a project to that. Is this still possible in the new version or are we forced to put everything in the storage service? Otherwise I need to know how to create a project and upload the right files to it (but the documentation is quite limited).

Thanks!
0
Boyan Boev
Telerik team
answered on 08 Nov 2013, 01:48 PM
Hello Geert,

In the version it doesn't mater where is your project located. 

We try to be very intelligent and only upload into our storage server the tests and supporting files that are actually needed by that specific test list. 

Hope this helps.

Regards,
Boyan Boev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Geert
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Geert
Top achievements
Rank 1
Share this question
or