Forum Discussion

FLimousy's avatar
FLimousy
New Contributor
13 years ago

Incoming WSS on test cases

Hello,

I'm using SOAPUIPro 4.5.1; in order to validate our development we need to implement a different WSS configuration on incoming and outgoing connections.
We could successfully do that in MockServices; there are options to select the outgoing-wss and the incoming-wss.
However when we are creating testsuites and testcases, there is only the option to set the outgoing-wss on a MockResponse. How can we setup the incoming-wss ?

Regards,
  • Hi!

    The outgoing and incoming configuration is set on a Request / TestStep level using the Aut tab.

    --
    Regards

    Erik
    SmartBear Sweden
  • FLimousy's avatar
    FLimousy
    New Contributor
    Hello,

    I agree for the requests in test steps but the problem comes when we need to define the incoming-WSS for mockservices. What I'm trying to do it starting a testcase on reception of a call using WSS (signature + body encryption). I can receive calls on a created mockservice as I can defined the incoming WSS. However, when I create a mockresponse in my testcase I cannot define the incoming WSS configuration. As a result the incoming messages intended to my testcase are not decrypted and the result is an exception.

    Regards,
  • HI, sorry, but are you using a MockService or MockResponse TestStep?
    If it's a MockService, just click it and on the MockService Properties tab in the lower left corner and select the Incoming WSS there.

    --
    Regards

    Erik
    SmartBear Sweden
  • FLimousy's avatar
    FLimousy
    New Contributor
    Sorry for the confusion.
    I have a MockService, let's call it MockA, implementing the incoming WSS configuration (incl. signature + encryption) and this works ok.

    Now I want to have a bit more complex use-case using a sequence of request-responses holding common values (e.g: transactionId); as I understand this is done through a test case.
    This test-case is to be triggered by the same operation exposed in MockA so I'm trying to apply the same incoming WSS configuration to the MockResponse TestStep in my testcase.

    When I start my TestCase I can trigger the operation but, as I cannot find how to configure the incoming-WSS, the decryption cannot occur.

    Regards,
  • Hi!

    You're right, you can only set the Outcoming WSS on MockResponse TestSteps.

    --
    Regards

    Erik
    SmartBear Sweden