Skip to content
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

Multipart form field not passing value in karate 1.0.1 #1774

Closed
deepsmittal opened this issue Sep 21, 2021 · 1 comment
Closed

Multipart form field not passing value in karate 1.0.1 #1774

deepsmittal opened this issue Sep 21, 2021 · 1 comment
Labels

Comments

@deepsmittal
Copy link

When i am trying to use multipart and passing on value in that, it is not working. However, passing on file information in same works fine.

Code snippet:

Given path 'files'
* multipart file fileUpl = { read: 'img1.jpeg', filename: 'img1.jpeg' }
* multipart field destination = "posts"
When method post
Then status 200

Response Screenshot:

image

I have tried using multipart field and form field together but that is also not working.

@ptrthomas
Copy link
Member

@deepsmittal sorry, please follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

multipart questions are the hardest to provide a solution for because it depends on your server. my recommendation is you follow this guide and you should be able to figure out the solution for yourself: #1645 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants