How to verify JSON Response in JMeter?

Anand Somani picture Anand Somani · Jun 25, 2013 · Viewed 32.3k times · Source

Is anyway to verify JSON Response got from RestFul API in JMeter?

I am getting below response:

{"workingfrom":[{"id":1234,"type":"office","name":"N1"},{"id":5678,"type":"home","name":"N2"}]}

Answer

singh2005 picture singh2005 · Jul 10, 2018

JSON Assertion is another way (in JMeter 4). It can easily assert whether or not a node was present. It can even assert on the node value (regex or otherwise). enter image description here