使用JMeter进行tcp.net绑定测试的WCF [英] WCF with tcp.net binding testing with JMeter

查看:313
本文介绍了使用JMeter进行tcp.net绑定测试的WCF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,我可以在JMeter中设置服务器/端口,但是我的应用程序托管在IIS 7.5上,而WCF服务是特定网站下的应用程序".所以服务端点是

I have a problem that in JMeter I can setup server / port, but my application is hosting on IIS 7.5 and WCF service is a "Application" under specific web site. So the service endpoint is

http://localhost:8002/Some.Aplication/Some.Application.svc

WCF应用程序也支持tcp.net绑定,我应该使用它(tcp.net).

WCF application is supporting tcp.net binding also and I should use it(tcp.net).

我可以设置JMeter以便通过tcp将特定数据包发送到此端点吗?

Ho can I set up JMeter for sending specific packet over tcp to this endpoint ?

谢谢.

推荐答案

您需要使用 TCP Sampler ,并且可能会为其编写一个自定义TCPClient类,以便更轻松地处理自定义读/写.

You need to use TCP Sampler, and probably write a custom TCPClient class for it for easier handling of custom reads/writes.

这篇关于使用JMeter进行tcp.net绑定测试的WCF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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