Here you can find a list of all the events Mimic will output, you can listen to these events using the on or once methods.
Event Name | Description |
---|---|
SCENARIO_ADD | A scenario has been created |
SCENARIO_RENAME | A scenario has been renamed |
SCENARIO_REMOVE | A scenario has been removed |
SCENARIO_DUPLICATE | A scenario has been duplicated |
SCENARIO_SET_ACTIVE | A scenario has been set to active |
SCENARIO_CHANGE | A scenario data has changed |
SCENARIO_ADD_MOCKED_REQUEST | A scenario was added a new mock |
REQUEST_CAPTURED | Mimic has captured an HTTP request |
MOCKED_REQUESTS_ADD | A mocked request has been created |
IMPORT | Mimic has imported additional data |
STORAGE_PERSIST | Mimic is persisting it's data |