I need keep sending command FiddlerObject.utilIssueRequest(url); and read result for stop command and stop working when the required result is achieved
example
stop1 if Body = 170 => send FiddlerObject.utilIssueRequest(url);
stop2 if Body = 170 => send FiddlerObject.utilIssueRequest(url);
stop3 if Body = 310 => send FiddlerObject.utilIssueRequest(url);
class Handlers
{
public static ToolsAction("Request Once")
function doItOnce()
{
OnTimer(null, null);
}
public static function OnTimer(sender: Object, ea: EventArgs)
{
var s = "POST http://www.bbc.co.uk/ HTTP/1.1\r\nHost: www.bbc.co.uk\r\n\r\n";
try{
FiddlerObject.utilIssueRequest(s);
}
catch(e){
MessageBox.Show("send failed" + e.ToString());
}
}
}
You can use the OnBeforeRequest event to add a logic that stops specific requests.