Using WCF transport with Loadgen 2007

Hello All, 

I am using WCF transport with LoadGen and the stop mode set in config file is "Files" but, no matter how many files I mention there, I get 5 files in my send port and there is no debatching of the file. 

Also the loadgen screen it shows that the number of files sent as 0 

and am getting the bellow error in eventlog: 

Section [SampleFiles] encountered the following exception and it will be stopped. System.ServiceModel.ProtocolException: The one-way operation returned a non-null message with Action=''.

August 24th, 2015 7:35am

Hi,

I am not much familiar and confident on WCF transport with LoadGen, But I would suggest to refer below link for your help. 

http://zachbonham.blogspot.in/2007/08/web-service-testing-with-loadgen.html

LoadGen with WCF SOAP Action

LoadGen

How to use LoadGen 2007 to Communicate with BizTalk 2013 Application Server

LoadGen-Testharness for SOAP transport

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 5:06pm

I used the ClientType as WcfTwoWaysVoid and was able to resolvethis error. But now when I am trying to browse the services hosted on IIS I am getting an error:

This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
Parameter name: item

I have added <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/> in my web.config but I am still getting the same error. 

Please help


August 25th, 2015 6:01am

Please add below code to web.config file of your wcf site

<system.serviceModel>
  <serviceHostingEnvironment aspNetCompatibilityEnabled="true">
    <baseAddressPrefixFilters>
      <add prefix="http://www.yourdomain.com"/>
    </baseAddressPrefixFilters>
  </serviceHostingEnvironment>
</system.serviceModel>
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 6:52am

This is for .lower net framework. got it to work by republishing the schema  as WCF.
August 25th, 2015 9:09am

This is for .lower net framework. got it to work by republishing the schema  as WCF.
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 1:06pm

This is for .lower net framework. got it to work by republishing the schema  as WCF.
August 25th, 2015 1:06pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics