Forum Discussion

Alex451's avatar
6 years ago

Apply Outgoing WSS in a TestCase for each request


I need to execute a load test of a soap service using wss security.
I defined the Outgoing wss policy and when I apply it manually the request works fine.

I need to test the service using different values so my steps are:

1. calculate the values
2. set the values in the request
3 send the request

To accomplish that i created a Test case with a groovy script that handle the variables values and i used the ${} notation to transfer the values in the soap request.
Because of the policy, it sign the message, I cannot apply it once, I need to apply the policy to each request.

Is there a way to apply an outgoing wss policy definden for a progect at each invocation?

Many thanks and regards,

No RepliesBe the first to reply