Geeks With Blogs

News View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn
Michael Stephenson keeping your feet on premise while your heads in the cloud

I was wanting to use LoadGen to call an orchestration exposed as a wse web service.  In the documentation it covers a set of elements for the WSE Transport which will create a username token for the WSE call.  I wanted to however use Kerberos so this is what I did.

1. Amend the LoadGenConsole.exe.config file to include the config section for WSE.  I also included the element to point to a policy cache file.

2. I set up a policy cache to have the appropriate config to call a wse web service with Kerberos

3. I then used the below command

cd "C:\Program Files\LoadGen\Bins"
runas /profile /env /user:domain\username "LoadGenConsole.exe C:\LoadGen\BizUnitGetAdhocData.xml"
pause

 

 

Disclaimer

I have noticed a few sites that seem to copy the content of blog articles and display them in their own site.  It is a bit annoying that they do not clearly reference or acknowledge the author so I have decided to put this note on the bottom of all of my posts from now so it is clear who wrote it.

This article was written by: Michael Stephenson

The source of this article is: http://www.geekswithblogs.net/michaelstephenson

The key point here was the run as command. Originally I ran it without this and got one of the common WSE security context errors indicating a credential had not been passed.  I changed my command to include the run as to execute the command as a specific user and it seemed to start working fine.

Posted on Monday, December 10, 2007 10:48 PM BizTalk | Back to top


Comments on this post: Using Kerberos, WSE & LoadGen

# re: Using Kerberos, WSE & LoadGen
Requesting Gravatar...
can u pls attach your config file for loadgen????
Left by Amitendra on Dec 13, 2007 3:50 PM

Your comment:
 (will show your gravatar)


Copyright © Michael Stephenson | Powered by: GeeksWithBlogs.net