This repository was archived by the owner on Apr 4, 2024. It is now read-only.
Java error when trying to run GRPC request - port number required #269
Unanswered
Christian-Marc
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
2023-06-07 22:48:55,261 ERROR v.z.b.GRPCSampler: java.lang.IllegalStateException
at com.google.common.base.Preconditions.checkState(Preconditions.java:495)
at com.google.common.net.HostAndPort.getPort(HostAndPort.java:110)
at vn.zalopay.benchmark.core.grpc.ChannelFactory.createChannelBuilder(ChannelFactory.java:51)
at vn.zalopay.benchmark.core.grpc.ChannelFactory.createChannel(ChannelFactory.java:39)
at vn.zalopay.benchmark.core.ClientCaller.createDynamicClient(ClientCaller.java:154)
at vn.zalopay.benchmark.core.ClientCaller.init(ClientCaller.java:96)
at vn.zalopay.benchmark.core.ClientCaller.(ClientCaller.java:53)
at vn.zalopay.benchmark.GRPCSampler.initGrpcClient(GRPCSampler.java:81)
at vn.zalopay.benchmark.GRPCSampler.initGrpcInCurrentThread(GRPCSampler.java:203)
at vn.zalopay.benchmark.GRPCSampler.initGrpcRequestSampler(GRPCSampler.java:133)
at vn.zalopay.benchmark.GRPCSampler.sample(GRPCSampler.java:90)
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:651)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:570)
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:501)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:268)
at java.lang.Thread.run(Thread.java:1623)
I think I found the issue: the port number is required, but the service don't have a port number. How can I use it without a port number
Beta Was this translation helpful? Give feedback.
All reactions