header
Event API--modify an event

Tag:
Edit edit   Starstar

Program Information

Name: Event API--modify an event
Domain: web service and application
Functionality: This API manages a set of calendar geolocated events by user. The "modify an event" service modifies an existing event, then it returns a representation of the modified 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: Modify an existing event with a specific data, then modify again that event with different data on all the properties except for id. The values of all the properties of the outputs except for id should be different. For example, modify an event created on March 5th, 2018 with the text "go to office". Then, modify the event changing the created date to March 6th with the text "go to hospital". These two modified events output should be different on all properties except for their ids.
Source input: modify an event with a specific data $A$
Source output: an event $E$
Follow-up input: modify again the event with different data $A'$ on all the properties except for id
Follow-up output: an event $E'$
Input relation: $A is different from A'$ on all properties except for id     
Output relation: $E$ and $E'$ are different except for ids
Pattern: MROP: difference, MRP:asymmetry, MRIP:replacement
Insert title here