Jose Pablo Sarco wrote:
Hi,
I'm trying to test a Login-logout path with Jmeter but When I tried to
run the Test Plan with Jmeter I get messages of the type "Response code:
302 -- Response message: Moved Temporarily" and can not continue with
the path correctly.
This is the test plan:
HTTP Cookie manager (with clear cookies and compatibility policy)
HTTP URL Re-Writing Modifier (with path extension and cache session)
Simple Controller
Regular Expression Extractor
HTTP Request HTTPClient (get: login page | Follow redirects=True)
HTTP Request HTTPClient (post: User; check; View: ${jsViewState};
loginForm | Follow redirects=True) <---Here I have the Response code:
302
HTTP Request HTTPClient (get: Check user.faces | Follow
redirects=True)<---Here I have the Response code: 302
HTTP Request HTTPClient (get: responsability.faces | Follow
redirects=True)
JMeter does appear to be following the 302 redirects successfully...
HTTP Request HTTPClient (post:responsability; login;
View:${jsViewState};loginForm | Follow redirects=True)
It looks like the variable 'jsViewState' is not set. This is probably
the cause of your problems
# r
--
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028518
[EMAIL PROTECTED]
www.groupbc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]