Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
15 years ago

HTTP Test Request in soapUI 3.0 is broken

Hello,
I have a test case which starts with a HTTP Test Request and then passed the value from the response to SQL datasource such that my SQL looks like this

SELECT * from sometable WHERE
abc = ${HTTP Test Request#Response#//fast[1]/response[1]/items[1]/item[1]/document_id[1]}

This test case works fine if each step is executed manually. however if the testcase is run I get the following error message.

TestCase failed [java.lang.Exception: Failed to prepare testStep [DataSource - SQL]; java.lang.NullPointerException: replacement:java.lang.Exception: Failed to prepare testStep [DataSource - SQL]; java.lang.NullPointerException: replacement], time taken = 0

Opening the HTTP Test Request shows that there is nothign in the resposne. Almost as if the soapui went to the Datasource step even before it finished the HTTP Test Request.

Major blocker too.

Thanks

Ali