-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
karate.callSingle caching fails on Windows using different keys #2324
Comments
@lucarota should be possible, do you want to take a shot at contributing a PR ? |
Hi Peter, just submitted PR 2325. Cheers, |
@lucarota awesome. I'll merge as soon as the build passes. thanks ! not sure yet when we release 1.4.1, will update here when it happens |
…dows Fix #2324 - karate.callSingle caching fails on Windows using different keys
Remove Windows filename reserved chars (<>:"/|?*)
any release date yet? |
@ellyxc 1.4.1.RC2 is available. it should be good for production, let us know how it goes |
@ptrthomas i tried it and it is working. Thank you |
Hi,
as stated in the documentation Multiple calls using karate.callSingle() I am trying to use different keys for callSingle cache:
var adminResponse = karate.callSingle('classpath:get-token.feature?admin', {'username': 'admin', 'password': 'password123' });
callSingle tries to create a file:
target\classpath-get-token.feature?admin.txt
but fails with this error (The filename, directory name, or volume label syntax is incorrect)
because in Windows the character '?' is reserved (as reported here Windows - Files - Naming Conventions characters <>:"/|?* are reserved).
Is there a possible workaround for Windows? If not, could you please remove these reserved characters from the filename?
Thank you.
The text was updated successfully, but these errors were encountered: