How to run a single soap request in SoapUI multiple times with different data available in a single property?

给你一囗甜甜゛ 提交于 2020-01-05 04:04:31

问题


Soap Request ImageI have a Soap request which picks up the input value from a property defined in the same Test step. I need to run the same request automatically with multiple data available in the same property file. Is it possible by Get data functionality or do I need to include some scripting for achieving the desired step?The '?' below depict the value which needs t be picked from property.

<v1:Reverification>
         <ReverificationRequest>
            <v11:MSISDN>?</v11:MSISDN>
         </ReverificationRequest>

Property file screenshot depicting the data


回答1:


This sounds like a data-driven test.

SoapUI supports the concept of running the same request numerous times by substituting various values in the payload with those in, say, a spreadsheet.

SoapUi page about data-driven tests



来源:https://stackoverflow.com/questions/48379225/how-to-run-a-single-soap-request-in-soapui-multiple-times-with-different-data-av

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!