repost

From: Shruthi B. S.
Sent: Monday, July 02, 2012 8:47 PM
To: [email protected]
Subject: facing problem during replay

Hi,

I am working on an application which uses HTTPS.  When the application is 
launched it gets redirected to another login server link and on providing the 
login details the application home page opens.

The following setting is made:
IE browser -> tools -> Internet option->connections -> lan setting -> proxy 
server -> server is localhost and port is 8080

When I launch the application through Jmeter,  the first screen which gets 
displayed is the Certification Error page and the login page opens on clicking 
on the Continue link.

The problem is, apparently the Jmeter cannot record the login server 
information due to which I need to come up with an approach which skips the 
login transaction.

The approach planned is to add a cookie for the login so that the application 
directly hits the home page

I am able to record the application, but when I try to play back I get

Response code: 401
Response message: Authorization Required

The below is the Jmeter setting:
Test plan -> thread group
HTTP Cookie manager is added ,cookie policy is "Compatibility"
In the HTTP request -> Redirect automatically is unchecked and Follow Redirects 
is checked

Is there any way to resolve this issue? Can I record the login action and add 
the details as a cookie?




**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to