please help..plz plz

View: New views
1 Messages — Rating Filter:   Alert me  

please help..plz plz

by AshishChadda :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi All,

Please assist me on successful playback of simple google script with proxy-server.

Script and Log details:

!Browser:IE5
!Date : 8/11/2008
Environment
        Description ""
        Mode            HTTP
        Wait            UNIT MILLISECONDS

Definitions
        ! Standard Defines
        Include                 "RESPONSE_CODES.INC"
        Include                 "GLOBAL_VARIABLES.INC"

        CHARACTER*512   USER_AGENT
        Integer                 USE_PAGE_TIMERS
        CHARACTER*256   MESSAGE
        CHARACTER*1024  blob_1_0

        Timer                   T_WITH

        CONSTANT                DEFAULT_HEADERS = "Host: www.google.co.in^J"    &
                "Accept-Encoding: gzip, deflate^J"      &
                "Proxy-Connection: Keep-Alive^J"        &
                "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"
        CONSTANT        S_cookie_1_0    = &
"PREF=ID=ce49156b31902325:TM=1218099565:LM=1218099565:S=cYas5HgvDRYqXpjB"
        CONSTANT        S_cookie_1_1    = &
"NID=13=KMYSi-8SIMUKR_FAys1C5IE_EgV8NTuA_nCd0uAbF4Y95E00lh_onkJTP8Cn1wwpitW7f_wYA_coJWCQ8fhD7Ha" &
        "qLCMjTsVZFemQ0RBWD7HwjZRZYXEvks-ORShTeaxc"

Code
        !Read in the default browser user agent field
        Entry[USER_AGENT,USE_PAGE_TIMERS]

        Start Timer T_WITH
        CONNECT TO "internet:8085" ON 1

        WAIT 63

        GET URI "http://www.google.co.in/ HTTP/1.1" ON 1 &
                HEADER DEFAULT_HEADERS &
                ,WITH {"Accept: */*", &
                        "Accept-Language: en-us", &
                        "Cookie: "+S_cookie_1_0+"; "+S_cookie_1_1}

        WAIT 15

        GET URI "http://www.google.co.in/ HTTP/1.1" ON 1 &
                HEADER DEFAULT_HEADERS &
                ,WITH {"Accept: */*", &
                        "Accept-Language: en-us", &
                        "Proxy-Authorization: NTLM " &
                                "TlRMTVNTUAABAAAAB7IIoggACAAxAAAACQAJACgAAAAFASgKAAAAD0EyTUQwNDMwOE1JTkRUUkVF", &
                        "Cookie: "+S_cookie_1_0+"; "+S_cookie_1_1}

        WAIT 16



        BUILD AUTHENTICATION BLOB       &
                FOR NTLM        &
                FROM CURRENT USER       &
                INTO blob_1_0

        GET URI "http://www.google.co.in/ HTTP/1.1" ON 1 &
                HEADER DEFAULT_HEADERS &
                ,WITH {"Accept: */*", &
                        "Accept-Language: en-us", &
                        "Proxy-Authorization: "+blob_1_0, &
                        "Cookie: "+S_cookie_1_0+"; "+S_cookie_1_1}

        DISCONNECT FROM 1

        GET URI "http://www.google.co.in/ HTTP/1.1" ON 2 &
                HEADER DEFAULT_HEADERS &
                ,WITH {"Accept: */*", &
                        "Accept-Language: en-us", &
                        "Cookie: "+S_cookie_1_0+"; "+S_cookie_1_1}

        BUILD AUTHENTICATION BLOB       &
                FOR NTLM        &
                FROM CURRENT USER       &
                INTO blob_1_0

                GET URI "http://www.google.co.in/ HTTP/1.1" ON 2 &
                HEADER DEFAULT_HEADERS &
                ,WITH {"Accept: */*", &
                        "Accept-Language: en-us", &
                        "Proxy-Authorization: "+blob_1_0, &
                        "Cookie: "+S_cookie_1_0+"; "+S_cookie_1_1}

                load response_info header on 2 &
                Into blob_1_0   &
                ,WITH "Proxy-Authenticate"

                BUILD AUTHENTICATION BLOB       &
                FOR NTLM        &
                FROM BLOB blob_1_0      &
                INTO blob_1_0

                GET URI "http://www.google.co.in/ HTTP/1.1" ON 2 &
                HEADER DEFAULT_HEADERS &
                ,WITH {"Accept: */*", &
                        "Accept-Language: en-us", &
                        "Proxy-Authorization: "+blob_1_0, &
                        "Cookie: "+S_cookie_1_0+"; "+S_cookie_1_1}


        SYNCHRONIZE REQUESTS

        End Timer T_WITH
Exit

ERR_LABEL:

        If (MESSAGE <> "") Then
                Report MESSAGE
        Endif

Exit


LOG:


!Begin replay
1-1 :[34]:START TIMER: T_WITH
1-1 :[35]:CONNECT(1) to proxy server internet:8085
1-1 :[37]:WAIT : Delay: 63
1-1 :[39]:REQUEST(1): GET http://www.google.co.in/ HTTP/1.1
1-1 :[45]:WAIT : Delay: 15
1-1 :[45]:Connection 1: receiving results with status 407
1-1 :[47]:REQUEST(1): GET http://www.google.co.in/ HTTP/1.1
1-1 :[55]:WAIT : Delay: 16
1-1 :[55]:Connection 1: receiving results with status 407
1-1 :[64]:REQUEST(1): GET http://www.google.co.in/ HTTP/1.1
1-1 :[71]:DISCONNECT(1)
1-1 :[71]:Connection 1: receiving results with status 407
TModeller_Web.exe|3448|1-1|WITH|73|E* REQUEST: ERROR connecting to www.google.co.in:80. Error is 10060: (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  )
TModeller_Web.exe|3448|1-1|WITH|73|E* TScript::run: ERROR in TOF execution; resuming...
TModeller_Web.exe|3448|1-1|WITH|84|E* REQUEST: ERROR connecting to www.google.co.in:80. Error is 10060: (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  )
TModeller_Web.exe|3448|1-1|WITH|84|E* TScript::run: ERROR in TOF execution; resuming...
TModeller_Web.exe|3448|1-1|WITH|91|E* HTTPRESPONSE: No data available for connection id(2)
TModeller_Web.exe|3448|1-1|WITH|91|E* TScript::run: ERROR in TOF execution; resuming...
!E* Authentication failed.
TModeller_Web.exe|3448|1-1|WITH|95|E* TScript::run: ERROR in TOF execution; resuming...
TModeller_Web.exe|3448|1-1|WITH|99|E* REQUEST: ERROR connecting to www.google.co.in:80. Error is 10060: (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  )
TModeller_Web.exe|3448|1-1|WITH|99|E* TScript::run: ERROR in TOF execution; resuming...
1-1 :[107]:SYNCHRONIZE
1-1 :[107]:All requests synchronised.
1-1 :[109]:STOP TIMER: T_WITH
1-1 :[110]:TRcrdExit, step 0: Cancelled all requests. Now waiting for the terminating script requests to complete.
1-1 :[110]:TRcrdExit, step 1: Script requests completed. Disconnecting all clients.
1-1 :[110]:TRcrdExit, step 2: Script clients disconnected.
1-1 :[110]:TOF execution is over.
!Script Completed Successfully.

This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
OpenSTA-users mailing list OpenSTA-users@...
Subscribe/Unsubscribe/Options: http://lists.sf.net/lists/listinfo/opensta-users
Posting Guidelines: http://portal.opensta.org/faq.php?topic=UserMailingList