Simulates predefined interactions with a Mainframe to help testing with a Mainframe.