Re: Getting Exception when i am trying to record an HTTPS application

2010-03-17 Thread sebb
On 17/03/2010, Rajesh Tiwary rajesh...@tcs.com wrote:

  hi,
  following is the order in which my test plan has been arranged..

  -Thread Group
- HTTP Header Manager
 -HTTP Cookie Manager
 -HTTP Request Defaults

-Simple Controller(main page)  { only page load operation is recorded
  here}
 -tree listener   {response shows main page loaded successfully}

   -Simple Controller(login page)  {login form load,user id and password is
  entered}
   -tree listener {response shows login page }

Clearly the login has not succeeded, there must be something missing
or wrong with the request. Maybe there are some dynamic variables that
need to be set.

Run the recording again, and compare the new login request with the old request.

   -Simple Controller( confirmation page) { button click to enter detail in
  the confirmation page and submit form data is recorded here}
   -tree listener { response shows that session expired}

   -Simple Controller(search page){here name is entered to search the detail
  entered is recorded}
   -tree listener { response shows that session expired}

  I hope you get a brief idea about my test plan..
   please reply ur suggesstion




  raghavendra kumar wrote:
  
   send me u r jmx file so that i can say where we are doing wrong
  
   On Wed, Mar 17, 2010 at 11:57 AM, Rajesh Tiwary rajesh...@tcs.com wrote:
  
  
   Hi Raghavendra,
  
   ya that problem solved..when i am using jre 1.5 then i am not getting
   exception and i am able to record the pages..
  
   but theres another issue..as i am running the test plan for the following
   step..
  
   Main page login confirmation pageadd details--search
   details..
  
   then i have added tree listener so in the response page of tree listener
   for
   login..i am getting the same login page as the response..
   and for further process like confirmation--add detail..all other tree
   listener have the response as kindly re-login as ur session has been
   expired..
   i have added http cookie manager and http url rewriting..
  
  
   Rajesh Tiwary wrote:
   
Hi,
   
Ya this is the exception...
   
   
javax.net.ssl.SSLHandshakeException: Remote host closed connection
   during
handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocke tImpl.java:828)
at sun.security.ssl.SSLSocketImpl.performInitialHands
hake(SSLSocketImpl.java:1116)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS
   ocketImpl.java:1143)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS
   ocketImpl.java:1127)
at sun.net.http://www.protocol.https.HttpsClien...lient.java:423)
at sun.net.http://www.protocol.https.AbstractDe...ction.java:185)
at sun.net.http://www.protocol.https.HttpsURLCo...nImpl.java:153)
at org.apache.jmeter.protocol.http.sampler.HTTPSample
r.sample(HTTPSampler.java:490)
at org.apache.jmeter.protocol.http.sampler.HTTPSample
rBase.sample(HTTPSamplerBase.java:1037)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Pr oxy.java:195)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java :352)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocke tImpl.java:809)
... 9 more
   
 i am getting this in my mozilla browser window during the instance
   when
   i
am trying to record the login page using JMeter..
i am using fedora as my OS..
   
which script ur asking for..i mean the .jmx file for the test or
   something
else..
   
what can be the problem...have u faced this problem earlier?
   
what changes we have to do in jmeter.properties file?
   
   
   
raghavendra kumar wrote:
   
hi,
   
Can u send me the Stack trace of the exception or the script
   
   
   
   
On Tue, Mar 16, 2010 at 7:35 PM, Rajesh Tiwary rajesh...@tcs.com
   wrote:
   
   
Hi,
No i am facing the same problem..theres no improvement..same old
exception..i am using jre 1.6
someone said that using jre 1.5 may help..
   
can you suggest anything else..i am able to record the 1st page or
   index
page of https web application..but not able to record the login page
   or
any
other page..
   
Please reply..
   
regards,
rajesh
   
   
   
Rajesh Tiwary wrote:

 Hi raghavendra,
 thanks yaar..thanks for d reply..

 so after downloading the given version..rest other procedures are
   same
 like to record first then apply assertion and test or any other
process
 needs to be followed??
 I will be posting another issues if i face any..


 raghavendra kumar wrote:

 http://www.milamberspace.net/jmeter-testing/dist/

 http://www.milamberspace.net/jmeter-testing/dist/this is the
   link
from
 where u can get the jmeter batch file

 On Tue, Mar 16, 2010 at 6:20 PM, Rajesh Tiwary rajesh...@tcs.com
wrote:


 Hi raghavendra..

  

Re: Getting Exception when i am trying to record an HTTPS application

2010-03-17 Thread Rajesh Tiwary

ok..i will try recording again..the application which i am testing is a https
application with session support..so i have read somewhere on net that
JMeter lags in the area where application is of https type and work on the
basis of session..

can anyone confirm me who has successfully tested a https application that
supports session features..
also please suggest me anyother idea if you have..
please tell whether my test plan creation process is correct or not??

Also i would like to mention that whatever pages i am recording..during the
test run , i am not getting any error count in the tree listener..and all
signal are green...But the response pages are showing session expired..as i
have mentioned earlier..




sebb-2-2 wrote:
 
 On 17/03/2010, Rajesh Tiwary  wrote:

  hi,
  following is the order in which my test plan has been arranged..

  -Thread Group
- HTTP Header Manager
 -HTTP Cookie Manager
 -HTTP Request Defaults

-Simple Controller(main page)  { only page load operation is recorded
  here}
 -tree listener   {response shows main page loaded successfully}

   -Simple Controller(login page)  {login form load,user id and password
 is
  entered}
   -tree listener {response shows login page }
 
 Clearly the login has not succeeded, there must be something missing
 or wrong with the request. Maybe there are some dynamic variables that
 need to be set.
 
 Run the recording again, and compare the new login request with the old
 request.
 
   -Simple Controller( confirmation page) { button click to enter detail
 in
  the confirmation page and submit form data is recorded here}
   -tree listener { response shows that session expired}

   -Simple Controller(search page){here name is entered to search the
 detail
  entered is recorded}
   -tree listener { response shows that session expired}

  I hope you get a brief idea about my test plan..
   please reply ur suggesstion
 



  raghavendra kumar wrote:
  
   send me u r jmx file so that i can say where we are doing wrong
  
   On Wed, Mar 17, 2010 at 11:57 AM, Rajesh Tiwary rajesh...@tcs.com
 wrote:
  
  
   Hi Raghavendra,
  
   ya that problem solved..when i am using jre 1.5 then i am not getting
   exception and i am able to record the pages..
  
   but theres another issue..as i am running the test plan for the
 following
   step..
  
   Main page login confirmation pageadd details--search
   details..
  
   then i have added tree listener so in the response page of tree
 listener
   for
   login..i am getting the same login page as the response..
   and for further process like confirmation--add detail..all other
 tree
   listener have the response as kindly re-login as ur session has been
   expired..
   i have added http cookie manager and http url rewriting..
  
  
   Rajesh Tiwary wrote:
   
Hi,
   
Ya this is the exception...
   
   
javax.net.ssl.SSLHandshakeException: Remote host closed connection
   during
handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocke
 tImpl.java:828)
at sun.security.ssl.SSLSocketImpl.performInitialHands
hake(SSLSocketImpl.java:1116)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS
   ocketImpl.java:1143)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS
   ocketImpl.java:1127)
at sun.net.http://www.protocol.https.HttpsClien...lient.java:423)
at sun.net.http://www.protocol.https.AbstractDe...ction.java:185)
at sun.net.http://www.protocol.https.HttpsURLCo...nImpl.java:153)
at org.apache.jmeter.protocol.http.sampler.HTTPSample
r.sample(HTTPSampler.java:490)
at org.apache.jmeter.protocol.http.sampler.HTTPSample
rBase.sample(HTTPSamplerBase.java:1037)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Pr oxy.java:195)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java :352)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocke
 tImpl.java:809)
... 9 more
   
 i am getting this in my mozilla browser window during the instance
   when
   i
am trying to record the login page using JMeter..
i am using fedora as my OS..
   
which script ur asking for..i mean the .jmx file for the test or
   something
else..
   
what can be the problem...have u faced this problem earlier?
   
what changes we have to do in jmeter.properties file?
   
   
   
raghavendra kumar wrote:
   
hi,
   
Can u send me the Stack trace of the exception or the script
   
   
   
   
On Tue, Mar 16, 2010 at 7:35 PM, Rajesh Tiwary rajesh...@tcs.com
   wrote:
   
   
Hi,
No i am facing the same problem..theres no improvement..same old
exception..i am using jre 1.6
someone said that using jre 1.5 may help..
   
can you suggest anything else..i am able to record the 1st page
 or
   index
page of https web application..but not able to record the login
 page
   or
any
other page..
   

[Jakarta-jmeter Wiki] Update of JMeterUsers by Rainer Jung

2010-03-17 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-jmeter Wiki 
for change notification.

The JMeterUsers page has been changed by RainerJung.
http://wiki.apache.org/jakarta-jmeter/JMeterUsers?action=diffrev1=42rev2=43

--

  ||[[http://www.ephibian.com|Ephibian]] ||Tucson, AZ ||We develop enterprise 
web applications using open source software such as Tomcat, Apache, JMeter and 
PostgreSQL. ||
  ||[[http://www.disid.com|DiSiD Technologies]] ||Spain ||We are using JMeter 
for performance testing. ||
  ||[[http://www.innopath.com|Innopath Software]] ||USA ||Use JMeter heavily 
for performance testing and for end to end testing. ||
+ ||[[http://www.kippdata.de|kippdata informationstechnologie GmbH]] ||Germany 
||We offer professional performance testing and trainings using Apache JMeter||
  ||Lufthansa Systems Indonesia ||Indonesia ||We use JMeter for performance 
testing. Currently we use it for testing our Frequent Flyer Program 
application. ||
  ||[[http://www.neevtech.com|Neev Information Technologies]] ||India ||We are 
using JMeter for Performance and Load testing of Web Applications we develop 
for our clients. ||
  ||[[http://www.orbitz.com|orbitz]] ||USA ||We use JMeter for performance 
testing in our DEV  DEVQA servers. ||
@@ -32, +33 @@

  ||[[http://www.xrow.com|xrow GmbH]] ||Germany ||Uses JMeter for performance 
and load testing of eZ Publish applications. ||
  ||[[http://www.info-spectrum.com|Infospectrum India Pvt. Ltd]] ||India ||Uses 
JMeter for performance and load testing. ||
  
- 
- 

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org