header
Event API--create an event

Tag:
Edit edit   Starstar

Program Information

Name: Event API--create an event
Domain: web service and application
Functionality: This API manages a set of calendar geolocated events by user. The "create an event" service creates a new event, 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. For example, create an event in the march 5th, 2018 with the text "go to office". Then create another event in the march 5th, 2018 with the same text "go to office". The two events should only differ in 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, MRP:asymmetry, MRIP:perturbation
Insert title here