How to test a WCF Webservice with JMeter?

前端 未结 2 973
失恋的感觉
失恋的感觉 2021-02-09 04:36

I have a WCF Webservice hosted on IIS which exposes a single method that takes three integer parameters. I have a simple, console based client which can call this method.

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-09 05:11

    Disclaimer: I'm not a WSDL expert, so i can't tell you why the doc doesn't provide detail.

    To generate the SOAP envelope for JMeter, I've used the free version of soapUI.

    Steps

    1. Import WSDL into soap
    2. Create a default request for the method
    3. Set the request view to RAW, and copy into JMeter

    This provides me all the information I need for jmeter, including parameters, user-agent, endpoint, etc.

提交回复
热议问题