Hi Flavio
Thanks for response.
I have JSESSIONID and view state extractors:
I have also added URL rewriting modifier.
Nothing seem to work.
I tried putting ${javax.faces.ViewState} for parameter value for
javax.faces.ViewState no luck.
Followed this blog to setup extractors:
http://one-size-doesnt-fit-all.blogspot.com/2010/04/configuring-apache-jmeter-specifically.html
Thanks
Rajan
On Mon, Dec 26, 2011 at 11:06 AM, Flavio Cysne <[email protected]>wrote:
> In JSF applications you have to get the value of javax.faces.ViewState
> hidden input and in some cases the jsessionid of some resources and use
> them as variables at POST/GET parameters and URL query string,
> respectively.
>
> 2011/12/26 rajan gupta <[email protected]>
>
> > Hi
> >
> > Attached is the script that does following:
> >
> > - Goto test setup page
> > - Get redirected to login page
> > - Log in
> > - Fill three check boxes in test setup
> > - Enter url to go search page
> > - Enter first and last name to search.
> > - In search results page click on a new button
> > - Logout in next page
> >
> >
> > In the attached script at line no 674 is where I fill in parameters to
> > search page, like last name and first name and submit.
> >
> > Script goes just fine till I get to search page (i.e I get redirected to
> > login, login with userid, fill in test setup and go to search page).
> When I
> > send in data to search I get session ended message.
> >
> > I tried to put JSESSIONID extractor, hardcode things like j_id2 etc but
> > nothing works.
> >
> > When I looked at cokies in httpfox I see something like
> > Cookie JSESSIONID=BA46CED20A6A1EAFB385290AFA83D7F7.STGATLAS1;
> > window_name_cookie=atlasWindow2fbca314-aa7a-44ec-ab35-e9b125e2157b
> >
> > Even if I add HTTP cookie manager I do not see window_name_cookie getting
> > added.
> >
> > Post request always fails with invalid session.
> >
> > What could be the reason.
> >
> > Any suggestions.
> >
> > Thanks
> > Rajan
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>