testng执行接口测试报错
开发写了个sendPut方法,在类中自己创建实例调用这个方法返回什么的都正常,但是用testng6.8.5去执行这个方法时却报错了。报错信息Server returned HTTP response code: 500 for URL:
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
有没有遇到类似情况,怎么解决?
页:
[1]