3 ms·
For endpoints we write, we debug them in an acceptance test. We spin up a service and its dependencies and write tests that hit endpoints and assert behavior.
by sethammons 7y ago
For endpoints we write, we debug them in an acceptance test. We spin up a service and its dependencies and write tests that hit endpoints and assert behavior.
If I need to manually hit endpoints for some reason, I usually just put the curl calls into some text or note file and copy-paste into a terminal.
If I need deeper debugging, I use tcpdump and wireshark. In this case I can either try to capture live traffic or hit the endpoints with curl.
- davismwfl 7y agoThis is my same basic process overall. That said, I will fire up Postman from time to time for a variety of reasons (sometimes it is just nice to double check your own test code), but generally it is when I want to show some external person an issue. For example, when I am integrating with a 3rd party system and they blame our code I like to use Postman still to prove the issue, either way. But for daily testing it is more my own endpoint tests and saved command line strings with curl.