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 page---->add 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..
>  >> >>> >>>
>  >> >>> >>> thank you for your reply...
>  >> >>> >>>
>  >> >>> >>> can you please tell me about "separate Jmeter binary folder to
>  >> >>> record
>  >> >>> >>> HTTPS"
>  >> >>> >>> and from where i can get more help on that..i cannot access your
>  >> >>> >>> blog..bcoz
>  >> >>> >>> its ban at my office..
>  >> >>> >>>
>  >> >>> >>> if you can please reply to few of my simple queries..
>  >> >>> >>>
>  >> >>> >>> thanks
>  >> >>> >>> rajesh
>  >> >>> >>> -----------------------------------------------------------
>  >> >>> >>>
>  >> >>> >>> raghavendra kumar wrote:
>  >> >>> >>> >
>  >> >>> >>> > Hi
>  >> >>> >>> >
>  >> >>> >>> > There is a separate Jmeter binary folder to record HTTPS
>  >> recording
>  >> >>> >>> >
>  >> >>> >>> >
>  >> >>> >>> > see below link for more detais
>  >> >>> >>> >
>  >> >>> >>> >
>  >> >>> >>> > http://rkchunduri.blogspot.com
>  >> >>> >>> >
>  >> >>> >>> > On Tue, Mar 16, 2010 at 12:09 PM, Rajesh Tiwary
>  >> >>> <rajesh...@tcs.com>
>  >> >>> >>> wrote:
>  >> >>> >>> >
>  >> >>> >>> >>
>  >> >>> >>> >> hello all,
>  >> >>> >>> >>
>  >> >>> >>> >> i have following issues..
>  >> >>> >>> >> my aim is to record the following sequence of pages of an
>  >> HTTPS
>  >> >>> >>> >> application..which is ..
>  >> >>> >>> >> Main Page----> login page-->confirmation page--->data entry
>  >> >>> form--->
>  >> >>> >>> >> search
>  >> >>> >>> >> form.
>  >> >>> >>> >>
>  >> >>> >>> >> now i have checked the "attempt https spoofing" check box
>  >> found
>  >> >>> in
>  >> >>> >>> the
>  >> >>> >>> >> HTTP
>  >> >>> >>> >> Proxy tab and i am sucessfully able to record the 1st page or
>  >> >>> main
>  >> >>> >>> page
>  >> >>> >>> >> of
>  >> >>> >>> >> my application.
>  >> >>> >>> >>
>  >> >>> >>> >> But when i am clicking the "login page button" which provides
>  >> the
>  >> >>> >>> form
>  >> >>> >>> >> where
>  >> >>> >>> >> user id,password will be eneterd..then i am getting following
>  >> >>> >>> exception
>  >> >>> >>> >> below...when i am clicking the "login page" then a new window
>  >> is
>  >> >>> >>> getting
>  >> >>> >>> >> opened where i am getting this kind of exception and i am not
>  >> >>> able
>  >> >>> to
>  >> >>> >>> >> record
>  >> >>> >>> >> the pages further..
>  >> >>> >>> >> Also i have checked the "follow redirects" check box..but
>  >> still
>  >> i
>  >> >>> am
>  >> >>> >>> >> getting
>  >> >>> >>> >> exception..
>  >> >>> >>> >>
>  >> >>> >>> >> javax.net.ssl.SSLHandshakeException: Remote host closed
>  >> >>> connection
>  >> >>> >>> during
>  >> >>> >>> >> handshake
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:828)
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1116)
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1143)
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1127)
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:423)
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> 
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
>  >> >>> >>> >>        at
>  >> >>> >>> >>
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> 
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
>  >> >>> >>> >>        at
>  >> >>> >>> org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.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(SSLSocketImpl.java:809)
>  >> >>> >>> >>        ... 9 more
>  >> >>> >>> >> i have also added HTTP cookie manager,HTTP cache manager..
>  >> >>> >>> >>
>  >> >>> >>> >> can anyone tell me how can i record HTTPS application in this
>  >> >>> case..i
>  >> >>> >>> >> think
>  >> >>> >>> >> thers an issue with page redirect as i am not able to record
>  >> the
>  >> >>> >>> pages
>  >> >>> >>> >> which
>  >> >>> >>> >> are getting redirected...
>  >> >>> >>> >>
>  >> >>> >>> >> still suggest me whether i can record the page sequence with
>  >> any
>  >> >>> >>> other
>  >> >>> >>> >> tool
>  >> >>> >>> >> and then i can apply that to perform load test with JMeter??
>  >> >>> >>> >>
>  >> >>> >>> >> kindly suggest me anything..
>  >> >>> >>> >>
>  >> >>> >>> >> --
>  >> >>> >>> >> View this message in context:
>  >> >>> >>> >>
>  >> >>> >>>
>  >> >>>
>  >> 
> http://old.nabble.com/Getting-Exception-when-i-am-trying-to-record-an-HTTPS-application-tp27914031p27914031.html
>  >> >>> >>> >> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>  >> >>> >>> >>
>  >> >>> >>> >>
>  >> >>> >>> >>
>  >> >>> ---------------------------------------------------------------------
>  >> >>> >>> >> To unsubscribe, e-mail:
>  >> jmeter-dev-unsubscr...@jakarta.apache.org
>  >> >>> >>> >> For additional commands, e-mail:
>  >> >>> jmeter-dev-h...@jakarta.apache.org
>  >> >>> >>> >>
>  >> >>> >>> >>
>  >> >>> >>> >
>  >> >>> >>> >
>  >> >>> >>> > --
>  >> >>> >>> > Raghavendra Kumar
>  >> >>> >>> >
>  >> >>> >>> >
>  >> >>> >>>
>  >> >>> >>> --
>  >> >>> >>> View this message in context:
>  >> >>> >>>
>  >> >>>
>  >> 
> http://old.nabble.com/Getting-Exception-when-i-am-trying-to-record-an-HTTPS-application-tp27914031p27917227.html
>  >> >>> >>> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>  >> >>> >>>
>  >> >>> >>>
>  >> >>> >>>
>  >> >>> ---------------------------------------------------------------------
>  >> >>> >>> To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
>  >> >>> >>> For additional commands, e-mail:
>  >> jmeter-dev-h...@jakarta.apache.org
>  >> >>> >>>
>  >> >>> >>>
>  >> >>> >>
>  >> >>> >>
>  >> >>> >> --
>  >> >>> >> Raghavendra Kumar
>  >> >>> >>
>  >> >>> >>
>  >> >>> >
>  >> >>> >
>  >> >>>
>  >> >>> --
>  >> >>> View this message in context:
>  >> >>>
>  >> 
> http://old.nabble.com/Getting-Exception-when-i-am-trying-to-record-an-HTTPS-application-tp27914031p27918299.html
>  >> >>> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>  >> >>>
>  >> >>>
>  >> >>> ---------------------------------------------------------------------
>  >> >>> To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
>  >> >>> For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
>  >> >>>
>  >> >>>
>  >> >>
>  >> >>
>  >> >> --
>  >> >> Raghavendra Kumar
>  >> >>
>  >> >>
>  >> >
>  >> >
>  >>
>  >> --
>  >> View this message in context:
>  >> 
> http://old.nabble.com/Getting-Exception-when-i-am-trying-to-record-an-HTTPS-application-tp27914031p27927998.html
>  >> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>  >>
>  >>
>  >> ---------------------------------------------------------------------
>  >> To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
>  >> For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
>  >>
>  >>
>  >
>  >
>  > --
>  > Raghavendra Kumar
>  >
>  >
>
>
> --
>  View this message in context: 
> http://old.nabble.com/Getting-Exception-when-i-am-trying-to-record-an-HTTPS-application-tp27914031p27929930.html
>
> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
>  For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
>
>

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

Reply via email to