header
Memes Gallery API-Create meme

Tag:
Edit edit   Starstar   Delete   Add Picture

Program Information

Name: Memes Gallery API-Create meme
Domain: web service and application
Functionality: This service creates a new meme, It is a invoked as POST on the url: http://HOST/api/gallery, it returns a representation of the new meme 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------

Description:
Property: Create a meme with a specific data. Then create another meme with the same data. Both output memes should differ only on their ids.
Source input: a specific data. $d_{s}$
Source output: a meme created $m_{s}$
Follow-up input: the same data as the input data $d_{f}$
Follow-up output: another meme created $m_{f}$
Input relation: $d_{s} = d_{f}$     
Output relation: $m_{s} = m_{f}$
Pattern: MROP:difference, asymmetry
Insert title here