SoapUI Tutorial on SoapUI Troubleshooting

in soapui, the users face many generic common issues that could be sort out with a little alertness. some of these most common issues are the following −

issue − namespace is defined wrongly. use the correct namespace. the namespace should be the url where the web service is located.

solution − if an error is thrown while developing a scripting assertion, use 'log.info' to print the contents of the variables.

issue − if a fault-code is received as response xml, it may be due to the invalid input.

solution − verify the input of request xml.

example − in the currency converter, if the input of the 'fromcurrency' is '123' which is not existing, the output throws a fault code as 'soap-client' which means that the issue is with the parameter that is being passed from the client side.

request

parameter

response

fault code

issue − no match in current response when using xpath or xquery.

solution

  • use the correct syntax while defining xpath or xquery.
  • verify colon is used and not dot while declaring the namespace.
  • ensure that xpath and xquery are correct.
not match response