Forum Discussion

adriandc's avatar
adriandc
Occasional Contributor
12 years ago

Reading parameter values from external file

Hi,

I am new to SoapUI, I am using soapUI 4.5.2.

I am trying to get the values for the parameters required from my web server (am using ServiceStack) from an external file. My external file which is a text file has two values, the first value is the UserID and the second is ClientID.
70
86

When I try to load the external file in the Request Params tab and I select the text file I get a message Added/Update 0 properties.

How do I get SoapUI to read the values from the external file and add it to the parameters that the webservice requires.

Thanks

3 Replies

  • nmrao's avatar
    nmrao
    Community Hero
    Have the properties file(contents) in the following way:
    UserID=70
    ClientID=86
  • adriandc's avatar
    adriandc
    Occasional Contributor
    Hi,

    Thanks. Is there a way to post multiple rows and loop through them like

    Userid=70
    ClientID=52

    Userid=70
    ClientID=72

    How can I do this

    Thanks in advance
    Adrian
  • nmrao's avatar
    nmrao
    Community Hero
    Hope the orginal query clarified. But, you need something to handle datadriven fashion from what I understand.

    To my knowledge, property file is to handle different properties and not for the purpose of handling data driven.

    Are you using soapui free edition? I believe, data driven is possible in pro edition.