I want to speed test Magento admin area with some 3rd party tool. However I can't do it as Magento admin area requires authentication.
Is there any way to disable it?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
I assume you are doing the tests via a browser-frontend? (Selenium or similar)?
Just create a user "tester" pw: "tester123" or similar before running the tests. This can be automatized, for example using the FOSS tool: magerun
n98-magerun.phar admin:user:create tester email@example.com tester123 Foo Bar
full disclosure: I am a contributor of the magerun project
Actually - after you did the login once, the session should be kept open (you can also tune the session time outs). So you have to log in only once and can then jump directly to admin.
This works only if your database / sessions are not fully reset for each test.
You could implement a module which simulates the admin session. Have a look at the
EcomDev_PHPUnit testing framework - this method might be a good start.
(but has to be rewritten if you do not use