{"full_name":"karatelabs/karate","owner":"karatelabs","name":"karate","shard":"1","url":"https://github.com/karatelabs/karate","description":"Test Automation Made Simple","homepage":"https://docs.karatelabs.io","topics":["test-automation","assertions","testing-tools","mock-server","automated-testing","webdriver","load-testing","api-testing","contract-testing","microservices","cucumber","bdd","automation","testing","testing-framework"],"tag_pages":["api-testing","automation","bdd","microservices","test-automation","testing","testing-framework","testing-tools","webdriver"],"language":"Java","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/91312095?v=4","created_at":"2017-02-07T15:59:17Z","pushed_at":"2026-11-13T17:20:19Z","metrics":{"stars":9008,"forks":2049,"watchers":213,"issues":2350,"prs":763,"releases":72,"issues_open":6,"issues_closed":2344,"prs_open":0,"prs_closed":246,"prs_merged":517,"discussions":3},"growth":{"day":{"stars":-1,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[9005,9006,9007,9007,9009,9009,9008],"forks":[2047,2047,2048,2048,2048,2049,2049],"watchers":[null,213,213,213,213,213,213],"issues_open":[null,5,5,5,6,6,6],"prs_open":[null,3,3,3,0,1,0]},"boards":{},"same_owner":[],"issues":[{"number":3104,"title":"InvalidPathException trying to run tests","comments":3,"created_at":"2026-10-27T08:48:33Z"},{"number":3106,"title":"HTML report omits multiline JavaScript function bodies in called features","comments":1,"created_at":"2026-10-28T12:46:40Z"},{"number":3105,"title":"URL path encoding regression after updating to V2","comments":0,"created_at":"2026-10-27T15:30:52Z"},{"number":3103,"title":"karate-js converts java.time values to JsDate mid-expression breaking chained method calls (v1 -> v2 regression)","comments":0,"created_at":"2026-10-27T01:37:39Z"},{"number":3131,"title":"Add a 'Copy' CTA button to copy the HTTP Request/Response in HTML report","comments":0,"created_at":"2026-11-13T19:47:36Z"},{"number":3107,"title":"on a callonce/callSingle failure- Limit the call marker only on the executing scenario in the HTML report","comments":0,"created_at":"2026-10-29T17:44:00Z"}],"discussions":[{"number":2878,"title":"[proposal] in-suite orchestration hooks via karate-boot.js","comments":1,"category":"General","created_at":"2026-05-22T08:56:54Z"},{"number":2857,"title":"Running multiple Karate suites with different configurations in parallel via JUnit 5 @TestFactory","comments":1,"category":"General","created_at":"2026-05-18T19:26:48Z"},{"number":2750,"title":"Welcome to Karate Discussions!","comments":0,"category":"Announcements","created_at":"2026-03-23T08:35:49Z"}],"latest_release":{"name":"v2.1.4","tag":"v2.1.4","published_at":"2026-10-22T07:56:52Z","body":"## ⚠️ Breaking Changes\n> These all tighten the mock server's defaults for handling request data and are unlikely to affect most teams. If you don't use Karate mocks, nothing here needs action. If you do, a mock that runs processes, or resolves markers or embedded expressions from files and values built at runtime, opts back in with one `configure` line, given in each bullet.\n\n* Mock server: `karate.exec()` / `karate.fork()` are off by default in a mock; `configure javaBridgeEnabled = true` turns them back on #3067\n* Mock server: a `match` / `karate.match()` marker that names a variable (`#[] schema`, `##(schema)`, `#? _ == expected`) resolves only when written in the mock feature itself; a marker held in a `read()` schema or built at runtime fails with a message naming the opt-in, `configure requestExpressionsEnabled = true` #3067\n* Mock server: an embedded `#(...)` inside a value built by JS (`({ a: '#(' + name + ')' })`, a `karate.call()` result, a file read through an ext provider) is left verbatim unless that exact token is written in the mock feature or a file it `read()`s; `configure requestExpressionsEnabled = true` restores evaluation #3067\n* Mock server: a feature called from a mock (`call`, `callonce`, `karate.call()`) runs with the mock's defaults — `Java.type()`, `karate.exec()` / `karate.fork()` are off and request data it receives stays inert; a helper that needs them has the mock opt in with `configure javaBridgeEnabled = true` / `configure requestExpressionsEnabled = true` #3067\n\n## Important Fixes\n* Mock server: `karate.request` is treated as request data, and an XML request body is untrusted like a JSON one #3067\n* Reports mask credential headers (`Authorization`, `Cookie`, `Set-Cookie`, `Proxy-Authorization`) as `***` by default in HTML, JSONL, Cucumber JSON and JUnit XML (console unchanged); `configure logging = { mask: false }` shows them again\n* Gherkin: a step outside a Background / Scenario / Scenario Outline (e.g. after an `Examples` table) is a parse error naming its line instead of being silently skipped, as in Cucumber\n* JS engine: a stray token after a complete statement on the same line (`var x = 'a' b`) is reported as a `SyntaxError`, with a hint when a doubled or stray quote is the likely cause\n* Mock server: Background functions no longer nest one wrapper per request until `StackOverflowError` #3081\n* Mock server: an explicit `Content-Type` is kept when the response body is a string #3074\n* Mock servers started with `karate.start()` are stopped when the scenario (or Suite) that started them ends, so ports are released #3096\n* `driver.quit()` in a called feature releases the pooled driver, so later browser starts no longer time out (2.1.3 regression) #3093\n* Appium driver types (`android` / `ios`) no longer silently start desktop Chrome; an unsupported driver type fails fast (2.1.3 regression) #3092\n* Gatling: concurrent users are no longer capped at CPU×2 (each feature runs on a virtual thread), and a KO from a failed custom perf event is reported once on the right row #3094\n* A feature-level `@ignore` no longer skips the feature when a `:line` filter selects a scenario (v1 → v2 regression) #3083\n* Scenario Outline Examples columns no longer freeze to row 1 after `karate.set(callSingle(...))` of a target with a nested `call` / `callonce` #3080\n* `karate.match()` 2-arg form resolves dot-notation variable references inside `#(...)` / `##(...)` / `#[]` schema markers #3066\n* HTML report pass % reads 100 only when nothing failed (3120 of 3121 is 99%) #3065\n* A Gherkin description line starting with a step keyword (e.g. `When paused, ...` under `Feature:`) no longer drops the Background that follows\n* Server mode: the session cookie is `Secure` only over https, so sessions survive plain http on a LAN IP or container hostname\n\n## New Features & Enhancements\n* `configure afterFeature` hook; `ScenarioRuntime.currentOrNull()` is available in Java glue during it #3097\n* Mock variables are readable from t","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}