You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/09/19 20:34:06 UTC

[Bug 55571] New: Using Chrome browser doesn't create test plan thru the meter proxy server

https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

            Bug ID: 55571
           Summary: Using Chrome browser doesn't create test plan thru the
                    meter proxy server
           Product: JMeter
           Version: 2.9
          Hardware: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: jeff_at_ucd2@yahoo.com

I'm having trouble getting Chrome working with the jmeter proxy server to help
record test clicks for a test plan.  Firefox works fine but Chrome doesn't.  I
tested with JMeter 2.5, 2.7 and 2.9 and all 3 versions, FF works but Chrome
doesn't.

I followed the instructions in the jmeter_proxy_step_by_step.pdf file
(http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf) to setup my
proxy server in JMeter and my browsers to use the proxy servers.

>From the instructions, I created
1) HTTP Request Defaults to hmeter.apache.org
2) Recording Controller
3) HTTP Proxy Server, including all elements, not just *.html
4) Start the Proxy server

The only difference in setup between the two browsers is when I changed the
proxy settings.  In FF, I went thru
FireFox->Preferences->Network->Settings->Manual proxy configuration to change
the proxy to my localhost and port 8080.  When I use the browser, it captures
the traffic and sends to the Recording Controller

In Chrome, it uses the global Network settings (System
Preferences->Network->Advanced->Proxies->Web Proxy (HTTP).  Web Proxy server =
localhost, port = 8080.  When I use Chrome, no traffic gets captured in the
Recording Controller.

I've set the severity to normal but we can drop the severity down if needed
since there's a workaround (use FF since it works).

I'm using Mac 10.7.5 on a MacBook Pro.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

--- Comment #8 from Sebb <se...@apache.org> ---
(In reply to jeff_at_ucd2 from comment #6)
> Yes, Chrome still works even when the proxy is off.  I wasn't sure why b/c
> FF didn't work when the proxy was off, and worked again when the proxy was
> back on.  
>
> I also tested with Opera 16.0.1196.73 and Safari 6.0.5 and these 2 browsers
> also didn't have their browsing activities captured.  The thing that's
> common between Chrome, Opera, and Safari is that they use the System
> Preferences->Network->Advanced->Proxy settings of the Mac but FF has its own
> settings to use a proxy.

Which suggests that the system settings are wrong -- most likely the system is
set to ignore the proxy for local addresses.

If the browser still works when the JMeter proxy is not running, then either it
is not attempting to use the proxy, or it is finding all the pages from cache.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create test plan thru the meter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

jeff_at_ucd2@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from jeff_at_ucd2@yahoo.com ---
Forgot to mention,
Chrome is 29.0.1547.65
FF is 23.0.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Using Mac Book Pro 10.6.8 and Chrome 29.0.1547.76 I don't reproduce issue, it
works for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #2 from Sebb <se...@apache.org> ---
Does Chrome still work if you stop the JMeter Proxy?

If so, it is not actually using the proxy.
Make sure it is not set to ignore the proxy for local addresses.

And make sure the cache is emptied before you start recording.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Try emptying URL Patterns to include, I suspect a misconfiguration of this
part.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

jeff_at_ucd2@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Using Chrome browser        |Using Chrome browser
                   |doesn't create test plan    |doesn't create http
                   |thru the meter proxy server |requests thru the jmeter
                   |                            |proxy server

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

--- Comment #7 from jeff_at_ucd2@yahoo.com ---
Here's the related post on stackoverflow.

http://stackoverflow.com/questions/18903038/cant-record-browser-clicks-in-jmeter-for-chrome-on-mac

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

--- Comment #10 from jeff_at_ucd2@yahoo.com ---
Possible cause might be company domain restrictions.  After rebooting my laptop
and selecting the proxy in System Preferences, jmeter was able to record
browsing activities from Chrome.  After waiting ~15 min, this didn't work.

There were other settings (screensaver turn on after X min) I had changed but
for some reason got changed back to some default setting so I assume there's
some company domain restrictions that reset/change settings and this is
affecting the proxy too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #9 from Sebb <se...@apache.org> ---
This is getting off-topic for Bugzilla.

If you are still having problems, please subscribe to the JMeter user list and
ask there.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

--- Comment #6 from jeff_at_ucd2@yahoo.com ---
Yes, Chrome still works even when the proxy is off.  I wasn't sure why b/c FF
didn't work when the proxy was off, and worked again when the proxy was back
on.  

I also tested with Opera 16.0.1196.73 and Safari 6.0.5 and these 2 browsers
also didn't have their browsing activities captured.  The thing that's common
between Chrome, Opera, and Safari is that they use the System
Preferences->Network->Advanced->Proxy settings of the Mac but FF has its own
settings to use a proxy.

I tried some of the advice by @PMD on stackoverflow.com but still having
problems.  I emptied the include and exclude boxes for the proxy but that
didn't help with Chrome.

I think @PMD tested with 10.6.8.  I had put it in my bug report earlier but
somehow it disappeared.  I'm using a MacBookPro, OSX 10.7.5.  These might be 2
things to look at when replicating this bug: a) the OS version difference and
b) the use of System Preferences vs FF's own config for using a proxy.

It's also possible there's a config setting(s) I'm not aware of, but that
confuses me as to what setting(s) since FF works with the proxy but everything
else doesn't.

Thanks for everyone chiming in and looking at this problem with me.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

jeff_at_ucd2@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Mac OS X 10.7

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55571] Using Chrome browser doesn't create http requests thru the jmeter proxy server

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55571

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 30872
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30872&action=edit
Network configuration for recording

-- 
You are receiving this mail because:
You are the assignee for the bug.