I used Live HTTP Headers and got to see where username and password is posted 
for login.
I add those parameters manually o Jmeter sampler, added response assertion to 
check URL after login sampler.
But response assertion always fails!!!

I double checked the login sampler. It is set to https protocol, with POST 
methods and parameters which I have added.
But when I execute the test, Response assertion fails for URL.

Any guess?

Thanks
~ T

-----Original Message-----
From: Deepak Shetty [mailto:[email protected]] 
Sent: Saturday, September 11, 2010 10:35 AM
To: JMeter Users List
Subject: Re: Does JMeter record user name and password for HTTPs request...

a. It should record username / password and the value you are showing isnt
it.
b. Not all parameters are mandatory for an application and its possible that
your app may work without this. However note that Jmeter marks samples as
passed when it gets a status code of 200. It does not trap application
errors , these need you to add your assertions to state what is expected
after which jmeter can flag errors when the assertion fails
c.Use something like LiveHttpHeaders in FF , login to your site, see where
the username/password is passed and compare the same with jmeter

On Fri, Sep 10, 2010 at 9:54 PM, Tarun Bhaduria <[email protected]>wrote:

> Well,
>
> This question is in continuation of one of my initial query, but since it
> is tangential I am filing it as a different question.
> I have an app which on launch changes from http to https (here login
> happens)  and after logging in it again changes to http.
>
> I am using JMeter - 2.4 to record the request using http proxy, and then
> change it to protocol to https during replay and get to see all success.
>
> On the recorded sample of JMeter for login page I see following "
> http%3A%2F%2Foo.edu.test.com%2Fcourse%2Frate%3Fcourse_id%3Dmedia-and-related-courses"
> under "Send Parameters With the request section"
> I was wondering to not see user name and password which I provide while
> logging in to https page.
> Does this parameter takes care of it? Does it contain encrypted username
> and password?
>
> Well I just removed this parameter and still got to see test running
> successfully!!!
> Where is JMeter hiding user name and password for my request?
>
> Thanks
> Tarun K
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to