Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SoapUI doesn't send out query string after "Post QueryString" is checked

Tags:

rest

soapui

I tried to test RESTful web service by posting query parameters, however, after I checked "Post QueryString" check box, no parameters were send out with request

before sending out request

The raw request, you can see no parameters go with request

Can someone please tell me what is wrong? BTW, I am using version 4.5.1

Thanks a lot

like image 648
kevin Avatar asked Apr 04 '13 14:04

kevin


People also ask

Can we send query parameters in POST request?

POST should not have query param. You can implement the service to honor the query param, but this is against REST spec. "Why do you pass it in a query param?" Because, like for GET requests, the query parameters are used to refer to an existing resource.

How do you write a parameter query?

Query parameters are a defined set of parameters attached to the end of a url. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. To append query params to the end of a URL, a '? ' Is added followed immediately by a query parameter.


1 Answers

I can't be sure, but increasing the Size of Raw Request to Show setting (which defaults to 10000) may help.

See: File / Preferences / UI Settings / Size of Raw Request to Show.

I set it to 100000, now I can see the POST query parameters in Raw mode, too.

(Also, credit goes to SmartBear forum user olensmar.)

like image 151
Attila Csipak Avatar answered Oct 08 '22 15:10

Attila Csipak