I put your code in on the composer tab (my first mistake?) and pressed execute, but I get an error saying a connection couldn't be made because the target machine refused it. Fiddler isn't a terribly inviting program for someone who doesn't have a clue what they're doing, so I'm not even sure I'm putting your text in the right place. You don't have to use the manual proxy settings in Nokia Recovery Tool if you are using Fiddler, correct?
i'm using fiddler2 and to get to rules you need to Choose Rules > Customize Rules from the menu at the top of the program. it will open CustomRules.js and then in that file around line 134:
static function OnBeforeRequest(oSession: Session) {
paste the following inside that function (i only have 3 posts so i cannot post the actual hostname properly - remove the spaces between the .'s in the code below):
if (oSession.HostnameIs("www . caresuite . nokia . com") && oSession.oRequest.headers.ExistsAndContains("Content-Type","text/xml")){
// optional if your device is set to something other than RM-821. mine was already RM-820
// so i did not require it. change it to match your device, comment out this line or delete it out
oSession.utilReplaceInRequest('RM-821','RM-820');
// Replace the first product code with your actual device product code
oSession.utilReplaceInRequest('059L848','059R2L5');
}
save that file.
then in nokia care recovery tool under network change the proxy to address: 127.0.0.1 port: 8888. i set this up then closed the program, had fiddler open and ready, and then opened nokia recovery tool again so it started capturing requests from the beginning.
this should work if you are using fiddler2.