0

I'm a tester who's been asked to stress test a wcf webservice application, this is by no means my domain. I've seen many tutorials/demo's online that explain how to send a message to a web service using the wsdl info in the path field in jmeter. But I have a .svc pathway and a endpoint name. How can I send a SOAP webservice message using this? Can I use SOAP or should it be a restful message?

Thanks in advance for help.

Pixie
  • 67
  • 8

2 Answers2

0

As per WCF Rest vs. WCF SOAP guide Wide Support for Protocols subchapter

The WCF programming model provides various capabilities, such as SOAP services, web HTTP services, data services, rich internet application (RIA) services, and workflow services.

so you need to ask around or investigate somehow which type of endpoint(s) you need to hit.

With JMeter you can send both SOAP and REST requests, just make sure that request body is properly formed and you have HTTP Header Manager configured to send the relevant Content-Type header.

See Testing SOAP/REST Web Services Using JMeter for instructions on how to configure JMeter for both implementations.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
0

Turns out that although the service is WCF, but client can consume the service using either SOAP or by REST call and I have managed it both ways.

Pixie
  • 67
  • 8