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"
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.