header
Memes Gallery API--modify meme

Tag:
Edit edit   Starstar

Program Information

Name: Memes Gallery API--modify meme
Domain: web service and application
Functionality:   This API manages a set of memes(images that have text overlaid on them) whose weirdness is rated, including a link to the meme's image. The "modify meme" service modifies an existing meme, it returns a representation of the modified event as output.
Input: id: An unique identifier of the meme (Integer) pepe: A complex structure that represents the meme. (Object). url: Link to the meme's image. (String) rarity: Index of weirdness of the meme. (Double) date: Creation date of the meme. (String)
Output: id: An unique identifier of the meme (Integer) pepe: A complex structure that represents the meme. (Object). url: Link to the meme's image. (String) rarity: Index of weirdness of the meme. (Double) date: Creation date of the meme. (String)

Reference

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

MR Information

MR1------ modify

Description: modify the memes with a same id and different content, the output should be different expect for their ids 
Property: Modify an existing meme with a specific data, then modify again that meme 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 existing meme with a specific data $d_{s}$
Source output: a meme modified $m_{s}$
Follow-up input: modify again that meme with different data on all the properties except for id. $d_{f}$
Follow-up output: another meme created $m_{f}$
Input relation: $d_{s}$and$d_{f}$ are different on all the properties except for id     
Output relation: $m_{s}$and$m_{f}$ are different on all the properties except for id
Pattern: MROP:different, asysmetry
Insert title here