Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

How can I test my site "as if" users have logged in and then accessing different parts of the website?

I saw http://webmasters.stackexchange.com/questions/128/is-there-a-good-way-to-measure-my-sites-response-time-from-different-parts-of-th but it looks like its just for a "outside" / publicly visible page.

share|improve this question
add comment

3 Answers 3

up vote 1 down vote accepted

It's the same concept except you need to use software capable of handling logins. Or, you can disable authentication for that user agent during testing.

share|improve this answer
    
Right... are there sites/services which do this? Or freeware/open-source toolkits which do this? What do you use? And we need to replicate basic user behavior after logging in, making changes to the site wont work. –  matt74tm Oct 23 '10 at 14:56
    
sorry, could you lend some insight into this? –  matt74tm Jan 27 '11 at 3:47
    
Setup a copy of your site and turn of the authentication system. Then run your tests. Unless your authentication system is horribly written this will allow you to test you pages that are behind logins. –  John Conde Jan 27 '11 at 16:26
    
thanks. Decent idea...! –  matt74tm May 7 '11 at 10:24
add comment

You can use the free iMacros browser addons and time the macro runtime with the STOPWATCH command: http://wiki.imacros.net/STOPWATCH (= web performance testing)

share|improve this answer
add comment

It may help you

When some user login, you save this time in some variables. Once he had login, in jquery ready() send the current time to your some php or jsp page(whatever you have). subtract both time.

THis is just concept only. I hadnt tried it b4

share|improve this answer
    
i'll appreciate if people comments for negative voting –  articlestack Oct 23 '10 at 10:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.