I forgot to mention, it looks like you don't use HTTPS???
-----Original Message-----
From: david garcia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 6:02 PM
To: [EMAIL PROTECTED]; JMeter Users List; Tanya Powell
Subject: Re: Parameter mask Usage. . .
Actually, the proxy server was the only way I was able to get this far. Sifting
through all the HTML and javascript by hand would have been a bit of a pain. So here
is the output from the jmeter console:
D:\JMeter\jakarta-jmeter_5\bin>for %i in ("..\lib\*.jar") do CALL ..\lcp.bat %i
D:\JMeter\jakarta-jmeter_5\bin>CALL ..\lcp.bat ..\lib\ant-1.4.1.jar
log4j:ERROR No appenders could be found for category
(org.apache.jmeter.util.ClassFinder).
log4j:ERROR Please initialize the log4j system properly.
Sampling url: http://myclientsite.staging.com:80/
Sampling url: http://myclientsite.staging.com:80/tier1/OwnersLogin?TYPE=.*
<http://staging.owners.toyota.com:80/tier1/OwnersLogin?TYPE=.*&> &REALMOID=.*&GU
ID=.*&SMAUTHREASON=.*&TARGET=
########################################################
#
# All the SM and sm stuff is due to "SiteMinder authentication"
#
########################################################
Sampling url:
http://myclientsite.staging.com:80/member/OwnersLoginSubmit?User=test%40TOW
<http://staging.owners.toyota.com:80/member/OwnersLoginSubmit?User=test%40TOW>
2dhap.com&password=password&TYPE=.*&REALMOID=.*&GUID=.*&SMAUTHREASON=.*&TARGET=.*
########################################################
#
# I thought the ".*" would get expanded after the above request. I wonder why it
didn't??
#
########################################################
Sampling url: http://myclientsite.staging.com:80/tier1/OwnersLogin?TYPE=33554433
<http://staging.owners.toyota.com:80/tier1/OwnersLogin?TYPE=33554433&REALMOID>
&REALMOID
=06-3c910fef-c08c-0089-0000-207f0000207f&GUID=&SMAUTHREASON=0&TARGET=$SM$http://sm.myclientsite.com/member/OwnersLoginSubmit%3fUser=test$%40TOW2dhap.com%26password=password%26TYPE
=.*%26REALMOID=.*%26GUID=.*%26SMAUTHREASON=.*%26TARGET=.*
Sampling url: http://myclientsite.staging.com:80/member/ManageProfile?TYPE=.*
<http://staging.owners.toyota.com:80/member/ManageProfile?TYPE=.*&> &REALMOID=.*
&GUID=.*&SMAUTHREASON=.*&TARGET=
Sampling url: http://myclientsite.staging.com:80/tier1/OwnersLogin?TYPE=33554433
<http://staging.owners.toyota.com:80/tier1/OwnersLogin?TYPE=33554433&REALMOID>
&REALMOID
=06-3c910fef-c08c-0089-0000-207f0000207f&GUID=&SMAUTHREASON=0&TARGET=$SM$http://sm.myclientsite.com
/member/ManageProfile%3fTYPE=.*%26REALMOID=.*%26GUID=.*%26SMAUTHREASON=.*%26TARG
ET=
As far as the test plan I took tanya's suggestion and it now looks like this (See
Figure 1-4) attached. All this console output actually looks like it is moving in the
right direction. The problem is that the only page that is in the Result Tree is "/",
The login page. This suggests that The user never really gets logged in!! Otherwise, I
would expect to see the preference page in my result tree. . .
-David-
Mike Stover <[EMAIL PROTECTED]> wrote:
You've got the right idea with your test plan here. You say the first one
works, but the second one does not? It would be informative to see exactly
what JMeter does send for each of these requests.
JMeter tries to find a match on the current page for the next request when
you use the link parser. So, if your HTTP Request doesn't match up with a
form or a link tag, JMeter will just send the request through unmodified. I
highly recommend using the proxy server to record your actions so you can be
sure exactly what should be in your HTTP Request.
-Mike
On Tuesday 23 April 2002 07:43 pm, david garcia wrote:
> I was going to use it to change the email address on each request
> [EMAIL PROTECTED] . . [EMAIL PROTECTED] which from what I can gather it
> seems like exactly what it is supposed to do, however I wasn't sure. My
> biggest problem is a frustration similar to yours. I am trying to parse
> contents from one request and use the parsed data in another. My request
> when sent looks like: http://staging.clientsite.com/
> but gets rewritten to look like this:
> Sampling url:
> http://staging.clientsite.com/tier1/OwnersLogin?TYPE=33554433&REALMOID=06
> -3c910fef-c08c-0089-0000-207f0000207f&GUID=&SMAUTHREASON=0&TARGET=http://sm
>.clientsite. com/member/OwnersLogin
> What is the best way to deal with this. Does that mean you put a link
> parser before every request or will one link parser work for all subsequent
> HTTP requests? My simple Test plan is shown below: ThreadGroup
>
> |-HTTP Defaults
> |-Cookie Manager
> |-Http Request to /
>
> + --------+ Modification Manager
>
> +----Link Parser
>
> |----HTTP Request To Login -This one gets the parsed Values and
> | has params GUID, TYPE, RELMOID, SMAUTHREASON, etc set to ".*"
> | ----HTTP Request To view preferences - Is this one supposed
> | to get the parsed values too right now it isn't even when I
> | put a parser right before it??? BTW It has all the
>
> Yet when I run it I never even get to the View preferences page even though
> It successfully requests the "/" and "login" page. There is no error it
> just never executes the request to view preferences. A look at the View
> Results graph will show only the login page, never the preferences page.
>
>
> Tanya Powell wrote: Hi David,
> in my case, it didn't do anything. And honestly, I didn't understand fully
> what it does and I can't get it back in to any test script so I can't even
> look at it. :-)
>
> The Parameter Mask does not handle responses, so I guess it modifies
> requests as in loops etc. but that's opnly a guess.
>
> Have you got a Parameter Mask in your Test? If your interested: how did you
> get it there?
>
> Tanya
>
> Am Tuesday 23 April 2002 22:23 schriebst Du:
> > Congratulations on getting that working. I still don't understand what
> > the parameter mask does though, and the documentation for it makes no
> > sense to me. What do you use it for?
> >
> > -David-
> >
> >
> >
> > ---------------------------------
> > Do You Yahoo!?
> > Yahoo! Games - play chess, backgammon, pool and more
_____
Do You Yahoo!?
Yahoo! Games <http://rd.yahoo.com/welcome/*http://games.yahoo.com> - play chess,
backgammon, pool and more