小编Jus*_*ode的帖子

SoapUI请求返回HTTP/1.1 400错误请求

我正在使用SoapUI加载测试我们的.net webservices之一.

我是SoapUI的新手,所以我使用公开服务完成了"入门",没有任何问题.但是当我尝试向我的webservice发送请求时,我收到了HTTP/1.1 400 Bad Request消息.

我从架构生成一个默认请求,并在标签中插入请求XML,但是当我提交它时,我得到上面的错误.

如果我浏览到该服务并在测试页面中插入相同的XML,它将完美地运行.

这是我提交的XML:

<AccountInformationRequest xmlns="http://RedlineApplicationServices.com/CognitionAI/AccountInformationRequest.xsd">
<Authentication>
    <LoginName>WWWWWW</LoginName>
    <Password>KKKKKKK</Password>
</Authentication>
<Directives>
    <Environment>TRIAL</Environment>
    <RequestedAction>AccountSummary</RequestedAction>
    <CustomerReference>77777</CustomerReference>
    <AccountReference>000000111111</AccountReference>
</Directives></AccountInformationRequest>
Run Code Online (Sandbox Code Playgroud)

我有什么想法我做错了吗?

web-services soapui load-testing

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

load-testing ×1

soapui ×1

web-services ×1