You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Alex Turner <Al...@Project-Network.com> on 2006/09/09 11:09:00 UTC
RE: TPN POSSIBLE SPAM:JMETER testing applications with JOSSO
Sounds like you need some sort of cookie manager or url re-writer, according to which way JOSSO is forwarding the sign on to the browser.
There is stuff in the manual on this and there is some on my blog:
http://nerds-central.blogspot.com/2006/08/pushing-envelope-with-jmeter.html
quote"
So we need to add in a Cookie Manager. This will store the any Cookies associated with a thread. Remember that in JMeter threads are like users, so if you have 4 threads then you will have the same as 4 separate browsers connected to the server, and hence 4 separate cookies.
"endquote
Cheers
AJ
Alexander J Turner Ph.D.
www.deployview.com
www.nerds-central.blogspot.com
www.project-network.com
-----Original Message-----
From: me_zeta [mailto:me_zeta@yahoo.com]
Sent: 09 September 2006 07:05
To: jmeter-user@jakarta.apache.org
Subject: TPN POSSIBLE SPAM:JMETER testing applications with JOSSO
hi all,
I am new to jmeter and i have some queries
Is there a way how i can test applications which are in a Single sign on
using JOSSO. Now currently if i try to test the application using jmeter it
is not gettign logged in. Is there a way however to login to my application
while testing
plz help
zeta
--
View this message in context: http://www.nabble.com/JMETER-testing-applications-with-JOSSO-tf2242825.html#a6220830
Sent from the JMeter - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08/09/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08/09/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
testing applications with JOSSO
Posted by Alex Turner <Al...@Project-Network.com>.
BTW - there naturally has to be a limit to the number of redirects or you can get into a loop!
AJ
Alexander J Turner Ph.D.
www.deployview.com
www.nerds-central.blogspot.com
www.project-network.com
-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: 11 September 2006 11:25
To: JMeter Users List
Subject: TPN POSSIBLE SPAM:Re: TPN POSSIBLE SPAM:JMETER testing applications with JOSSO
As the message says - there are too many redirects.
This means that the 1st page redirected to a second page, that to a 3rd etc.
Have a look at responses in the View Tree Listener, and you should see
the redirects as children of the original request. This should show
you what is happening.
On 11/09/06, me_zeta <me...@yahoo.com> wrote:
>
> hi..
>
> I added a cookie manager. Now itz working fine.. thanx for the reply.
>
> But still one problem is ther. I have 5 requests. For the first request itz
> giving me an error as response
>
> ava.io.IOException: Exceeeded maximum number of redirects: 5
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirects(HTTPSamplerBase.java:888)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:934)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:474)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
> at java.lang.Thread.run(Unknown Source)
>
> but for the rest of the request itz working properly. Can u plz help me in
> soughting out this error
>
> zeta.
> --
> View this message in context: http://www.nabble.com/JMETER-testing-applications-with-JOSSO-tf2242825.html#a6241811
> Sent from the JMeter - User forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08/09/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 08/09/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: TPN POSSIBLE SPAM:JMETER testing applications with JOSSO
Posted by sebb <se...@gmail.com>.
As the message says - there are too many redirects.
This means that the 1st page redirected to a second page, that to a 3rd etc.
Have a look at responses in the View Tree Listener, and you should see
the redirects as children of the original request. This should show
you what is happening.
On 11/09/06, me_zeta <me...@yahoo.com> wrote:
>
> hi..
>
> I added a cookie manager. Now itz working fine.. thanx for the reply.
>
> But still one problem is ther. I have 5 requests. For the first request itz
> giving me an error as response
>
> ava.io.IOException: Exceeeded maximum number of redirects: 5
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirects(HTTPSamplerBase.java:888)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:934)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:474)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
> at java.lang.Thread.run(Unknown Source)
>
> but for the rest of the request itz working properly. Can u plz help me in
> soughting out this error
>
> zeta.
> --
> View this message in context: http://www.nabble.com/JMETER-testing-applications-with-JOSSO-tf2242825.html#a6241811
> Sent from the JMeter - User forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: TPN POSSIBLE SPAM:JMETER testing applications with JOSSO
Posted by me_zeta <me...@yahoo.com>.
hi..
I added a cookie manager. Now itz working fine.. thanx for the reply.
But still one problem is ther. I have 5 requests. For the first request itz
giving me an error as response
ava.io.IOException: Exceeeded maximum number of redirects: 5
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirects(HTTPSamplerBase.java:888)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:934)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:474)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
at java.lang.Thread.run(Unknown Source)
but for the rest of the request itz working properly. Can u plz help me in
soughting out this error
zeta.
--
View this message in context: http://www.nabble.com/JMETER-testing-applications-with-JOSSO-tf2242825.html#a6241811
Sent from the JMeter - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org