Problem with cookies
Status: Alpha
Brought to you by:
coroberti
From: Artur B <ar...@gm...> - 2007-07-19 01:10:28
|
Hi, I like curl-loader, it's a nice tool. But I'm constanly having the following message returned when trying to login with curl-loader: "You have either timed out or disabled cookies on your browser. Please make sure cookies are enabled" That page returned on url2 (3rd URL in below config file) Please see corresponding headers returned and my config file below. Thanks in advance for your help. Art ----------------------------------------------------------------------- HTTP/1.1 302 Found Date: Thu, 19 Jul 2007 00:15:40 GMT Server: Apache P3P: CP="STP ADM CON CUR DEV OUR INT NAV", policyref="/w3c/p3p.xml" Location: /app/logout Transfer-Encoding: chunked Content-Type: text/plain HTTP/1.1 302 Found Date: Thu, 19 Jul 2007 00:15:40 GMT Server: Apache Set-Cookie: websession=; path=/app; expires=Thu, 19-Jul-2007 00:15:39 GMT P3P: CP="STP ADM CON CUR DEV OUR INT NAV", policyref="/w3c/p3p.xml" Location: /exec/logout Transfer-Encoding: chunked Content-Type: text/plain HTTP/1.1 302 Found Date: Thu, 19 Jul 2007 00:15:40 GMT Server: Apache P3P: CP="STP ADM CON CUR DEV OUR INT NAV", policyref="/w3c/p3p.xml" Cache-Control: private Pragma: no-cache Location: https://mc-s100.test.company.com/exec/nocookie Transfer-Encoding: chunked Content-Type: text/plain HTTP/1.1 200 OK Date: Thu, 19 Jul 2007 00:15:40 GMT Server: Apache P3P: CP="STP ADM CON CUR DEV OUR INT NAV", policyref="/w3c/p3p.xml" Cache-Control: private Pragma: no-cache Transfer-Encoding: chunked Content-Type: text/html ########### GENERAL SECTION ################### # BATCH_NAME=web-service CLIENTS_NUM_MAX=1 CLIENTS_NUM_START=1 CLIENTS_RAMPUP_INC=0 INTERFACE=eth0 NETMASK=24 IP_ADDR_MIN= 172.16.0.181 IP_ADDR_MAX=172.16.0.181 URLS_NUM=8 CYCLES_NUM= 200 ########### URLs SECTION ####################### ### Login URL - cycling # GET-part # URL=https://login.test.company.com/exec/login URL_SHORT_NAME="Login-GET" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 3000 TIMER_AFTER_URL_SLEEP =1000 LOG_RESP_HEADERS=1 LOG_RESP_BODIES=1 # POST-part # URL="" URL_SHORT_NAME="Login-POST" URL_USE_CURRENT=1 #USERNAME= "us...@lt..." #PASSWORD= "testuser" REQUEST_TYPE=POST FORM_USAGE_TYPE= RECORDS_FROM_FILE FORM_RECORDS_FILE= /work/curl-loader/credentials.txt FORM_STRING= "email=%s&pword=%s" TIMER_URL_COMPLETION = 3000 TIMER_AFTER_URL_SLEEP =1000 LOG_RESP_HEADERS=1 LOG_RESP_BODIES=1 ### Cycling URL # URL=https://mc-s100.test.company.com/app/msgctr/junk_quarantine URL_SHORT_NAME="MC link selection" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 3000 TIMER_AFTER_URL_SLEEP =1000 LOG_RESP_HEADERS=1 LOG_RESP_BODIES=1 # URL=https://mc-s100.test.company.com/app/msgctr/virus_quarantine URL_SHORT_NAME="Junk" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 3000 TIMER_AFTER_URL_SLEEP =1000 LOG_RESP_HEADERS=1 LOG_RESP_BODIES=1 # URL=https://mc-s100.test.company.com/app/msgctr/delivered_quarantine URL_SHORT_NAME="Delivered" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 3000 TIMER_AFTER_URL_SLEEP =1000 LOG_RESP_HEADERS=1 LOG_RESP_BODIES=1 # URL=https://mc-s100.test.company.com/app/msgctr/trash URL_SHORT_NAME="Trash" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 3000 TIMER_AFTER_URL_SLEEP =1000 LOG_RESP_HEADERS=1 LOG_RESP_BODIES=1 # URL=https://mc-s100.test.company.com/app/msgctr/account URL_SHORT_NAME="Account" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 3000 TIMER_AFTER_URL_SLEEP =1000 LOG_RESP_HEADERS=1 LOG_RESP_BODIES=1 ### Logoff URL - cycling, uses GET and cookies to logoff. # URL=https://mc-s100.test.company.com/app/logout?redir=/app/logout URL_SHORT_NAME="Logoff" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 3000 TIMER_AFTER_URL_SLEEP =0 LOG_RESP_HEADERS=1 LOG_RESP_BODIES=1 |