About "Simulate Modem"‏

1,643 views
Skip to first unread message

xiaoshancom

unread,
Dec 29, 2009, 5:11:28 AM12/29/09
to Fiddler
I saw a trick about simulation of Modem:

In Fiddler2\Scripts\SampleRules.js

static function OnBeforeRequest(oSession: Session)

{

if (m_SimulateModem){

// Delay sends by 300ms per KB uploaded.

oSession["request-trickle-delay"] = "300";

}

static function OnBeforeResponse(oSession: Session)

{

if (m_SimulateModem){

// Delay receives by 150ms per KB downloaded.

oSession["response-trickle-delay"] = "150";

}


Is there a theroy about the simulation of modem?

What about the other velocity? i.e. ADSL...

EricLaw

unread,
Dec 29, 2009, 11:23:51 AM12/29/09
to Fiddler
These speeds were derived from a simple model of the effective
throughput of a modem.

You can adjust these to match any other connection speed you want, so
long as such speed is slower than how you're actually connected to the
network, of course.

The neXpert plugin for Fiddler does response-time predictions using
data from Microsoft Research.

Reply all
Reply to author
Forward
0 new messages