Forum Discussion

gkpandi's avatar
gkpandi
Occasional Contributor
11 years ago

How to work with XPath Match Assertion in SoapUI?

Hi All,

I'm a beginner for SoapUI tool. I need to get familiar with Assertions concepts in SoapUI.

Its quite understandable 'Contains' and 'Not Contains' assertions.

I don't know how to validate my web services ( i.e JSON Format ) using XPath Match assertion.

Please guide me to get clear about XPath Match assertion.

Thanks in advance!

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    Hi,

    Donot have idea about JSON Format. However, understand that you would like to assert the response using xpath form your query.

    I believe it would be easy once you see some example, it is also friendly in soapUI to write xpath and test it to see whether that is what you are looking for.

    Here is the link for your reference:
    http://www.soapui.org/Functional-Testing/functional-testing.html

    Regards,
    Rao.