Teddy_Liu
16 years agoOccasional Contributor
Testing a rest request in json
I am testing a rest api. And the request and response are written in json. So i need to select the item from the response.
for example
{"example":
{"test":"it is a test",
"test2":"testing"
}
}
My question is, how can i get the information like "test", because xpath or xquery could not be used for json.
Btw, i am using soapui 2.5.1
Thanks in advance!!
for example
{"example":
{"test":"it is a test",
"test2":"testing"
}
}
My question is, how can i get the information like "test", because xpath or xquery could not be used for json.
Btw, i am using soapui 2.5.1
Thanks in advance!!