2

There is a WCF service. The method i have to access has 1 parameter as input whoes type is Stream.

I don't know how to provide stream object from JMeter to the WCF service.

Currently i have written a C# method (MVC Project) which accepts string from JMeter and then converts it into Stream type object, Which is than processed by the WCF service. But this approach does not give does not give the actual performance of the WCF service

0

There is no way you can send a Byte Array as parameter through HTTP Sampler. HTTP Sampler only works with Strings.

So one of the solution is to use the Java Request Sampler. You can make you customized sampler and create a byte array and send it as parameter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.