Manipulate/change data on the server before and after test


#1

Hi,
I’m trying to find a solution for the following scenario:

  • The application under test have different mock users with different data type. Some have different status, more point , less point.
    This values can be changed manually from a json file in the back end.
    What I want to do is to change some data before the test starts, in order to validate for e.g. that the status of the specific user will change.
    After test to reset the changes.
    I’m still searching but I didn’t find anything relevant yet.

Maybe somebody knows how to do it and can help me.
Thanks