If a request is changed to POST, then SoapUI changing all other requests into POST method

与世无争的帅哥 提交于 2019-12-02 02:27:25

You can create multiple methods under the same endpoint - this is what REST is designed to do!

Under your "Api" resource, right-click, and select "New Method". Select this new one to be of type GET. This is going to be your "CheckingResponse". So the final hierarchy for your endpoint will look like:

REST Project 1
+-[REST] http://endpoint.URL/...
  +-Api [] <--- THIS IS A RESOURCE
    +-[POST] Api <--- THIS IS YOUR CURRENT METHOD
    | +-3LevelProducts
    +-[GET] Api <--- THIS IS A NEW METHOD
      +-CheckingResponse

Refer my answer here:-

http://stackoverflow.com/questions/34786729/if-a-request-is-changed-to-post-then-soapui-changing-all-other-requests-into-po/34831359#34831359

there I have described a full example to achieve the issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!