Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Multiple Response

Options
Senthil
Senthil Posts: 27

Hi Team,
I have a requirement where i need to set multiple condition for a single response. How do I write multiple condition? I do not have access to Data Source Correlation. In the attached image, it has 2 login id but needs to send the same response, When I add the condition 1 after another, it does not work. Could u plz help me with it.

Thanks
Senthil

Comments

  • williammccusker
    williammccusker Posts: 643 ✭✭✭
    Options

    Hi,
    To make sure I understand in your case you want the responder to match if the request has either of the login id?

    If that is the case you want to use the xpath 'or' operator. For example if I have an xpath that I wanted to match to two values I could write it like:

    /:Envelope/:Body/:add/:x[text()="1" ot text()="2"]

    Let me know if this helped!

  • Senthil
    Senthil Posts: 27
    Options

    Thanks william let me try this and give you an update .