Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

use get as a template for post in RESTful server

$
0
0

Hello all,

I'm new to SOUPUI, and I'm using the free version of SOUPUI. I’m trying to write some test cases.

I spent all morning looking for this and I can't believe this has never been asked.  I'm sure I'm using the wrong nomenclature to ask this and so my search is failing.

 

What I want to do is:

  • make a GET request

[{

   "id": "123",

   "name": “abc”,

   "encrypted": false,

   “happy”: true

}]

 

  • Modify one or two items in the JSON response

[{

   "id": "123",

   "name": “ghi”,

   "encrypted": true,

   “happy”: true

}]

 

 

  • Send the JSON response to my server as a POST – thus modifying the record (123) on the server

If someone could point me to a simple example that would be great.

I see lots of examples on how to do a property transfer and such but nothing on reusing a response.

I might have to use Groovy to do this but it seems like SOAPUI can do it already.

 

Thanks in advance

 

 

 


Viewing all articles
Browse latest Browse all 21061

Trending Articles