This shows you the differences between two versions of the page.
webservice_adaptor_examples [2019/11/13 08:03] montse created |
webservice_adaptor_examples [2019/11/13 08:08] (current) montse |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ejemplos de Adaptores API/WebService ====== | + | ====== API/WebService Adaptor examples ====== |
- | =====Descripción===== | ||
- | A través del Adaptador API/Servicios Web, TAST se conecta con los servicios API REST que están disponibles en un punto final y los utiliza para realizar pruebas. Este adaptador tiene un importante compañero llamado Web Services Mapping Assistant con una interfaz de usuario más detallada y compleja para ayudar a la creación de mensajes TAST y mapeos. Es posible realizar pruebas individuales con este adaptador o pruebas de extremo a extremo conectando con otros adaptadores. | ||
- | =====Diagrama y Mapeo UML===== | + | =====Description===== |
- | + | Through the API/WebService Adaptor, TAST connects with API REST services that are available in an End Point and use them for testing. This Adaptor has an important companion named Web Services Mapping Assistant with a more detailed and complex user interface for helping to the creation of TAST messages and mappings. It’s possible to perform single tests with this adaptor or End to end tests connecting with other adaptors either. | |
- | Este es un ejemplo de un diagrama UML que utiliza el Adaptador API/WebService. | + | |
+ | =====UML Diagram and Mapping===== | ||
+ | This is an example of a UML Diagram which uses the API/WebService Adaptor.\\ | ||
+ | \\ | ||
+ | \\ | ||
{{:en:api_webservice1.jpg?600|}}\\ | {{:en:api_webservice1.jpg?600|}}\\ | ||
- | + | \\ | |
- | Este es un ejemplo de interacciones entre el adaptador API/WebService con otros adaptadores en una prueba E2E. | + | \\ |
+ | This is an example of interactions between the API/WebService Adaptor with other adaptors in an E2E test.\\ | ||
+ | \\ | ||
+ | \\ | ||
{{:en:api_webservice2.jpg?600|}} | {{:en:api_webservice2.jpg?600|}} | ||
+ | \\ | ||
+ | \\ | ||
+ | As part of the mapping process, you should provide the Adaptor’s information, regarding to connect and use it: | ||
- | Como parte del proceso de mapeo, usted debe proporcionar la información del Adaptador, con respecto a la conexión y uso del mismo: | + | * **EndPoint:** Base URL to access the service. |
- | + | * **Keep Session:** Indicates whether the session should be maintained between requests to the service. If it is checked, the adapter will add the cookies it receives in the responses to the requests it makes. | |
- | * **EndPoint:** URL base para acceder al servicio. | + | * **IsSecure:** Indicates if requests to the service were sent over the http or https protocol. |
- | * **Keep Session:** Indica si se debe mantener la sesión entre las solicitudes al servicio. Si está seleccionada, el adaptador añadirá las cookies que reciba en las respuestas a las peticiones que realice. | + | * **Headers:** Allows adding headers to all the requests that are sent to the service. |
- | * **IsSecure:** Indica si las peticiones al servicio se enviaron a través del protocolo http o https. | + | * ** Authentication Type:** Allows selecting the type of authentication that the service requires. |
- | * **Headers:** Permite agregar encabezados a todas las solicitudes que se envían al servicio. | + | |
- | * **Authentication Type:** Permite seleccionar el tipo de autenticación que requiere el servicio. | + | |
- | ===== Ejecución de la unidad de prueba===== | ||
- | Después de la ejecución de la unidad de prueba, inmediatamente tendrá los resultados. Hay dos elementos principales que puede verificar: | ||
- | * **Logs:** La información paso a paso de la ejecución, con: | + | =====Test Set Execution===== |
- | * Los resultados. | + | |
- | * Los métodos habían sido ejecutados. | + | |
- | * Las líneas de tiempo. | + | |
- | * **Evidences:** Las capturas de pantalla o pruebas de información por etapas, en caso que lo hayan solicitado. | + | After the test set execution, immediately you have the results. There are two main elements you can verify: |
+ | * **Logs:** The step by step information of the execution, with: | ||
+ | * the results. | ||
+ | * the methods had been executed. | ||
+ | * the timelines. | ||
+ | * **Evidences:** The screenshots or evidence information by step, in case they have requested. | ||
+ | |