51Testing软件测试论坛
标题:
我用maxq测试登录后,出现错误,大家来给分析下呀,看不懂那些脚本,谢了!~~~
[打印本页]
作者:
zhouzhou830930
时间:
2009-3-5 15:34
标题:
我用maxq测试登录后,出现错误,大家来给分析下呀,看不懂那些脚本,谢了!~~~
Test started
Testing URL: http://localhost/LoginCtrl-handleLogin2Navigate.pfv?user=30105&password=111111
Response code: 200
Testing URL: http://localhost/public/default/img4navigate/pingtai_02_1.gif
Response code: 200
Traceback (innermost last):
File "<string>", line 81, in ?
junit.framework.AssertionFailedError: Assert number 2 failed expected:<304> but was:<200>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:136)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyObject.invoke(PyObject.java)
at org.python.pycode._pyx11.runTest$2(<string>:32)
at org.python.pycode._pyx11.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyFunction.__call__(PyFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyObject._jcallexc(PyObject.java)
at org.python.core.PyObject._jcall(PyObject.java)
at org.python.proxies.main$login$6.runTest(Unknown Source)
at com.bitmechanic.maxq.HttpTestCase.Run(HttpTestCase.java:102)
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:585)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx11.f$0(<string>:81)
at org.python.pycode._pyx11.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at com.bitmechanic.maxq.RunTestDialog.run(RunTestDialog.java:108)
at java.lang.Thread.run(Thread.java:595)
junit.framework.AssertionFailedError: junit.framework.AssertionFailedError: Assert number 2 failed expected:<304> but was:<200>
作者:
zhouzhou830930
时间:
2009-3-5 16:05
没有人理,先自己顶下
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2