Skill Level: Intermediate
For application replay, the images that you added to your application should be copied to the replay server. When the images are on the replay server, the images do not need to be sent in the payload which could cause performance issues. Instead, replay uses a unique identifier for each image to retrieve the needed images from the replay server. Part of developing your application includes collecting the images that you use in your application so that they can be copied to the replay server. You use the Target Simulator to collect images that you inserted into your application.
Before you begin:
When you start the tool, you must exercise every page in your application for the tool to capture the images. The Target Simulator uses the Acoustic SDK for Node.js. You can obtain an installer from the iOS SDK package or from the Acoustic SDK for Node.js overview page at http://www.ibm.com/developerworks/web/nodesdk/. Only the Acoustic SDK for Node.js is supported with the Target Simulator.
Note: This rake tool is mainly created to handle ImageView use cases, and if you notice missing images in replay pages, then you will have to use TargetSimulator to collect missing images in conjunction with it.
Target Simulator details
The Target Simulator acts as a target page on your local machine. After you start the simulator, you exercise every page in your application. The simulator takes the images that are embedded in the application, uses the image check sum to create unique file name for each image, and saves the images in the same location where the Target Simulator tool is located. After you have the images, the images must be transferred to the replay server images folder.