You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to log all requests and responses using RequestLogger. Some responses are gzip bodies. I am unable to unzip them when running with native automation.
What is the Current behavior?
Trying to unzip compressed response bodies fails with native automation
What is the Expected behavior?
body unzips normally
What is the public URL of the test page? (attach your complete example)
Hello,
I managed to reproduce the issue. As a workaround, you can use stringifyResponseBody in RequestLogger Constructor options. Please try this solution and let us know if you encounter any issues.
Interesting. With disableNativeAutomation, using stringifyResponseBody returned garbage data since it was gzip. But I do see stringifyResponseBody does return the correct string format. good to know
What is your Scenario?
Trying to log all requests and responses using RequestLogger. Some responses are gzip bodies. I am unable to unzip them when running with native automation.
What is the Current behavior?
Trying to unzip compressed response bodies fails with native automation
What is the Expected behavior?
body unzips normally
What is the public URL of the test page? (attach your complete example)
https://testkenna.kennasecurity.com/users/sign_in
What is your TestCafe test code?
With Native Automation:
With
disableNativeAutomation: true
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
see above
TestCafe version
3.5.0
Node.js version
No response
Command-line arguments
using testcafe runner api
Browser name(s) and version(s)
chrome
Platform(s) and version(s)
macOS
Other
No response
The text was updated successfully, but these errors were encountered: