Karate: Using data-driven embedded template approach for API testing

CSV is only for “flat” structures, so trying to mix that with JSON is too ambitious in my honest opinion. Please look for another framework if needed 🙂 That said I see 2 options: a) use proper quoting and escaping in the CSV b) refer to JSON files Here is an example: Scenario Outline: * … Read more

Running karate tests on chrome with chromedriver inside docker

We only support chrome native via Docker. Note that you can use existing Selenium “Grid” infra, for e.g see these: https://github.com/ptrthomas/karate-devicefarm-demo https://stackoverflow.com/a/60992292/143475 You can consider creating your own Docker image (which is very common) or use an existing “Selenium flavored” one. Do note that Karate is open-source. Maybe you would be interested to contribute this … Read more

Karate: Is there a http-request hook in karate, that gets called automatically after every API call, and whose behaviour I can modify? [duplicate]

First, I personally think that this is a mis-use of Karate, and you seem to be more interested in reports than actually doing testing. Take some time to think about it. Karate has excellent report integration and you are just wasting your time doing this in my very honest, sincere opinion. No one has asked … Read more