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

To test Multipart service using pact #1642

Open
Dedeepya-Kolli opened this issue Nov 24, 2022 · 4 comments
Open

To test Multipart service using pact #1642

Dedeepya-Kolli opened this issue Nov 24, 2022 · 4 comments

Comments

@Dedeepya-Kolli
Copy link

Dedeepya-Kolli commented Nov 24, 2022

Hi Team,

We need to write contract testing for a service which accepts requests in MultiParts.
1.Part is of File Upload(which is of Multipart/formdata content type)
2.Part is of JSON Data (which is of application/json content type).

How can I write the pact for this.Please suggest.
Used withFileUpload ->it is considering only the file upload part.
How can I include the JSON request as well.

@rholshausen
Copy link
Contributor

/jira create

@github-actions
Copy link

github-actions bot commented Jan 4, 2023

👋 Thanks, Jira [PACT-474] ticket created.

@Dedeepya-Kolli
Copy link
Author

Hi Team,
Also for the multipart which has JSON can we have match verification on the expected format and attributes.

@Dedeepya-Kolli
Copy link
Author

Hi Team,
Can you please update on this.

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

No branches or pull requests

3 participants