but it doesn’t work.
Online tester succeeded to parse this JSON with same matcher as mine. (http://jsonpath.curiousconcept.com/ )
I saw that gatling uses jsonPath 0.6.1 ,and online one is 0.8.X (by Stephan Goessner).
Ah, OK, it works with Stefan Goessner’s implementation, but not with the one from Flow Communication (default).
If even the spec’s original author is not capable of respecting his own spec… Javascript is such a crap…
Stephane Is exists any way to locate highlighted object in the JSON without running over JSONArray ? I can’t be sure that desired object always located in place [0] of array ?
Thanks for Advance.
Maybe something else? it doesn’t works.
I need to parse values of “active” and “sub” where unit =flow.flow-server.sandbox.gatlinguser202project.gatlinguser202.service.
JSONArray can contains 10 objects with different “unit” .
Thanks for advance.
This is log… 13:39:50.074 [WARN ] i.g.h.a.AsyncHandlerActor - Request ‘Check Connecting Mode is ready’ failed: jsonPath(…unit).find(0).is(flow.flow-server.sandbox.gatlinguser202project.gatlinguser202.service) failed, could not extract: could not extract : $' expected but .’ found