Forum Discussion

christiandoorma's avatar
christiandoorma
New Contributor
8 years ago

How to set the wss incoming and outgoing settings within groovy? My approach seems not to work.

Hi all,

I am trying to set the Wss settings for a WsdlTestStep within groovy. But the outcome is no good.

Here is what I am doing. After creating a WsdlTestRequestStep, i execute:

 

testStep.setAuthProfile("Basic")

testStep.setOutgoingWss("[Name of Out wss]")

testStep.setIncomingWss("[Name of Inc wss]")

 

but when looking at the request in Soap, the basic authorization is set, but the wss's are not set (look at the picture). I can choose them in the dropdown selector, but they are not set as standard. This is no good, when my whole goal is to use the testrunner, so I wont start the guy to select them.

Hope you can help me, and thanks in adcance

 

- Christian

 

 

 

No RepliesBe the first to reply