码迷,mamicode.com
首页 > 其他好文 > 详细

jmeter测试dubbo接口遇到 Failed to check the status of the service

时间:2019-08-15 11:12:42      阅读:775      评论:0      收藏:0      [点我收藏+]

标签:java   registry   com   ace   ide   jmeter   keep   ali   png   

Exception in thread "main" java.lang.IllegalStateException: Failed to check the status of the service com.******. No provider available for the service com.***.IProxyCertApi:1.0 from the url zookeeper://10.8.*.*:2181/com.alibaba.dubbo.registry.RegistryService?application=stressTest&dubbo=2.6.0&generic=true&interface=com.*****&pid=13228&protocol=dubbo&register.ip=172.30.2.66&side=consumer&timestamp=1565836380313&version=1.0 to the consumer 172.30.2.66 use dubbo version 2.6.0
 at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:422)
 at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:333)
 at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:163)
 at DubboRegistryConfig.initRequest(DubboRegistryConfig.java:55)
 at DubboRegistryConfig.initRequest(DubboRegistryConfig.java:31)

有的dubbo服务分了group,

<dubbo:registry id="***"  protocol="zookeeper" address="${base-dubbo.registry.address}" client="${base-dubbo.registry.client}" group="${base-dubbo.group}"/>

测试接口时需要在注册时加上group

技术图片

 

jmeter测试dubbo接口遇到 Failed to check the status of the service

标签:java   registry   com   ace   ide   jmeter   keep   ali   png   

原文地址:https://www.cnblogs.com/meadow/p/11356496.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!