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: [email protected] For additional commands, e-mail: [email protected]

