Forum Discussion

MikeNorrish's avatar
MikeNorrish
New Contributor
14 years ago

Controlling WSS on Mock Service with Groovy

Hi folks,

As part of a test suite for a Web Service Proxy (IBM DataPower) I am attempting to cause the appliance to raise an error when a signature is not produced by the endpoint, or is not valid. To prove this, I am using a Mock Service under SOAP UI Pro - the test request is sent to the proxy, which routes the message back to the Mock Service. I need to verify that both valid and invalid messages are dealt with correctly by the proxy.

Is it possible, using Groovy or any other mechanism, to change the active outgoing WSS settings on a Mock Service *for a particular response* during testing without manually deselecting the "Default Outgoing WSS" in the Mock Service Properties tab before running the tests?

Thanks in advance,

Mike Norrish

2 Replies

  • Hi Mike

    if you are using soapUI Pro please post in the Pro forum so we can help you there..

    regards!

    /Ole
    SmartBear Software
  • I've not been granted access to the SoapUI Pro forums. How do I go about that?