Forum Discussion

smithlu0106's avatar
11 years ago

soapUI property problem

Hi,

I'm using soapUI to test a web service. Now I'm trying to parse a value defined in property to the soap envelope I'm trying to test.

The variable I parse in the soap envelope is in the format of $(#variableName), but I find it works in certain case, while it fails to substitute the value defined in the property for $(#variableName) in soap envelope.

Anybody has any idea how to fix it?

Thanks.

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Could not come to know what is exact issue you are facing from the post. Whether you need some value from properties(Project, Suite, TestCase, Test Step levels) in the test request or something else ?

    1. If you need to access a property at from any level, value must be set by either by you or automatically before accessing value of the property.
    2. In the test step request, it must refer to some thing like ${#Project#PropertyName}/${#TestSuite#PropertyName}/${#TestCase#PropertyName}/${#TestStep#PropertyName} to get the value of property during run time.

    Below link may help you how to work with properties:
    www.soapui.org/Functional-Testing/worki ... rties.html

    Regards,
    Rao.