Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HP ALM : Rest API vs OTA

Tags:

java

rest

hp-alm

Is it possible to achieve all the functionality using REST API, which can be achieved using OTA. I do understand that there are examples given in both OTA and REST API Documentation, which is provided by HP. But I need to understand things in layman terms,as I am asked to do a feasibility study whether it is possible to so the same amount of work in REST as is possible in OTA.

I would be highly benefited if someone could provide me with the pros and cons of REST and OTA w.r.t the HP ALM.

like image 473
Parag Avatar asked Jun 26 '14 10:06

Parag


People also ask

What is OTA in HP ALM?

Connecting ALM/QC using HP's OTA (Open Test Architecture) API – Advanced.

What is ALM REST API?

The ALM REST API is for use by web programmers familiar with RESTful API technology. Before working with this API, read the General Notes and Limitations. The first step of a client application is authenticating the user.

How does REST API connect to ALM?

For accessing ALM using rest API first we will have to create a web request and set username and password for the web request. Rest response will have few authentication cookies and we will need these cookies for sending any other request using the session you just created.

What is open test architecture?

OpenTest consists of three components: The OpenTest server - a Node. js application that orchestrates the test execution, implements the OpenTest web UI and exposes an API that can be used to integrate with external systems (CI/CD, advanced reporting, test management, etc.)


1 Answers

Simple answer is that the REST API does not have all the functionality currently available in the OTA API. The REST API primarily focuses on simple CRUD operations of core entities in the client (CRUD = create, read, update, delete). You can compare the documentation for the two API's to see if you will be able to achieve everything you want with REST.

The main benefit of REST over OTA is that it does not require any client-side software to be installed/registered. You simply post HTML requests to a server and process the XML-formatted results. This opens the API to more clients than ever before.

The main benefit of OTA over REST is that it exposes more ALM functionality. For those programming in an environment that easily supports COM objects, you may also find the object-based nature of the API easier to work with, especially if your editor provides rich IntelliSense.

Basically OTA is the API of the past, and REST is the API of the future. It will just take time before HP can get all the functionality exposed via REST.

like image 59
HgCoder Avatar answered Oct 30 '22 13:10

HgCoder