You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sri123 <mo...@mail.nih.gov> on 2009/10/13 15:57:09 UTC
JMeter Logging into Single Sign on
Hello All
I am new to JMeter. I am trying to setup JMeter load testing for my
application. My application uses JDK 1.5 and Struts 1.1 and Oracle 10.1.3
OC4J SOA suite container for deploying the application. I am trying to
logging to my application using JMeter which redirects my request to
http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login
and gives me 401 unauthorized response code. I am passing the username and
password for logging to the application as a request parameter. Please let
me know how should I go about doing this.
Here is my request:
POST
http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~3801CDD1~87C5FC5C6327473C53BF659993518CC3646729BA36055FE66CCC1B9F2292E67CBAAEDB050CC26EB8A3BE08CC43DA84DC27EA1ABE24599F4B1A823AD85620239520F087B15F048A586CAA81AA7A5842620BADB4195BA2124F8DC2D66C2012A147B8D5A6E07BB5B2542AC913104E54E293F88928A124A6FBC9E34A5D044A03E54F37DE9B176E19365A9BEAD47C4B9B7727CCB10BA913B3A1D76BEC6DF033F4AF79BC540D7C0BEFD23F49BE1E298C3C23F8D2FADA6FCDD385A61D7185A4027D7060
POST data:
ssousername=SRI_LM&password=era5678$
[no cookies]
Request Headers:
Connection: keep-alive
Content-Length: 36
Content-Type: application/x-www-form-urlencoded
Sampler Result:
Thread Name: Login Thread 1-1
Sample Start: 2009-10-13 09:52:20 EDT
Load time: 47
Latency: 47
Size in bytes: 0
Sample Count: 1
Error Count: 1
Response code: 401
Response message: Unauthorized
Response headers:
HTTP/1.1 401 Unauthorized
Date: Tue, 13 Oct 2009 13:52:21 GMT
Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
X-OSSOUserID1: %{OSSO_USER1}e
UserId: %{RU}e
Cache-Control: private
WWW-Authenticate: BASIC realm="Single Sign-On"
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
HTTPSampleResult fields:
ContentType: text/html; charset=UTF-8
DataEncoding: UTF-8
There is no response data.
I have attached my .jmx file for your reference.
http://www.nabble.com/file/p25873378/Login%2BThread.jmx Login+Thread.jmx
Thanks
Sri
--
View this message in context: http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25873378.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: JMeter Logging into Single Sign on
Posted by sebb <se...@gmail.com>.
Read the page at the URL and follow its suggestions.
On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
>
> I dont understand your previous response to my message. Please explain to me
> what I should do next?
>
> Thanks
>
> Sri
>
> sebb-2-2 wrote:
> >
> > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
> >
> > On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
> >>
> >> I tried adding the Authorization manager inside my thread group and got
> >> the
> >> message. Please see the .jmx file after adding the authorization
> >> manager.
> >>
> >> http://www.nabble.com/file/p25874114/Login%2BThread.jmx Login+Thread.jmx
> >>
> >> I am still getting the same 401 unauthorized response code and the same
> >> request and response data as listed in my previous post.
> >>
> >> Thanks for your time.
> >>
> >> Sri
> >>
> >>
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
> >> >
> >> > Did you add an Authorization Manager?
> >> >
> >> > On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
> >> >>
> >> >> Hello All
> >> >>
> >> >> I am new to JMeter. I am trying to setup JMeter load testing for my
> >> >> application. My application uses JDK 1.5 and Struts 1.1 and Oracle
> >> >> 10.1.3
> >> >> OC4J SOA suite container for deploying the application. I am trying
> >> to
> >> >> logging to my application using JMeter which redirects my request to
> >> >>
> >> >>
> >> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login
> >> >> and gives me 401 unauthorized response code. I am passing the
> >> username
> >> >> and
> >> >> password for logging to the application as a request parameter.
> >> Please
> >> >> let
> >> >> me know how should I go about doing this.
> >> >>
> >> >> Here is my request:
> >> >>
> >> >> POST
> >> >>
> >> >>
> >> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~3801CDD1~87C5FC5C6327473C53BF659993518CC3646729BA36055FE66CCC1B9F2292E67CBAAEDB050CC26EB8A3BE08CC43DA84DC27EA1ABE24599F4B1A823AD85620239520F087B15F048A586CAA81AA7A5842620BADB4195BA2124F8DC2D66C2012A147B8D5A6E07BB5B2542AC913104E54E293F88928A124A6FBC9E34A5D044A03E54F37DE9B176E19365A9BEAD47C4B9B7727CCB10BA913B3A1D76BEC6DF033F4AF79BC540D7C0BEFD23F49BE1E298C3C23F8D2FADA6FCDD385A61D7185A4027D7060
> >> >>
> >> >> POST data:
> >> >> ssousername=SRI_LM&password=era5678$
> >> >>
> >> >> [no cookies]
> >> >>
> >> >> Request Headers:
> >> >> Connection: keep-alive
> >> >> Content-Length: 36
> >> >> Content-Type: application/x-www-form-urlencoded
> >> >>
> >> >> Sampler Result:
> >> >> Thread Name: Login Thread 1-1
> >> >> Sample Start: 2009-10-13 09:52:20 EDT
> >> >> Load time: 47
> >> >> Latency: 47
> >> >> Size in bytes: 0
> >> >> Sample Count: 1
> >> >> Error Count: 1
> >> >> Response code: 401
> >> >> Response message: Unauthorized
> >> >>
> >> >> Response headers:
> >> >> HTTP/1.1 401 Unauthorized
> >> >> Date: Tue, 13 Oct 2009 13:52:21 GMT
> >> >> Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
> >> >> X-OSSOUserID1: %{OSSO_USER1}e
> >> >> UserId: %{RU}e
> >> >> Cache-Control: private
> >> >> WWW-Authenticate: BASIC realm="Single Sign-On"
> >> >> Keep-Alive: timeout=15, max=100
> >> >> Connection: Keep-Alive
> >> >> Transfer-Encoding: chunked
> >> >> Content-Type: text/html; charset=UTF-8
> >> >>
> >> >>
> >> >> HTTPSampleResult fields:
> >> >> ContentType: text/html; charset=UTF-8
> >> >> DataEncoding: UTF-8
> >> >>
> >> >> There is no response data.
> >> >>
> >> >> I have attached my .jmx file for your reference.
> >> >>
> >> >> http://www.nabble.com/file/p25873378/Login%2BThread.jmx
> >> Login+Thread.jmx
> >> >>
> >> >> Thanks
> >> >> Sri
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25873378.html
> >> >> Sent from the JMeter - User mailing list archive 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
> >> >
> >> >
> >> >
> >>
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25874114.html
> >>
> >> Sent from the JMeter - User mailing list archive 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
> >
> >
> >
>
> --
>
> View this message in context: http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25874282.html
>
> Sent from the JMeter - User mailing list archive 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: JMeter Logging into Single Sign on
Posted by Sri123 <mo...@mail.nih.gov>.
I dont understand your previous response to my message. Please explain to me
what I should do next?
Thanks
Sri
sebb-2-2 wrote:
>
> http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
>
> On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
>>
>> I tried adding the Authorization manager inside my thread group and got
>> the
>> message. Please see the .jmx file after adding the authorization
>> manager.
>>
>> http://www.nabble.com/file/p25874114/Login%2BThread.jmx Login+Thread.jmx
>>
>> I am still getting the same 401 unauthorized response code and the same
>> request and response data as listed in my previous post.
>>
>> Thanks for your time.
>>
>> Sri
>>
>>
>>
>> sebb-2-2 wrote:
>> >
>> > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
>> >
>> > Did you add an Authorization Manager?
>> >
>> > On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
>> >>
>> >> Hello All
>> >>
>> >> I am new to JMeter. I am trying to setup JMeter load testing for my
>> >> application. My application uses JDK 1.5 and Struts 1.1 and Oracle
>> >> 10.1.3
>> >> OC4J SOA suite container for deploying the application. I am trying
>> to
>> >> logging to my application using JMeter which redirects my request to
>> >>
>> >>
>> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login
>> >> and gives me 401 unauthorized response code. I am passing the
>> username
>> >> and
>> >> password for logging to the application as a request parameter.
>> Please
>> >> let
>> >> me know how should I go about doing this.
>> >>
>> >> Here is my request:
>> >>
>> >> POST
>> >>
>> >>
>> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~3801CDD1~87C5FC5C6327473C53BF659993518CC3646729BA36055FE66CCC1B9F2292E67CBAAEDB050CC26EB8A3BE08CC43DA84DC27EA1ABE24599F4B1A823AD85620239520F087B15F048A586CAA81AA7A5842620BADB4195BA2124F8DC2D66C2012A147B8D5A6E07BB5B2542AC913104E54E293F88928A124A6FBC9E34A5D044A03E54F37DE9B176E19365A9BEAD47C4B9B7727CCB10BA913B3A1D76BEC6DF033F4AF79BC540D7C0BEFD23F49BE1E298C3C23F8D2FADA6FCDD385A61D7185A4027D7060
>> >>
>> >> POST data:
>> >> ssousername=SRI_LM&password=era5678$
>> >>
>> >> [no cookies]
>> >>
>> >> Request Headers:
>> >> Connection: keep-alive
>> >> Content-Length: 36
>> >> Content-Type: application/x-www-form-urlencoded
>> >>
>> >> Sampler Result:
>> >> Thread Name: Login Thread 1-1
>> >> Sample Start: 2009-10-13 09:52:20 EDT
>> >> Load time: 47
>> >> Latency: 47
>> >> Size in bytes: 0
>> >> Sample Count: 1
>> >> Error Count: 1
>> >> Response code: 401
>> >> Response message: Unauthorized
>> >>
>> >> Response headers:
>> >> HTTP/1.1 401 Unauthorized
>> >> Date: Tue, 13 Oct 2009 13:52:21 GMT
>> >> Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
>> >> X-OSSOUserID1: %{OSSO_USER1}e
>> >> UserId: %{RU}e
>> >> Cache-Control: private
>> >> WWW-Authenticate: BASIC realm="Single Sign-On"
>> >> Keep-Alive: timeout=15, max=100
>> >> Connection: Keep-Alive
>> >> Transfer-Encoding: chunked
>> >> Content-Type: text/html; charset=UTF-8
>> >>
>> >>
>> >> HTTPSampleResult fields:
>> >> ContentType: text/html; charset=UTF-8
>> >> DataEncoding: UTF-8
>> >>
>> >> There is no response data.
>> >>
>> >> I have attached my .jmx file for your reference.
>> >>
>> >> http://www.nabble.com/file/p25873378/Login%2BThread.jmx
>> Login+Thread.jmx
>> >>
>> >> Thanks
>> >> Sri
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25873378.html
>> >> Sent from the JMeter - User mailing list archive 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
>> >
>> >
>> >
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25874114.html
>>
>> Sent from the JMeter - User mailing list archive 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
>
>
>
--
View this message in context: http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25874282.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: JMeter Logging into Single Sign on
Posted by sebb <se...@gmail.com>.
http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
>
> I tried adding the Authorization manager inside my thread group and got the
> message. Please see the .jmx file after adding the authorization manager.
>
> http://www.nabble.com/file/p25874114/Login%2BThread.jmx Login+Thread.jmx
>
> I am still getting the same 401 unauthorized response code and the same
> request and response data as listed in my previous post.
>
> Thanks for your time.
>
> Sri
>
>
>
> sebb-2-2 wrote:
> >
> > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
> >
> > Did you add an Authorization Manager?
> >
> > On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
> >>
> >> Hello All
> >>
> >> I am new to JMeter. I am trying to setup JMeter load testing for my
> >> application. My application uses JDK 1.5 and Struts 1.1 and Oracle
> >> 10.1.3
> >> OC4J SOA suite container for deploying the application. I am trying to
> >> logging to my application using JMeter which redirects my request to
> >>
> >> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login
> >> and gives me 401 unauthorized response code. I am passing the username
> >> and
> >> password for logging to the application as a request parameter. Please
> >> let
> >> me know how should I go about doing this.
> >>
> >> Here is my request:
> >>
> >> POST
> >>
> >> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~3801CDD1~87C5FC5C6327473C53BF659993518CC3646729BA36055FE66CCC1B9F2292E67CBAAEDB050CC26EB8A3BE08CC43DA84DC27EA1ABE24599F4B1A823AD85620239520F087B15F048A586CAA81AA7A5842620BADB4195BA2124F8DC2D66C2012A147B8D5A6E07BB5B2542AC913104E54E293F88928A124A6FBC9E34A5D044A03E54F37DE9B176E19365A9BEAD47C4B9B7727CCB10BA913B3A1D76BEC6DF033F4AF79BC540D7C0BEFD23F49BE1E298C3C23F8D2FADA6FCDD385A61D7185A4027D7060
> >>
> >> POST data:
> >> ssousername=SRI_LM&password=era5678$
> >>
> >> [no cookies]
> >>
> >> Request Headers:
> >> Connection: keep-alive
> >> Content-Length: 36
> >> Content-Type: application/x-www-form-urlencoded
> >>
> >> Sampler Result:
> >> Thread Name: Login Thread 1-1
> >> Sample Start: 2009-10-13 09:52:20 EDT
> >> Load time: 47
> >> Latency: 47
> >> Size in bytes: 0
> >> Sample Count: 1
> >> Error Count: 1
> >> Response code: 401
> >> Response message: Unauthorized
> >>
> >> Response headers:
> >> HTTP/1.1 401 Unauthorized
> >> Date: Tue, 13 Oct 2009 13:52:21 GMT
> >> Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
> >> X-OSSOUserID1: %{OSSO_USER1}e
> >> UserId: %{RU}e
> >> Cache-Control: private
> >> WWW-Authenticate: BASIC realm="Single Sign-On"
> >> Keep-Alive: timeout=15, max=100
> >> Connection: Keep-Alive
> >> Transfer-Encoding: chunked
> >> Content-Type: text/html; charset=UTF-8
> >>
> >>
> >> HTTPSampleResult fields:
> >> ContentType: text/html; charset=UTF-8
> >> DataEncoding: UTF-8
> >>
> >> There is no response data.
> >>
> >> I have attached my .jmx file for your reference.
> >>
> >> http://www.nabble.com/file/p25873378/Login%2BThread.jmx Login+Thread.jmx
> >>
> >> Thanks
> >> Sri
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25873378.html
> >> Sent from the JMeter - User mailing list archive 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
> >
> >
> >
>
>
> --
> View this message in context: http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25874114.html
>
> Sent from the JMeter - User mailing list archive 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: JMeter Logging into Single Sign on
Posted by Sri123 <mo...@mail.nih.gov>.
I tried adding the Authorization manager inside my thread group and got the
message. Please see the .jmx file after adding the authorization manager.
http://www.nabble.com/file/p25874114/Login%2BThread.jmx Login+Thread.jmx
I am still getting the same 401 unauthorized response code and the same
request and response data as listed in my previous post.
Thanks for your time.
Sri
sebb-2-2 wrote:
>
> http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
>
> Did you add an Authorization Manager?
>
> On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
>>
>> Hello All
>>
>> I am new to JMeter. I am trying to setup JMeter load testing for my
>> application. My application uses JDK 1.5 and Struts 1.1 and Oracle
>> 10.1.3
>> OC4J SOA suite container for deploying the application. I am trying to
>> logging to my application using JMeter which redirects my request to
>>
>> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login
>> and gives me 401 unauthorized response code. I am passing the username
>> and
>> password for logging to the application as a request parameter. Please
>> let
>> me know how should I go about doing this.
>>
>> Here is my request:
>>
>> POST
>>
>> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~3801CDD1~87C5FC5C6327473C53BF659993518CC3646729BA36055FE66CCC1B9F2292E67CBAAEDB050CC26EB8A3BE08CC43DA84DC27EA1ABE24599F4B1A823AD85620239520F087B15F048A586CAA81AA7A5842620BADB4195BA2124F8DC2D66C2012A147B8D5A6E07BB5B2542AC913104E54E293F88928A124A6FBC9E34A5D044A03E54F37DE9B176E19365A9BEAD47C4B9B7727CCB10BA913B3A1D76BEC6DF033F4AF79BC540D7C0BEFD23F49BE1E298C3C23F8D2FADA6FCDD385A61D7185A4027D7060
>>
>> POST data:
>> ssousername=SRI_LM&password=era5678$
>>
>> [no cookies]
>>
>> Request Headers:
>> Connection: keep-alive
>> Content-Length: 36
>> Content-Type: application/x-www-form-urlencoded
>>
>> Sampler Result:
>> Thread Name: Login Thread 1-1
>> Sample Start: 2009-10-13 09:52:20 EDT
>> Load time: 47
>> Latency: 47
>> Size in bytes: 0
>> Sample Count: 1
>> Error Count: 1
>> Response code: 401
>> Response message: Unauthorized
>>
>> Response headers:
>> HTTP/1.1 401 Unauthorized
>> Date: Tue, 13 Oct 2009 13:52:21 GMT
>> Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
>> X-OSSOUserID1: %{OSSO_USER1}e
>> UserId: %{RU}e
>> Cache-Control: private
>> WWW-Authenticate: BASIC realm="Single Sign-On"
>> Keep-Alive: timeout=15, max=100
>> Connection: Keep-Alive
>> Transfer-Encoding: chunked
>> Content-Type: text/html; charset=UTF-8
>>
>>
>> HTTPSampleResult fields:
>> ContentType: text/html; charset=UTF-8
>> DataEncoding: UTF-8
>>
>> There is no response data.
>>
>> I have attached my .jmx file for your reference.
>>
>> http://www.nabble.com/file/p25873378/Login%2BThread.jmx Login+Thread.jmx
>>
>> Thanks
>> Sri
>>
>> --
>> View this message in context:
>> http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25873378.html
>> Sent from the JMeter - User mailing list archive 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
>
>
>
--
View this message in context: http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25874114.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: JMeter Logging into Single Sign on
Posted by sebb <se...@gmail.com>.
http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
Did you add an Authorization Manager?
On 13/10/2009, Sri123 <mo...@mail.nih.gov> wrote:
>
> Hello All
>
> I am new to JMeter. I am trying to setup JMeter load testing for my
> application. My application uses JDK 1.5 and Struts 1.1 and Oracle 10.1.3
> OC4J SOA suite container for deploying the application. I am trying to
> logging to my application using JMeter which redirects my request to
> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login
> and gives me 401 unauthorized response code. I am passing the username and
> password for logging to the application as a request parameter. Please let
> me know how should I go about doing this.
>
> Here is my request:
>
> POST
> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~3801CDD1~87C5FC5C6327473C53BF659993518CC3646729BA36055FE66CCC1B9F2292E67CBAAEDB050CC26EB8A3BE08CC43DA84DC27EA1ABE24599F4B1A823AD85620239520F087B15F048A586CAA81AA7A5842620BADB4195BA2124F8DC2D66C2012A147B8D5A6E07BB5B2542AC913104E54E293F88928A124A6FBC9E34A5D044A03E54F37DE9B176E19365A9BEAD47C4B9B7727CCB10BA913B3A1D76BEC6DF033F4AF79BC540D7C0BEFD23F49BE1E298C3C23F8D2FADA6FCDD385A61D7185A4027D7060
>
> POST data:
> ssousername=SRI_LM&password=era5678$
>
> [no cookies]
>
> Request Headers:
> Connection: keep-alive
> Content-Length: 36
> Content-Type: application/x-www-form-urlencoded
>
> Sampler Result:
> Thread Name: Login Thread 1-1
> Sample Start: 2009-10-13 09:52:20 EDT
> Load time: 47
> Latency: 47
> Size in bytes: 0
> Sample Count: 1
> Error Count: 1
> Response code: 401
> Response message: Unauthorized
>
> Response headers:
> HTTP/1.1 401 Unauthorized
> Date: Tue, 13 Oct 2009 13:52:21 GMT
> Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
> X-OSSOUserID1: %{OSSO_USER1}e
> UserId: %{RU}e
> Cache-Control: private
> WWW-Authenticate: BASIC realm="Single Sign-On"
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=UTF-8
>
>
> HTTPSampleResult fields:
> ContentType: text/html; charset=UTF-8
> DataEncoding: UTF-8
>
> There is no response data.
>
> I have attached my .jmx file for your reference.
>
> http://www.nabble.com/file/p25873378/Login%2BThread.jmx Login+Thread.jmx
>
> Thanks
> Sri
>
> --
> View this message in context: http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25873378.html
> Sent from the JMeter - User mailing list archive 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: JMeter Logging into Single Sign on
Posted by Sri123 <mo...@mail.nih.gov>.
Thanks All. I got that to work.
Sri123 wrote:
>
> Hello All
>
> I am new to JMeter. I am trying to setup JMeter load testing for my
> application. My application uses JDK 1.5 and Struts 1.1 and Oracle 10.1.3
> OC4J SOA suite container for deploying the application. I am trying to
> logging to my application using JMeter which redirects my request to
> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login
> and gives me 401 unauthorized response code. I am passing the username and
> password for logging to the application as a request parameter. Please let
> me know how should I go about doing this.
>
> Here is my request:
>
> POST
> http://webappdev4.era.nih.gov:7781/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=v1.4~3801CDD1~87C5FC5C6327473C53BF659993518CC3646729BA36055FE66CCC1B9F2292E67CBAAEDB050CC26EB8A3BE08CC43DA84DC27EA1ABE24599F4B1A823AD85620239520F087B15F048A586CAA81AA7A5842620BADB4195BA2124F8DC2D66C2012A147B8D5A6E07BB5B2542AC913104E54E293F88928A124A6FBC9E34A5D044A03E54F37DE9B176E19365A9BEAD47C4B9B7727CCB10BA913B3A1D76BEC6DF033F4AF79BC540D7C0BEFD23F49BE1E298C3C23F8D2FADA6FCDD385A61D7185A4027D7060
>
> POST data:
> ssousername=SRI_LM&password=era5678$
>
> [no cookies]
>
> Request Headers:
> Connection: keep-alive
> Content-Length: 36
> Content-Type: application/x-www-form-urlencoded
>
> Sampler Result:
> Thread Name: Login Thread 1-1
> Sample Start: 2009-10-13 09:52:20 EDT
> Load time: 47
> Latency: 47
> Size in bytes: 0
> Sample Count: 1
> Error Count: 1
> Response code: 401
> Response message: Unauthorized
>
> Response headers:
> HTTP/1.1 401 Unauthorized
> Date: Tue, 13 Oct 2009 13:52:21 GMT
> Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
> X-OSSOUserID1: %{OSSO_USER1}e
> UserId: %{RU}e
> Cache-Control: private
> WWW-Authenticate: BASIC realm="Single Sign-On"
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=UTF-8
>
>
> HTTPSampleResult fields:
> ContentType: text/html; charset=UTF-8
> DataEncoding: UTF-8
>
> There is no response data.
>
> I have attached my .jmx file for your reference.
>
> http://www.nabble.com/file/p25873378/Login%2BThread.jmx Login+Thread.jmx
>
> Thanks
> Sri
>
--
View this message in context: http://www.nabble.com/JMeter-Logging-into-Single-Sign-on-tp25873378p25878842.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org