jmeter测试dubbo接口遇到 Failed to check the status of the service
Posted meadow
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jmeter测试dubbo接口遇到 Failed to check the status of the service相关的知识,希望对你有一定的参考价值。
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®ister.ip=172.30.2.66&side=consumer×tamp=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的主要内容,如果未能解决你的问题,请参考以下文章
Dubbo接口测试Dubbo接口调用Jmeter调用Dubbo接口,Jmeter测试Dubbo接口