Question about Karate test case for POST method
问题 I have an endpoint URL, within Swagger I must pass certain fields to test the POST method. I was wondering if anyone had an example of how to set up a Karate test for a POST method? 回答1: Yes, there are plenty in the documentation: https://github.com/intuit/karate If you follow the quickstart, you will get a sample project with a working POST: https://github.com/intuit/karate#quickstart Scenario: create a user and then get it by id * def user = """ { "name": "Test User", "username": "testuser"