Skip to content

karate.jsonPath() Concurrency Bug #2701

@josh-pius

Description

@josh-pius

Bug Description

  • When running tests that call karate.jsonPath() across multiple threads, karate.jsonPath() occasionally uses the JSON value passed in from another thread instead of the actual JSON passed to it
  • The underlying cause seems to be coming from a library karate depends on internally, namely json-path. The underlying issue is a concurrency bug in json-path's internal caching mechanism. More details on this bug is reported by another user of this library JsonPath GH Issue

Replication

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions