header
Event API-modify an event

Tag:
Edit edit   Starstar   Delete   Add Picture

Program Information

Name: Event API-modify an event
Domain: web service and application
Functionality: This service modifies an existing event, It is a invoked as PUT on the url: http://HOST/api/eventos/ID, 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.
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, asymmetry
Insert title here