Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XPathJSONPathResult
/messages/staging/author$.storemessages.bookstaging[*].authorthe The authors of all books in the storemessages sent to staging
//author$..authorAll the authors of all authorsmessages
/storemessages/*$.storemessages.*all things in store, which are some books and a red bicycleAll channels messages were sent to. Staging and production.
/storemessages//pricecategory$.storemessages..pricecategorythe price of everything in the storeThe categories of all messages.
//bookstaging[3]$..bookstaging[2]the third bookThe third message sent to staging.
//bookstaging[last()]$..bookstaging[(@.length-1)]
$..bookstaging[-1:]
the last book in orderThe last message sent to staging.
//bookstaging[position()<3]$..bookstaging[0,1]
$..bookstaging[:2]
the The first two booksmessages sent to staging.
//book[isbnstaging[category="error"]$..bookstaging[?(@.isbncategory="error")]filter all books with isbn number//book[price<10]$..book[?(@.price<10)]filter all books cheapier than 10All the messages sent to staging with an error category. This would return no values.
//*$..*all Elements in XML document. All members of JSON structure.All nodes in the response.

Successful Response Statues

 

 

Check each of the response statuses that would mean the request has been successful. If the request returns a status that is not checked then the build event handler will report an error. If errors are to be treated as failures then the build event handler will fail the build as this point.