13 years ago
Can soapUI perfom a HTTP GET with a request body?
Hello,
I'm trying use soapUI to test a REST API that has a GET call which requires a request body. The request body has some JSON specifying search parameters and filters for the GET.
So far I have been unable to figure-out how to get soapUI to do this. On other calls which use POST, there's a text area on the request editor for specifying the contents of a request body. I don't see this text area in the request editor for the GET call. This makes sense at one level since you don't usually see GETs with a request body. Unfortunately the API I'm trying to test expects a request body and it would be great if there were some setting for getting soapUI to do this. Otherwise I will have to use something other than soapUI for testing.
Thanks!
I'm trying use soapUI to test a REST API that has a GET call which requires a request body. The request body has some JSON specifying search parameters and filters for the GET.
So far I have been unable to figure-out how to get soapUI to do this. On other calls which use POST, there's a text area on the request editor for specifying the contents of a request body. I don't see this text area in the request editor for the GET call. This makes sense at one level since you don't usually see GETs with a request body. Unfortunately the API I'm trying to test expects a request body and it would be great if there were some setting for getting soapUI to do this. Otherwise I will have to use something other than soapUI for testing.
Thanks!