Web服务性能测试与2013年终极版 [英] Web Service Performance Testing Vs 2013 Ultimate
问题描述
大家好,
我刚刚用5种方法完成了一个Web服务(.SCV),并且使用WCFTestClient运行时没有任何问题。我成功调用了具有正确预期结果的所有方法。
为了确保所有方法的性能和稳定性,我想做一些压力和负载测试通过使用Microsoft Web Performance和使用visual studio 2013(终极版)进行负载测试。在网上看到我要发现的步骤到这个tuto
通过提交我的第一个简单GetData的Xml请求()方法
看起来像:
Hi all,
I have just finished a web Service(.SCV) with 5 methods and it's running with out any problem by using WCFTestClient. I successfully invoked all methods with the right expected result.
In order to insure of performance and stability of all methods, i'd like to make some stress and load test by using the Microsoft Web Performance and load testing with visual studio 2013 (Ultimate edition). looking on the web the step to follow i found to this tuto
By submitting Xml Request of my first simple GetData() Method
which look like :
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<GetData xmlns="MyWebService" />
</s:Body>
</s:Envelope>
依据到另一个 Msdn tuto (但对于 .asmx Web服务没有对于 .SCV )我应该得到一个xml响应。
不幸的是没有任何XML响应或仍然不明白如何获得此方法的结果。也许我错过了一些设置或参数。一些帮助或一些链接将是不错的。
谢谢
According to this other Msdn tuto (but for .asmx Web Service not for .SCV) i supposed to get an xml response as a result.
Unfortunately have no any XML response or still not understand how to get the result of this method. maybe I missed some setting or parameters. Some help or some link will be nice.
Thank you
推荐答案
数据合约中是否有序列化属性?如果是这样,您的回复将被序列化并以XML格式发送。
问候,
Maheswaran.S
Do you have serialize attribute in the Data contracts. If so your response will be serialized and send as XML.
Regards,
Maheswaran.S
这篇关于Web服务性能测试与2013年终极版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!