Special Methods to be used in Expected Response

Mock Server allows certain methods to be used in the expected response field of API Mock. As of now, we are only allowing a single method but in future, we are going to increase this based on user requests:

  1. __timestamp()
    This special method returns an integer which is number of milliseconds from Epoch Time and can be used in Expected response like this:


    The above API mock returns the following response:

    {
    	"timestamp": 1528094202950
    }