This is a migrated thread and some comments may be shown as answers.

failing to capture traffic on Win7 + cygwin wget

2 Answers 243 Views
Windows
This is a migrated thread and some comments may be shown as answers.
oldSailormen
Top achievements
Rank 1
oldSailormen asked on 07 Jul 2014, 09:21 AM
Hi,
I'm pretty new to fiddler so I beg your pardon if I'm posting a silly (or well-known) question... but I searched cygWing and wget keywords without success

I tried to use Fiddler in a test environment, in order to capture Http traffic from a REST web-service application.
Test stimulus comes from a cygWin shell running a wget GET & POST requests, on a Win7 PC. The response is a plain json text.

Fiddler traces http traffic when I issue GET requests from Firefox and from Fiddler itself, but nothing gets tracked when I use Fiddler
with my test suites based on cygWin + wget.

In first place I'd like to know if I'm trying something out of the scope of Fiddler (e.g: because of cygWing+wget implementation, or some other reason).
If you tell me it should work, I'll invest in studying in more depth the topic and I'll find how to do....
....although any quick additional suggestion will  be welcome !

thanks in advance

2 Answers, 1 is accepted

Sort by
0
Accepted
Eric Lawrence
Telerik team
answered on 07 Jul 2014, 02:46 PM
Hello, Francesco--

To use Fiddler with clients like WGET that don't adopt the system's proxy setting automatically, you must manually configure the client to proxy its traffic via the proxy at 127.0.0.1:8888. On Linux, you'd do that by following these steps: http://linuxers.org/tutorial/wget-proxy-how-run-wget-behind-proxy-server. I'm not sure exactly how you'd do it with Cygwin, but I suspect the procedure is quite similar.

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
oldSailormen
Top achievements
Rank 1
answered on 07 Jul 2014, 03:24 PM
Hello Eric,
thank you very much for your prompt answer.  I followed your instructions and I got Fiddler tracing the traffic I'm intrested to.

a simple:
   export http_proxy=http://127.0.0.1:8888
in the cygWin shell I'm using for issuing wget commands,  did the trick.

Regards
Francesco
Tags
Windows
Asked by
oldSailormen
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
oldSailormen
Top achievements
Rank 1
Share this question
or