[ptt-users] TestMaker & SOAP request with attachment
Frank Cohen
fcohen at pushtotest.com
Tue Sep 4 07:08:10 PDT 2007
Thank you for finding the problem and offering the solution. I opened
a ticket on this and we will incorporate the fix in the next
maintenance release:
http://bugs.pushtotest.com/ticket/137
-Frank
On Sep 4, 2007, at 5:29 AM, Yuriy wrote:
>
> Hi.
>
> I've solved this problem. You should remove wsdl4j.jar and
> wsdl4j-1.5.1.jar files from the %TEST_MAKER_HOME%\TestNetwork
> \TestNode\webapps\TestNetwork\WEB-INF\lib directory to make
> TestMaker work properly with SOAP request with attachment.
>
>
>
> --- Исходное сообщение ---
> От кого: "Yuriy" (for_everybody at ukr.net)
> Кому: users at lists.pushtotest.com
> Дата: 3 сентября, 17:22:34
> Тема: [ptt-users] TestMaker & SOAP request with attachment
>
> >
> >
> > Hi.
> >
> > I'm trying to make a functional test for a web service which
> accept a SOAP request with an attachment. The test works properly
> within soapUI but when I run it within TestMaker the next error
> occurs:
> >
> > Running a functional test
> > Executing time 0
> > Trying .\localhost\attach1-soapui-project.xml
> > - Loaded project from [C:\work\tools\TestMaker\inst\TestMaker
> \TestNetwork\TestNode\.\localhost\attach1-soapui-project.xml]
> > Triying suite TestSuite
> > Using com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase at 10ff62a
> > Progress: 1 - Loading definition from cache
> > Retrieving document at 'file:C:\work\temp\1.wsdl'.
> > - Loading schema types from [file:C:\work\temp\1.wsdl]
> > - Getting schema file:C:\work\temp\1.wsdl
> > - Exception during TestCase Execution
> > java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllServices
> ()Ljava/util/Map;
> > at
> com.eviware.soapui.impl.wsdl.support.MessageXmlObject.findBindingOpera
> tion(MessageXmlObject.java:207)
> > at
> com.eviware.soapui.impl.wsdl.support.MessageXmlObject.getMessageParts(
> MessageXmlObject.java:92)
> > at
> com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestT
> ransport.initRequest(HttpClientRequestTransport.java:186)
> > at
> com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestT
> ransport.sendRequest(HttpClientRequestTransport.java:126)
> > at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:112)
> > at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest
> (WsdlSubmit.java:72)
> > at com.eviware.soapui.impl.wsdl.WsdlRequest.submit
> (WsdlRequest.java:370)
> > at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run
> (WsdlTestRequestStep.java:285)
> > at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run
> (WsdlTestCaseRunner.java:172)
> > at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.start
> (WsdlTestCaseRunner.java:80)
> > at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run
> (WsdlTestCase.java:462)
> > at
> com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runSOAPU
> I(ScriptRunner.java:312)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute(
> ScriptRunner.java:982)
> > at
> com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustO
> ne(ScriptRunner.java:667)
> > at
> com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.run
> OneTime(TestusecaseRunner.java:383)
> > at
> com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.ru
> nFunctionaltest(TestscenarioRunner.java:288)
> > at
> com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.ac
> cess$000(TestscenarioRunner.java:91)
> > at
> com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner
> $FunctionalTest.run(TestscenarioRunner.java:272)
> > Functional test failed.
> >
> > What might be a cause of the error? Maybe incompatible with
> soapUI library in TestMaker?
> >
> > Thanks.
> > _______________________________________________
> > Users mailing list
> > Users at lists.pushtotest.com
> > http://lists.pushtotest.com/mailman/listinfo/users
> >
> >
>
>
> --
> KINO.ukr.net знает о фильмах всё!
> http://kino.ukr.net
>
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426
TestMaker: The open-source SOA test automation tool
More information about the Users
mailing list