Forum Discussion

BryceLeong's avatar
BryceLeong
Senior Member
8 years ago

mock service is cycling through responses despite being different requests

I have three independent requests with different input values and each should have it's own response paired with it. Despite this, when I invoke a request, it will cycle through the three responses. I included two screenshots to show expected and actual behavior.

  • minoseah629's avatar
    minoseah629
    8 years ago

    I figured out what I was doing wrong since no one replied.

     

    I put an incorrect xpath schema. 

  • minoseah629's avatar
    minoseah629
    Occasional Contributor

    To extend on this issue from BryceLeong , the project has enabled Mock SSL on and Mock Port 8088 as our https mock service.  

     

    There are several projects within this workspace.  

     

    This link here is a screencast of what is happening for both of us. https://www.screencast.com/t/lJLKYZQonQA

     

    Request 101010101 should correspond to 101010101. 

    Request 202020202 should correspond to 202020202. 

     

    But when invoking the either request, the response cycles through the responses.  

     

    In the attempt to use SoapUI as a mock service, this provides a impediment in our testing activity for our application's ability to integrate with an external service.

     

    • nmrao's avatar
      nmrao
      Champion Level 3
      Thank you for the screen shots and screen cast. However, it is not shown what is the despatch criteria while implementing mocker service.
      • minoseah629's avatar
        minoseah629
        Occasional Contributor

        nmrao wrote:
        Thank you for the screen shots and screen cast. However, it is not shown what is the despatch criteria while implementing mocker service.

        I am not sure what this mean.  What would you need to see to help understand what is happening?