Testing a website with HTTPS login and cookies

2007-02-06 Thread Dwyer, Mike # ATLANTA
Did you ever get a response to your posting on "Testing a website with HTTPS login and cookies"? The reason I ask is that I need to do a similar thing, and am not being very successful getting pointers or sample code. Any response appreciated. /mike -- http://mail.python.org/mailma

Re: Testing a website with HTTPS login and cookies

2006-09-07 Thread John J. Lee
Hari Sekhon <[EMAIL PROTECTED]> writes: > I want to create a test that will do a proper login test to a web site > but I need some pointers. > > I need to login to the website by accessing an https url and posting > to that, which should return a very small 302 reply with the address > of the int

Re: Testing a website with HTTPS login and cookies

2006-09-07 Thread John J. Lee
"Sandra-24" <[EMAIL PROTECTED]> writes: > Hari Sekhon wrote: > > If anybody knows how to do this could they please give me a quick > > pointer and tell me what libraries I need to go read up on? > > > > One word. Selenium. Didn't sound like a good fit for Selenium to me. Selenium's great, but

Re: Testing a website with HTTPS login and cookies

2006-09-05 Thread Sandra-24
Hari Sekhon wrote: > If anybody knows how to do this could they please give me a quick > pointer and tell me what libraries I need to go read up on? > One word. Selenium. -Sandra -- http://mail.python.org/mailman/listinfo/python-list

Testing a website with HTTPS login and cookies

2006-09-05 Thread Hari Sekhon
Hi everyone, I want to create a test that will do a proper login test to a web site but I need some pointers. I need to login to the website by accessing an https url and posting to that, which should return a very small 302 reply with the address of the internal page. I need to take that page

Re: HTTPS Login

2006-09-01 Thread Gerold Penz
Tom Grove schrieb: > I am trying to login to a secure website and I am having some difficulty > understanding the process. Hi Tom! This code should do what you want: http://www.python-forum.de/post-18148.html#18148 Regards, Gerold :-) -- ___

Re: HTTPS Login

2006-08-31 Thread Thierry Lam
Instead of using the following: > req = urllib2.Request("https://web.site.com/default.aspx";, params) > data = urllib2.urlopen(req) Try: data = urllib.urlopen("https://web.site.com/default.aspx";, param) Thierry Tom Grove wrote: > I am trying to login to a secure website and I am having some

HTTPS Login

2006-08-31 Thread Tom Grove
I am trying to login to a secure website and I am having some difficulty understanding the process. Here is what I have with my limited knowledge of the subject: ##Start Code## #!/usr/bin/env python