json - SoapUI: Transfer Response Payload Value to New Request URL (Different Test Steps) -


i'm trying figure out soapui, , far it's been great tool. however, cannot figure out transferring of property stuff. i've read , can't seem find answer i'm looking for.

i have 1 request: post http://localhost/restaurant

i receive following response payload back:

http/1.1 200 ok date: tue, 07 jul 2015 22:50:27 gmt content-type: application/json content-length: 35      {       "supplementalinfo":null,       "id":1146     } 

i want take "id" value , place in following request: delete http://localhost/restaurant/{id}

i've tried: /restaurant/${create new restaurant#response#//*:id} "create new restaurant" name of test step response payload no avail.

what missing? thank in advance help!

your response "create new restaurant" application/json, using xpath (xml) notation transfer value! not going work.

luckily, soapui internally converts almost xml representation. @ that, need use: ${create new restaurant#responseasxml#//*:id}. note "asxml" in there.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -