【发布时间】:2014-08-26 08:06:52
【问题描述】:
我需要在 Web 服务上进行负载测试,但每次请求都会更改 SOAP 消息中的字段。
例如:
<typ:storeNum>00001</typ:storeNum>
<typ:transactionTotal>138</typ:transactionTotal>
<typ:requestTime>2014-08-19T09:06:00</typ:requestTime>
<typ:ecomTransactionId>920</typ:ecomTransactionId>
在负载测试中,soap 的主体按照 Web 性能测试中定义的场景中的设置提交。 如果我们需要为每个请求动态设置 ecomTransactionId 标签的字段值怎么办?
(我在 MSDN 上阅读了一些文章,但都提到了网站页面负载测试中查询字符串或会话的提取规则)
http://msdn.microsoft.com/en-us/library/ff460245(v=vs.110).aspx
【问题讨论】:
标签: .net web-services soap load-testing performance-testing