On 8 August 2013 15:22, Riccardo Cohen <[email protected]> wrote: > Thanks > > Following your advice I made some new tests, and suddenly Opera decided to > ignore my proxy settings... (i was using opera to separate test building and > normal internet browsing...) > > I changed to firefox and found that the "include pattern" : > 192\.168\.1\.53.* works perfectly now ! > > I suppose that Opera made something wrong things that make jmeter proxy not > working... or something else.
Many browsers ignore proxy settings for local addresses by default. [After all, why should it need a proxy to communicate with the local network?] > At least I can do it with FF. > > Thanks a lot. > > > On 08/08/13 13:20, sebb wrote: >> >> On 7 August 2013 16:22, Riccardo Cohen <[email protected]> >> wrote: >>> >>> Hello >>> I use jmeter 2.9 on macosx 10.8 java 1.60_51 and try to record my request >>> with the HTTP proxy server. >>> >>> I can save all requests of the browser, fine. >>> >>> But my web site uses google maps, and the proxy server records also the >>> google maps request that I don't want to test. By the way when I run the >>> test with these requests, jmeter stops at 54 request instead of 200 >>> saved, >>> the 54th is a google map one of course... >>> >>> My site is at http://192.168.1.53:8000 . I tried to add : >>> >>> .*192\.168\.1\.53.* >>> >>> in the Url Patterns to include (I'm not expert in regexp but it seems to >>> be >>> clean). But it does not work properly : the browser fails to retreive >>> some >>> request and the application does not work, more over external request are >>> still saved. >> >> >> Using an IP address in the "Include" section works fine for me. >> >> Try recording a simpler local application. >> >> You can try with the mirror server; this runs on port 8081 and >> supports GET commands. >> >> Connect direct to it, and see how it behaves. >> Then connect via the proxy and experiment with the Includes and Excludes. >> >> If you add a Tree View Listener under the Proxy Server it will show >> all the requests forwarded by the proxy. >> >> Remember to check the log file for errors. >> >>> I tried to use a "If Controller", but found nowhere the documentation to >>> understand what I can put in the condition... (if someone can tell me >>> this >>> I'd be glad because I don't understand at all what variables I can put in >>> the condition) >>> >>> All I want is to exclude non-local requests from the recording, to test >>> only >>> my server and not google one. >>> >>> Thanks for any help. >>> >>> -- >>> Riccardo Cohen >>> +33 (0)6 09 83 64 49 >>> Société Realty-Property.com >>> 16 rue de Belle Isle >>> 37100 Tours >>> France >>> >>> <http://www.appartement-maison.fr> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > -- > Riccardo Cohen > +33 (0)6 09 83 64 49 > Société Realty-Property.com > 16 rue de Belle Isle > 37100 Tours > France > > <http://www.appartement-maison.fr> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
