JamitLabs / Jetworking

A multi-module library providing a user-friendly interface for common networking tasks
https://JamitLabs.github.io/Jetworking/
MIT License
4 stars 3 forks source link

Use postman response to validate body and arguments #56

Open jamitJona opened 3 years ago

jamitJona commented 3 years ago

Description

For the post, put and patch test request the postman response is compared with the contents of the mock body to check if the body was sent correctly.

The postman response is also used to check if the arguments of the get request were sent correctly.

Solves #55

JensK611 commented 3 years ago

Should we use this adjustment or should we skip this implementation since I'm removing the dependency completely?

jamitJona commented 3 years ago

With postman we can also test if the request parameters were sent correctly. Is this also possible with your approach?

JensK611 commented 3 years ago

Yes that is possible as I showed you. We tested the url parameter encoding and the sent body is tested as well.

JensK611 commented 3 years ago

I suggest to close this PR since the adjustment is not necessary anymore.

JensK611 commented 3 years ago

@jamitJona can I close this PR?