[Supplierconnect-user] junit tests on jonas
Brought to you by:
evanbottcher
|
From: <seb...@ke...> - 2004-05-21 09:32:26
|
Hi,
I try to port supplierconect on jonas aplication server. All work fine
(cXML, ebizWML). But When i launch the junit task, i 've these errors :
junit:
[mkdir] Created dir: T:\projets\supplierConnect\build\junit
[javac] Compiling 1 source file to
T:\projets\supplierConnect\build\junit
[copy] Copying 6 files to T:\projets\supplierConnect\build\junit
[junit] Running test.kenisys.supplierconnect.web.ListenerServletTest
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0,25 sec
[junit]
[junit] Testsuite:
test.kenisys.supplierconnect.web.ListenerServletTest
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0,25 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] 11:29:08,203 INFO [ListenerServletTest] response: <?xml
version="1.0" encoding="UTF-8"?>
[junit] 11:29:08,203 INFO [ListenerServletTest] response:
<!DOCTYPE cXML SYSTEM
"http://xml.cxml.org/schemas/cXML/1.2.008/cXML.dtd"><cXML
timestamp="2004-05-21T09:29:08.20Z"
payloadID="108...@de..."><Response><Status
code="200" text="OK"/></Response></cXML>
[junit] ------------- ---------------- ---------------
[junit] Testcase:
testSendBasdaOrder(test.kenisys.supplierconnect.web.ListenerServletTest):
Caused an ERROR
[junit] Server returned HTTP response code: 500 for URL:
http://localhost:9000/supplierconnect/ebisxml
[junit] java.io.IOException: Server returned HTTP response code:
500 for URL: http://localhost:9000/supplierconnect/ebisxml
[junit] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791)
[junit] at
test.kenisys.supplierconnect.web.ListenerServletTest.testSendBasdaOrder(ListenerServletTest.java:111)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
[junit] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
[junit] at
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
[junit] at java.lang.Thread.run(Thread.java:534)
[junit]
[junit]
[junit]
[junit] TEST test.kenisys.supplierconnect.web.ListenerServletTest
FAILED
[junit] Running test.kenisys.supplierconnect.web.ListenerServletTest
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0,172 sec
[junit]
[junit] Testsuite:
test.kenisys.supplierconnect.web.ListenerServletTest
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0,172 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] 11:29:08,578 INFO [ListenerServletTest] response: <?xml
version="1.0" encoding="UTF-8"?>
[junit] 11:29:08,578 INFO [ListenerServletTest] response:
<!DOCTYPE cXML SYSTEM
"http://xml.cxml.org/schemas/cXML/1.2.008/cXML.dtd"><cXML
timestamp="2004-05-21T09:29:08.57Z"
payloadID="108...@de..."><Response><Status
code="200" text="OK"/></Response></cXML>
[junit] ------------- ---------------- ---------------
[junit] Testcase:
testSendBasdaOrder(test.kenisys.supplierconnect.web.ListenerServletTest):
Caused an ERROR
[junit] Server returned HTTP response code: 500 for URL:
http://localhost:9000/supplierconnect/ebisxml
[junit] java.io.IOException: Server returned HTTP response code:
500 for URL: http://localhost:9000/supplierconnect/ebisxml
[junit] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791)
[junit] at
test.kenisys.supplierconnect.web.ListenerServletTest.testSendBasdaOrder(ListenerServletTest.java:111)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
[junit] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
[junit] at
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
[junit] at java.lang.Thread.run(Thread.java:534)
[junit]
[junit]
[junit]
[junit] TEST test.kenisys.supplierconnect.web.ListenerServletTest
FAILED
Do you have an idea ?
Thanks
|