Login to liferay using jmeter -


after lot of problems got liferay sign in through jmeter work. worked twice. first 1 user in thread group. , used 10 users out of 3 logged in. means way of doing has no problem (since successful on 4 occasions). next time onward, stopped working. suspicious observation have requests getting same auth token (p_auth) no matter how many times or how many users run with. restarted jmeter. why generate same token consistently different requests through jmeter? when try browser, works (comes different token every time).

how working? appreciated!

liferay introduces token (p_auth) csrf protection. token can used once, , that's problem performance tests. should disable token during tests execution, remember enable again after tests.

auth.token.check.enabled=false 

Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -