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
{{ message }}
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
Describe the bug
I try the code in the section Sending files and form data but it fail with Error: Unable to call `file`, which is undefined or falsey
To Reproduce
Copy the sample code in Sending files and form data to a file sendfiles.yml
Create a dummy file and update the respective path in sendfiles.yml: echo 'test content' > test.txt
Execute Strest: strest sendfiles.yml
Return
[ Strest ] Found 1 test file(s)
[ Strest ] Schema validation: 1 of 1 file(s) passed
✖ Testing postwithfile failed (0.007s)
[ Validation ] Failed to process postwithfile request line using nunjucks:
Template render error: (unknown path) [Line 9, Column 26]
Error: Unable to call `file`, which is undefined or falsey
Response:
null
[ Strest ] Failed before finishing all requests
Additional context
Strest installation: npm i -g @strest/cli
node --version: v8.10.0
The text was updated successfully, but these errors were encountered:
Same here, turns out the commit #141 is not part of the latest release yet.
Building the master with the the commit #141 leads to following JS Error: UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type object
at Function.from (buffer.js:305:9)
at FormData.getBuffer ...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I try the code in the section Sending files and form data but it fail with
Error: Unable to call `file`, which is undefined or falsey
To Reproduce
sendfiles.yml
sendfiles.yml
:echo 'test content' > test.txt
strest sendfiles.yml
Return
Additional context
npm i -g @strest/cli
v8.10.0
The text was updated successfully, but these errors were encountered: