header

Program Information

Name: Event API-create an event
Domain: web service and application
Functionality: This service creates a new event, It is a invoked as POST on the url: http://HOST/api/eventos, it returns a representation of the new event as output.
Input: id: An unique identifier of the event (Integer) id_creador: An unique identifier of the creator of the event (Integer) nombre: A short title for the event. (String) descripcion: A long description of the event. (String). nombre_creador: Name of the creator of the event. fecha_inicio: Starting date of the event. (String) fecha_fin: Ending date of the event. (String) tags: Comma separated list of tags for the event. (String) latitud: Latitude of the location where the event is taking place. (Double) longitud: Longitude of the location where the event is taking place. (Double)
Output: id: An unique identifier of the event (Integer) id_creador: An unique identifier of the creator of the event (Integer) nombre: A short title for the event. (String) descripcion: A long description of the event. (String). nombre_creador: Name of the creator of the event. fecha_inicio: Starting date of the event. (String) fecha_fin: Ending date of the event. (String) tags: Comma separated list of tags for the event. (String) latitud: Latitude of the location where the event is taking place. (Double) longitud: Longitude of the location where the event is taking place. (Double)

Reference


         Metamorphic Testing of RESTful Web APIs.
    https://dx.doi.org/10.1109/TSE.2017.2764464



MR Information

MR1------

Description:
Property: Create an event with a specific data. Then create another event with the same data. Both output events should differ only on their ids.
Source input: Create an event with a specific data $A$
Source output: an event $E$
Follow-up input: create another event with the same data $A'$
Follow-up output: an event $E'$
Input relation: $A /equiv A'$     
Output relation: $E$ and $E'$ only different in their ids
Pattern: MROP:difference, asymmetry
Insert title here