Debido al alto tráfico generado por robots, estamos aplicando limitaciones en el número de peticiones permitidas por cliente y bloqueos por IP automáticos. Si haces un uso legítimo y estás teniendo problemas, avísanos para reevaluar nuestras políticas de bloqueo. Disculpa las molestias.

Artículo:
Tool Demonstration: Testing JSON Web Services Using Jsongen (Demostración)

Cargando...
Miniatura

Editor

Sistedes

Publicado en

Actas de las XVIII Jornadas de Programación y Lenguajes (PROLE 2018)

Licencia Creative Commons

Resumen

This article describes a tool, jsongen, which permits testing behavioural aspects of Web Services that communicate using the JSON data format. Provided a characterisation of the JSON data as a JSON schema, the jsongen tool will: (i) automatically derive a QuickCheck (the property-based testing tool) generator which can generate an infinite number of JSON values that validate against the schema, and (ii) provides a generic QuickCheck state machine which is capable of following the (hyper)links documented in the JSON schema, to automatically explore the web service. The default behaviour of the state machine can be easily customized to include web service specific checks. The approach is demonstrated by applying it to the task of testing a simplified web service for banking.

Descripción

Acerca de Ballesteros, Ignacio

Palabras clave

Analysis Tools, JSON, Testing, Web Services

Citación

Ballesteros, I., Bueso de Barrio, L. E., Fredlund, L., Mariño, J.: Tool Demonstration: Testing JSON Web Services Using Jsongen (Demostración). In: Ortega Mallén, Y. (ed.) Actas de las XVIII Jornadas de Programación y Lenguajes (PROLE 2018). Sistedes (2018). https://hdl.handle.net/11705/PROLE/2018/023