-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调用dubbo http协议的服务问题 #4
Comments
@zhangzc0419 能说明一下是那个版本出现的问题?还有就是能否提供完整的异常?感谢 |
1.2.6 |
@zhangzc0419 如果你们启用的http协议后,访问方式是通过http://ip:port/contextpath/${path}[/${method}][/${version}][/${group}]这种的话,请直接使用jmeter的http sample去做测试,dubbo sample就不适合使用。dubbo http协议支持的有些问题,不太清楚你们是通过那种方式开启的http协议?是用的dubbox还是dubbo-plus或者是其他 |
<dubbo:protocol name="http" port="8080" /> |
@zhangzc0419 插件调用使用GenericService泛化调用,当protocol=http时我测试下来是报错的,因为dubbo的http协议调用采用org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor调用,泛化引用GenericService的代理对象调用会出现错误,这个我去dubbo上提一个issue |
@zhangzc0419 issue连接:apache/dubbo#1768 |
OK thx |
我的dubbo服务改成http协议之后,调用遇到些问题
因为不是dubbo协议所以Server Setting没用dubbo的直连方式
Server Setting使用zookeeper协议
异常信息:
{"detailMessage":null,"stackTrace":[{"declaringClass":"cn.tsoft.framework.testing.jmeter.plugin.dubbo.sample.DubboSample","methodName":"callDubbo","fileName":"DubboSample.java","lineNumber":355},{"declaringClass":"cn.tsoft.framework.testing.jmeter.plugin.dubbo.sample.DubboSample","methodName":"sample","fileName":"DubboSample.java","lineNumber":234},{"declaringClass":"org.apache.jmeter.threads.JMeterThread","methodName":"executeSamplePackage","fileName":"JMeterThread.java","lineNumber":498},{"declaringClass":"org.apache.jmeter.threads.JMeterThread","methodName":"processSampler","fileName":"JMeterThread.java","lineNumber":424},{"declaringClass":"org.apache.jmeter.threads.JMeterThread","methodName":"run","fileName":"JMeterThread.java","lineNumber":255},{"declaringClass":"java.lang.Thread","methodName":"run","fileName":null,"lineNumber":-1}],"suppressedExceptions":[]}
The text was updated successfully, but these errors were encountered: