Friday, June 16, 2017

Fiddler: Replay saved fiddler server response to repeat bug in Fiori client local testing

1. Setup Fiddler trace in customer site. Deleting and installing client app or reseting client app to delete all local cached response from device.

2. Start the client app with Fiddler trace enabled and repeat the issue, save the all session in fiddler trace after the testing

3. In local testing environment, open fiddler from local windows box, and open saved fiddle trace file

4. select and copy all session items and drag&drop to AutoResponder tab

5. url for certain requests may have "smphomebuster=" followed by a random timestamp string, in order to match those requests, delete the part after "smphomebuster=" and then delete the "EXACT:", and also select "Match only once" checkbox from the match rule as

6. select the checkbox of "Enable Rules" to start AutoResponder

7. from iOS device, connect to local Fiddler proxy and using the same fiori url to connect to start the app, and then repeat the same operation as customer does.

Note, not all session can be replayed properly, which needs more investigation


No comments:

Post a Comment