Use global variables to save the state between requests and simulate complex workflows and scenarios in your mock API.