On 25/11/05, Shaik Afgal Bhasha <[EMAIL PROTECTED]> wrote: > Thanks Sebb, > > But I didn't get the last statement > > "The browser and JMeter need to talk to different proxies."
See the diagram. For recording (only), the browser needs to talk to the JMeter internal proxy, and you need to start the JMeter proxy. JMeter needs to talk to the external proxy to access any external web-sites. > Does this means, if you are already behind a proxy, > Proxy recording won't work if the 'Application'/ 'Web' server is not > hosted on same machine where JMeter is running. No, it does not. > 1. The problem is if I change my browser settings other than to original > proxy settings I cannot access any of the sites. There must be an error in one of the settings, or you failed to start the JMeter proxy. > Regards, > Afzal > > > -----Original Message----- > From: sebb [mailto:[EMAIL PROTECTED] > Sent: Friday, November 25, 2005 6:22 PM > To: Shaik Afgal Bhasha > Cc: JMeter Users List > Subject: Re: SAP Portal load Testing > > I think my previous reply was incomplete: > > On 22/11/05, sebb <[EMAIL PROTECTED]> wrote: > > On 22/11/05, Shaik Afgal Bhasha <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > > > > We tried Proxy to record the HTTP sessions following the guide lines > > > mentioned in the user manual. > > > > > > As we are behind the proxy > > > > > > 1. We started JMeter from command prompt with command > > > jmeter -H proxyname -P 8090 -u username -a password > > OK, that tells JMeter to use the proxy needed to access the internet. > It should be the same setting as you normally use in the browser to > access the internet. > > > > 2. We modified the settings in internet explorer > > > TOOLS --> Internet Options -->Connections-->LAN Settings > > > Where we removed the our proxy name and entered as localhost and > port as > > > 8090 > > Perhaps OK, see below. > > > > 3. In JMeter window added 'Thread Group' and 'HTTP Request Defaults' > > > where for > > > server path we entered 'Jakarta.apache.org'. Also added 'HTTP > Proxy > > > Server' to > > > workbench > > > > Did you start the Proxy server? > > You need to set the JMeter Proxy server to us port 8090 in this case. > > > > 4. When we tried to access to > > > a. We are getting 'Jakarta.apache.org' site we are getting > --> > > > Page Cannot Be displayed error page > > > > > > Would like to know if we change the internet settings in browser and > > > then start the JMeter from command prompt providing proxyname and > port > > > number > > > > > > 1. will these settings reflect in the browser? > > > > Jmeter does not change any the browser settings. > > > > > > > > Even we tried omitting the step 2 i.e., retaining the LAN settings > and > > > starting the JMeter from command prompt with proxy details. > > > > > > But nothing seems to be happening in JMeter front (no recording) > > > > > > > > > Appreciate if any body can point out where we are doing wrong. > > > > > Note that there are two proxy servers in this case: > - proxy server giving access to the internet > - JMeter proxy server used to intercept the browser requests > > Normally you have: > > Browser -> External proxy -> Internet > > For recording you need: > > Browser -> JMeter proxy -> External Proxy -> Internet > > The browser and JMeter need to talk to different proxies. > > > > Waiting for your reply. > > > > > > > > > Regards, > > > Afzal > > > > > > -----Original Message----- > > > From: sebb [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, November 22, 2005 4:14 PM > > > To: Shaik Afgal Bhasha > > > Cc: JMeter Users List > > > Subject: Re: SAP Portal load Testing > > > > > > You also need to set the JMeter proxy - see section 2.4.2 in > > > http://jakarta.apache.org/jmeter/usermanual/get-started.html > > > > > > This will need to be set for all JMeter runs that access external > > > sites, not just for the proxy recording. > > > > > > S. > > > On 22/11/05, Shaik Afgal Bhasha <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi All, > > > > > > > > Thanks for your inputs. We are stuck in the basic proxy recording > > > > itself. > > > > We are accessing the net through our internal proxy. If we set > > > > 'localhost' as our proxy server and change the port to other than > > > "8080" > > > > (as defined in the PDF), we cannot access the any internet sites > > > > (Jakarta.apache.org). Hope you are understanding the issue. > > > > > > > > Appreciate if anybody let us know any work around for this. > > > > > > > > Regards, > > > > Afzal > > > > > > > > > > > > -----Original Message----- > > > > From: sebb [mailto:[EMAIL PROTECTED] > > > > Sent: Monday, November 21, 2005 7:58 PM > > > > To: JMeter Users List > > > > Subject: Re: SAP Portal load Testing > > > > > > > > You can use the Proxy to record HTTP sessions: > > > > > > > > > > > > http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pd > > > > f > > > > > > > > S. > > > > On 21/11/05, Peter Lin <[EMAIL PROTECTED]> wrote: > > > > > if it's just a normal webapp, you should be able to. I don't > know > > > SAP > > > > > portal, so can't say how easy it is to test. > > > > > > > > > > > > > > > peter > > > > > > > > > > On 11/21/05, Shaik Afgal Bhasha <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi All, > > > > > > > > > > > > We would like to know whether JMeter can be used for load > > > testing > > > > the > > > > > > SAP Enterprise Portal applications. If yes are there any steps > > > that > > > > we need > > > > > > to follow for this to achieve. > > > > > > > > > > > > Appreciate if you can throw some light on this. > > > > > > > > > > > > Thanks in advance for your reply. > > > > > > > > > > > > Regards, > > > > > > > > > > > > Afzal > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > 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] > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

