18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
How does sahi handle cross-site http request?
Hi anyone,
Recently I am facing a new problem with sahi, in our application, each time when user clicks on a chart view, our application will make a http request from my localhost to another table server to get retrieved data back, but when I use sahi proxy server to access our application I can't get data back from our table server, I noticed sahi proxy removed "Access-Control-Allow-Origin" from server response header which caused java script error.
The error I got is: "http://localhost:8080 is not allowed by Access-Control-Allow-Origin."
Can anyone tell me how to deal with this kind of stuff? Because of this error I can't do any sahi recording and testing.
Thanks in advance.
Best regards
Min
Recently I am facing a new problem with sahi, in our application, each time when user clicks on a chart view, our application will make a http request from my localhost to another table server to get retrieved data back, but when I use sahi proxy server to access our application I can't get data back from our table server, I noticed sahi proxy removed "Access-Control-Allow-Origin" from server response header which caused java script error.
The error I got is: "http://localhost:8080 is not allowed by Access-Control-Allow-Origin."
Can anyone tell me how to deal with this kind of stuff? Because of this error I can't do any sahi recording and testing.
Thanks in advance.
Best regards
Min
Comments