18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Sahi doenst record/playback on SAP

DasEtwasDasEtwas Members
edited November -1 in Sahi - Open Source
Hi guys
I have the following Problem:
I did work a long time to get sahi run on a https site, and by now it works (playback and record)
But i tried the same with a https site made with SAP (a framework) and now he doens't want to record and play it at all....
If i click on record he just reloads the sahi Controller, and sometimes he writes my commands in the script, but on playback he doenst even load the startsite if I click on set.
Anybody an Idea?
plx help
ty so far DasEtwas

Comments

  • narayannarayan Administrators
    Could you try with the latest unstable build? http://sourceforge.net/project/showfiles.php?group_id=151639&package_id=309861
    My guess is, there is a page from one other domain which is also opening a controller, and causing problems. The above build has a fix for it.

    Regards,
    Narayan
  • I tried it out, there is no change, wann see the sourcecode (html) of the website im tryn?
  • narayannarayan Administrators
    Yes the source code, or the website itself, will help.
    Also, try using a different browser and clear the browser cache once.
  • I cant show you the website itself because its in the intranet, diffrent browser is difficult, i have only access to firefox proxy settings (IE is blocked).
    I will sent u Sourcecode by Email/PM
  • Allright, I#m don't getting over that, ill use another tool now, but please tell me if you got any idea, ur tool is amazing :)
  • Hi all

    I see this problem too. I config proxy as the help file. Run the sahi.bat
    Then I open the IE or FF.
    I go to any website and I press ALT + double click -->> sahi controller display
    But with my site on local host, or my site on internet, I press ALT + double click -->> nothing display. I dont know why....

    Can any one help me plz. !!! :-(
  • narayannarayan Administrators
    Check that on your browser you are not bypassing the proxy for local addresses. On IE7, if you are accessing localhost you will have to use the machine name instead of localhost.
  • xxminhxxxxminhxx Members
    edited April 2009
    Hi narayan,

    I can run sahi controller with any web site, such as: google.com, yahoo.com....
    But only with my site, it doesn't work...I don't use bypassing for proxy of local address. .Can you have any explain for this problem ? :-(, why it work on any site, but it doesn't work on my site. Or my site are crazy :D, or do I need any configuration ??

    Thanks & best regards.

    ==== Here is my error
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Sou
    rce)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at net.sf.sahi.StreamHandler.setRawHeaders(StreamHandler.java:102)
    at net.sf.sahi.StreamHandler.populateHeaders(StreamHandler.java:51)
    at net.sf.sahi.request.HttpRequest.<init>(HttpRequest.java:75)
    at net.sf.sahi.ProxyProcessor.getRequestFromBrowser(ProxyProcessor.java:
    226)
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:64)
    at net.sf.sahi.ProxyProcessor.processConnect(ProxyProcessor.java:210)
    at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:119)
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:84)
    at java.lang.Thread.run(Unknown Source)
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handsh
    ake
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
    known Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Sou
    rce)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at net.sf.sahi.StreamHandler.setRawHeaders(StreamHandler.java:102)
    at net.sf.sahi.StreamHandler.populateHeaders(StreamHandler.java:51)
    at net.sf.sahi.request.HttpRequest.<init>(HttpRequest.java:75)
    at net.sf.sahi.ProxyProcessor.getRequestFromBrowser(ProxyProcessor.java:
    226)
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:64)
    at net.sf.sahi.ProxyProcessor.processConnect(ProxyProcessor.java:210)
    at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:119)
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:84)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    ... 14 more
  • narayannarayan Administrators
    minh,

    Can you clear your browser cache, and retry?
    Could you also start a new topic on this please? This topic is of Sahi on SAP.

    Update: Your site seems to be using ssl. Have a look at this: http://sahi.co.in/w/httpsssl-sites-do-not-work-properly

    Regards,
    Narayan
Sign In or Register to comment.