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.

HTTP

anugrahanugrah Members
edited November -1 in Sahi - Open Source
Can we log the HTTP response including content, headers and cookie

Comments

  • narayannarayan Administrators
    Yes, you can log the headers (includes cookies) and content.

    If you add

    debug.traffic.log = true

    to userdata/config/userdata.properties, and restart Sahi, all traffic between browser and server will be logged in userdata/logs/traffic folder. But this will very quickly cause all your disk space to get used up, so use this with EXTREME caution.

    That said, could you elaborate your requirement?
  • Thanks for your reply..
    Where we can see the log of headers (includind cookies) and content because currently i am not able to see it , i did add debug.traffic.log = true in the said path
    i opened the userdata.properties in textpad and added the path.

    My requirements are like, i just want to see the whole process when i use one particular application including the traffic
Sign In or Register to comment.