How to use several answers with SOAP UI?

0

I am using models in SOAP UI to simulate a web service but for the moment the model always replies to me the same I want to know if it can be done that depending on what I send, I answered differently, for example:

I send this to you:

{"item": "5"}

And he answers this:

{  "item": "5",  "itemLocation": "P05",  "itemDesc": "Rollo azul" }

And if I send you another data in item

{"item": "2"}

I answered differently

{  "item": "2",  "itemLocation": "P02",  "itemDesc": "Rollo rojo" }

Can it be done with the same web service? or with the same model?

    
asked by roboto10 02.11.2018 в 20:22
source

0 answers