如果一个请求改成 POST,那么 SoapUI 会把所有其他的请求改成 POST 方法 [英] If a request is changed to POST, then SoapUI changing all other requests into POST method

查看:63
本文介绍了如果一个请求改成 POST,那么 SoapUI 会把所有其他的请求改成 POST 方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个测试用例包含 2 个请求和 1 个 groovy 脚本.

A testcase contains 2 requests and 1 groovy script.

现在第一个请求使用 POST 方法,第二个请求使用 GET 方法.

Now 1st request is using POST method and 2nd request is using GET method.

现在我面临一个问题,如果我将第二个请求更改为 GET,我的第一个请求也会变成 GET 请求,而我需要保留第一个请求作为 POST.

Now I am facing an issue that If I am changing the 2nd request as GET, my 1st request also gets turned into GET request while I need 1ST Request to remain as POST.

如何处理这种情况?

我是 Soap UI 的新手.任何建议都会有所帮助.

I am new in Soap UI. any suggestion will be helpful.

推荐答案

在这里参考我的回答:-

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

这篇关于如果一个请求改成 POST,那么 SoapUI 会把所有其他的请求改成 POST 方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆