Re: HI - Http Proxy Server
HI Andrew 1.when i close the Jboss & free the 8080 port and start the Jmeter with the IP & port & set the IE setting to localhost & port 8080 , then am getting the following exception in the IE . "java.net.ConnectException: Connection timed out: connect" & one Http request page is getting added in the Test Plan of JMeter ( say if i try to record google one http request page for google is getting added to the test plan) the contents of that are Http request contents: servername or Ip google.com portNo : 80 protocal : http it has a child Http Header Manager:with some name & value in it . 2.when i keep the IE Ip to normal ip ( sat 10.12.11.176) then it is not getting recorded. 3.if i run the JBoss and then give a diff prot to the Jmeter then also iam not getting any thing recorded ! please tell how can i get out of this... * i request all in the group if you have any idea about it pls reply for the same... thanks in advance ... cheers Ranjith. > You mentioned that you were using JBoss on port 8080. Is this on your local machine? > If so, you will have a conflict between the JBoss and JMeter Proxy Server component. > You should modify the default port number of the JMeter Proxy Server component to be something else (e.g. 8090) and then setup IE to use that port number (e.g. 8090). > > I hope that is clearer for you. > > Cheers, > Andrew > > > - Original Message - > From: "Ranjith K babu" <[EMAIL PROTECTED]> > Date: Wed, 10 Dec 2003 10:50:22 +0530 > To: "JMeter Users List" <[EMAIL PROTECTED]> > Subject: Re: HI - Http Proxy Server > > > HI Andrew > > > > 1.I had specified the Host & Port for the Jmeter same as the proxy ip & > > port ( 10.12.11.176 & 8080 ) > > 2.then i canged the IE proxy to loaclhost & port as 8080 and tried to > > record ...but nothing is happening .! and even not able to browse > > the net also ...! > > > > i think am doing in the right way after installing the Jmeter , i > > have set the Jmeter-home & the JDK 1.4 path in the environment, do i > > need to do anything else . did i go wrong anywhere... > > > > please suggest me how to make the jmeter work for me . > > > > thanx in advance > > cheers > > Ranjith > > > > > > > As I understand it, > > > > > > 1) You have to tell JMeter what your regular web proxy server is by > > starting JMeter with the -H -P attributes (for you: 10.12.11.176 & port > > is 8080) > > > > > > 2) Then you have to tell IE to use the proxy server that JMeter > > starts: > > > Set the IE proxy to localhost and port to whatever port you have > > setup JMeter with (8090?) > > > Ensure that you have turned off "Use Automatic Configuration Script" > > from that screen in IE. > > > > > > Hope that helps. > > > > > > Cheers, > > > Andrew > > > > > > - Original Message - > > > From: "Ranjith K babu" <[EMAIL PROTECTED]> > > > Date: Tue, 9 Dec 2003 14:39:18 +0530 > > > To: "JMeter Users List" <[EMAIL PROTECTED]> > > > Subject: Re: HI - Http Proxy Server > > > > > > > > > > > Hi Andrew > > > > > > > > I have started the Jmeter with the H & P option , but if i change > > the > > > > port in the IE ti any thing other than 8080 the net is not working > > and > > > > am not able to record any thing in JMeter. > > > > > > > > say my original proxy ip is 10.12.11.176 & port is 8080 ... > > > > 1.i started the JMeter with the same IP 10.12.11.176 & port 8090 as > > my > > > > port 8080 is used by Jboss for my project , then when i try to > > browse > > > > anysite and try to recode then it is saying IE cannot find the site > > and > > > > nothing gets recorded in the JMEter . > > > > 2. if i keep the same ip & port as the original proxy ,then am bale > > to > > > > browse but not getting recorded in the JMeter. > > > > > > > > could you please help me out ...! > > > > > > > > cheers & Thanx in Advance > > > > ranjith > > > > > > > > > > - > > > > To unsubscribe, e-mail: jmeter-user- [EMAIL PROTECTED] > > > > For additional commands, e-mail: jmeter-user
Re: HI - Http Proxy Server
Hi Andrew Am extremely sorry to bother you with the same Question ! i did try with allocating the other port number to the Jmeter apart from 8080 , even then nothing is getting recorded. if i change the port in the IE in the normal circumstences ( with out Jmeter ) then also am not able to browse..! i tried closing the Jboss and made the port 8080 free and started JMeter with the IP & port 8080 and tried to record , but with no luck .! what can i do to achieve this. Thanks in advance cheers Ranjith. > You mentioned that you were using JBoss on port 8080. Is this on your local machine? > If so, you will have a conflict between the JBoss and JMeter Proxy Server component. > You should modify the default port number of the JMeter Proxy Server component to be something else (e.g. 8090) and then setup IE to use that port number (e.g. 8090). > > I hope that is clearer for you. > > Cheers, > Andrew > > > - Original Message - > From: "Ranjith K babu" <[EMAIL PROTECTED]> > Date: Wed, 10 Dec 2003 10:50:22 +0530 > To: "JMeter Users List" <[EMAIL PROTECTED]> > Subject: Re: HI - Http Proxy Server > > > HI Andrew > > > > 1.I had specified the Host & Port for the Jmeter same as the proxy ip & > > port ( 10.12.11.176 & 8080 ) > > 2.then i canged the IE proxy to loaclhost & port as 8080 and tried to > > record ...but nothing is happening .! and even not able to browse > > the net also ...! > > > > i think am doing in the right way after installing the Jmeter , i > > have set the Jmeter-home & the JDK 1.4 path in the environment, do i > > need to do anything else . did i go wrong anywhere... > > > > please suggest me how to make the jmeter work for me . > > > > thanx in advance > > cheers > > Ranjith > > > > > > > As I understand it, > > > > > > 1) You have to tell JMeter what your regular web proxy server is by > > starting JMeter with the -H -P attributes (for you: 10.12.11.176 & port > > is 8080) > > > > > > 2) Then you have to tell IE to use the proxy server that JMeter > > starts: > > > Set the IE proxy to localhost and port to whatever port you have > > setup JMeter with (8090?) > > > Ensure that you have turned off "Use Automatic Configuration Script" > > from that screen in IE. > > > > > > Hope that helps. > > > > > > Cheers, > > > Andrew > > > > > > - Original Message - > > > From: "Ranjith K babu" <[EMAIL PROTECTED]> > > > Date: Tue, 9 Dec 2003 14:39:18 +0530 > > > To: "JMeter Users List" <[EMAIL PROTECTED]> > > > Subject: Re: HI - Http Proxy Server > > > > > > > > > > > Hi Andrew > > > > > > > > I have started the Jmeter with the H & P option , but if i change > > the > > > > port in the IE ti any thing other than 8080 the net is not working > > and > > > > am not able to record any thing in JMeter. > > > > > > > > say my original proxy ip is 10.12.11.176 & port is 8080 ... > > > > 1.i started the JMeter with the same IP 10.12.11.176 & port 8090 as > > my > > > > port 8080 is used by Jboss for my project , then when i try to > > browse > > > > anysite and try to recode then it is saying IE cannot find the site > > and > > > > nothing gets recorded in the JMEter . > > > > 2. if i keep the same ip & port as the original proxy ,then am bale > > to > > > > browse but not getting recorded in the JMeter. > > > > > > > > could you please help me out ...! > > > > > > > > cheers & Thanx in Advance > > > > ranjith > > > > > > > > > > - > > > > To unsubscribe, e-mail: jmeter-user- [EMAIL PROTECTED] > > > > For additional commands, e-mail: jmeter-user- [EMAIL PROTECTED] > > > > > > > > > > -- > > > ___ > > > Sign-up for Ads Free at Mail.com > > > http://promo.mail.com/adsfreejump.htm > > > > > > > > > -- --- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For addit
Re: HI - Http Proxy Server
HI Andrew 1.I had specified the Host & Port for the Jmeter same as the proxy ip & port ( 10.12.11.176 & 8080 ) 2.then i canged the IE proxy to loaclhost & port as 8080 and tried to record ...but nothing is happening .! and even not able to browse the net also ...! i think am doing in the right way after installing the Jmeter , i have set the Jmeter-home & the JDK 1.4 path in the environment, do i need to do anything else . did i go wrong anywhere... please suggest me how to make the jmeter work for me . thanx in advance cheers Ranjith > As I understand it, > > 1) You have to tell JMeter what your regular web proxy server is by starting JMeter with the -H -P attributes (for you: 10.12.11.176 & port is 8080) > > 2) Then you have to tell IE to use the proxy server that JMeter starts: > Set the IE proxy to localhost and port to whatever port you have setup JMeter with (8090?) > Ensure that you have turned off "Use Automatic Configuration Script" from that screen in IE. > > Hope that helps. > > Cheers, > Andrew > > - Original Message - > From: "Ranjith K babu" <[EMAIL PROTECTED]> > Date: Tue, 9 Dec 2003 14:39:18 +0530 > To: "JMeter Users List" <[EMAIL PROTECTED]> > Subject: Re: HI - Http Proxy Server > > > > > Hi Andrew > > > > I have started the Jmeter with the H & P option , but if i change the > > port in the IE ti any thing other than 8080 the net is not working and > > am not able to record any thing in JMeter. > > > > say my original proxy ip is 10.12.11.176 & port is 8080 ... > > 1.i started the JMeter with the same IP 10.12.11.176 & port 8090 as my > > port 8080 is used by Jboss for my project , then when i try to browse > > anysite and try to recode then it is saying IE cannot find the site and > > nothing gets recorded in the JMEter . > > 2. if i keep the same ip & port as the original proxy ,then am bale to > > browse but not getting recorded in the JMeter. > > > > could you please help me out ...! > > > > cheers & Thanx in Advance > > ranjith > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > _______ > Sign-up for Ads Free at Mail.com > http://promo.mail.com/adsfreejump.htm > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Ranjith K Babu V&V Engineer , RELQ Software. 0044-7742933682 EmailId:[EMAIL PROTECTED] __ RelQ Software (P) Ltd. - For Verification & Validation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HI - Http Proxy Server
Hi Andrew I have started the Jmeter with the H & P option , but if i change the port in the IE ti any thing other than 8080 the net is not working and am not able to record any thing in JMeter. say my original proxy ip is 10.12.11.176 & port is 8080 ... 1.i started the JMeter with the same IP 10.12.11.176 & port 8090 as my port 8080 is used by Jboss for my project , then when i try to browse anysite and try to recode then it is saying IE cannot find the site and nothing gets recorded in the JMEter . 2. if i keep the same ip & port as the original proxy ,then am bale to browse but not getting recorded in the JMeter. could you please help me out ...! cheers & Thanx in Advance ranjith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HI - Http Proxy Server
Hi All Am trying to record through Http Proxy Server , these are the steps i have followed ... 1. created a new test Plan with a thread group say TG1 2.Added one simple controller , and one assertion results. 3.added the Http Proxy server in the workbench and set the port to 8090 as i am using Jboss for diff application and port 8080 is been used. 4.now i changed port the lansetting in the IE to 8090 and ip to localhost ! am not able to browse the sites i wanted to record , coz my sysmtem is using diff Ip (My proxy ip is diff-- i think that is the reason am not able to record).what can i do now , how can i record ! am runnign an project in web and wanted to record ! this project uses Jboss so the port 8080 is been used by that . ** please can anyone suggest hwo can i proceed further to perform the testing..: thanx in advance have a nice time Ranjith -- "Raise the Bar" > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 09, 2003 12:40 AM > Subject: Is it possible to Terminate JMeter based on results of response assertion? > > > > I am using JMeter to send a request to a web service. > > The web service will respond negatively for many iterations and then could either > > respond positively once and then respond with an alternative negative response, or > > simply respond with an alternate negative response > > > > What I'd like to do is to terminate sending requests after either the positive or the alternate negative response has been > received. > > > > Is this possible? If so, how would it be done? > > The following suggestions relate to builds after 1.9.1, so you would need to download one of the nightly builds. > > The Thread Group now has a set of options for action to be taken on Sampler Error. > You could set the action to Stop Thread or Stop Test, and then add the appropriate Assertions to cause the Sample to fail where > required. This assumes that the web service encodes the positive/negative reponse in the data, rather than in the HTTP response > code - i.e. the Sample responses must be successful; you can then use the Assertion to set the sample as failed. > > [The plan was to extend the Stop on Error options to allow more fine- grained control, but this has not yet been implemented.] > > However, if you are prepared to code a short Java script, what you ask should be possible using the latest CVS build - provided that > you get one with BeanShell support compiled in (the build log will tell you if so). You would also need to download the beanshell > jar from www.beanshell.org as this is not distributed with JMeter. > > The BeanShell Response Assertion allows you access to all the response fields and methods, including stopThread() and stopTest(). > > The response fields are accessible as the following variables (Strings): > ResponseData - this is of type byte [] > ResponseCode > ResponseMessage > ResponseHeaders > > So you could code something like: > > if (ResponseCode.equals("123")) { > Response.setStopThread(true); > } > > > > > The nature of the web service is such that there will be an unknown number of initial negative iterations. > > > > Such is life! > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Ranjith K Babu V&V Engineer , RELQ Software. 0044-7742933682 EmailId:[EMAIL PROTECTED] __ RelQ Software (P) Ltd. - For Verification & Validation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]