Isn't it a better idea to measure the actual user experience? Measure page
generation times with PHP and measure load and parse times with Javascript?



On Thu, Sep 6, 2012 at 11:00 PM, Benjamin Connelly
<[email protected]>wrote:

> We are attempting to build some tools so we can track metrics (when our
> users' experience might be getting too slow and we need to add resources.)
> So we want to be able to script logging in to RoundCube and viewing an
> inbox (and measure the time it takes.)
>
> I figured we could use wget with --save-cookies and --keep-session-cookies
>  to load the login page and get a cookie, then wget again with
> --load-cookies and --post-data to feed in all the form fields, including
> username and password, but now I've gotten myself very confused about the
> _token field in the form, and the roundcube_sessid string in the cookie
> (and the s=##### javascript stuff. . .) and haven't been able to get it
> working by flailing.
>
> Has anyone experience with this?
>
> Or is there documentation somewhere I could grok the whole login / session
> process?
>
> Or is this just not going to be possible without running some javascript?
>
> Thanks in advance,
>
> Benjamin
> _______________________________________________
> Roundcube Development discussion mailing list
> [email protected]
> http://lists.roundcube.net/mailman/listinfo/dev
>
_______________________________________________
Roundcube Development discussion mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to