Comments (8)
Hi @debayandesarkar,
The protoc compiling was failed. Please recheck your input as Proto Root Directory, Library Directory (if you use externally lib as googleapis, ...) then clicking the Listing button in order to get existed methods.
Or, you can start with an example here.
Welcome and Thank you.
from jmeter-grpc-request.
Hi @huynhminhtan ,
Thanks for your prompt response. The proto root directory seems to be correct as it found the /opt/GitHub/pay-integrator-api/src/main/proto/com/expedia/payment/integrator/service/v1/integrator_payment_api.proto file. We are not using external library like googleapis. Hence, clicking on the "Listening" button is not rendering any methods. The proto file integrator_payment_api.proto doesn't have a service name and method name like the example below. The file only has the request and response mapping. Is that the reason the compilation is failing?
service Bookstore {
// Returns a list of all shelves in the bookstore.
rpc ListShelves (google.protobuf.Empty) returns (ListShelvesResponse) {
// Define HTTP mapping.
// Client example (Assuming your service is hosted at the given 'DOMAIN_NAME'):
// curl http://DOMAIN_NAME/v1/shelves
option (google.api.http) = { get: "/v1/shelves" };
}
Regards
Debayan
from jmeter-grpc-request.
Hi @debayandesarkar,
Do you import other internal proto files? please check file path when importing. The integrator_payment_api.proto doesn't have a service name and method name, so I wonder how do you make many requests to your gRPC server?
Can you upload portable/simple version of the proto file?
Regards
from jmeter-grpc-request.
@huynhminhtan Did you get a chance to look at my response above? Does these implementation require the service and method names declaration in the .proto file?
Regards
Debayan
from jmeter-grpc-request.
@huynhminhtan Thanks for your response.I added the service name and method name in the service .proto file as shown below and the compilation seems to be successful. However, I am getting the below error now.
option java_outer_classname = "BraintreeClientImplGrpc";
/* Added to test with JMeter GRPC Request Sampler */
service BraintreeClientImpl {
rpc authorize (AuthorizeRequest) returns (AuthorizeResponse) {}
}
Thread Name:Thread Group 1-1
Sample Start:2021-04-28 00:33:07 PDT
Load time:59
Connect Time:0
Latency:0
Size in bytes:38
Sent bytes:0
Headers size in bytes:0
Body size in bytes:38
Sample Count:1
Error Count:1
Data type ("text"|"bin"|""):text
Response code:500
Response message:Exception: UNAVAILABLE: Network closed for unknown reason
SampleResult fields:
ContentType:
DataEncoding: null
Response Data: Caught exception while waiting for rpc
Note: There are 4 proto files under /src/main/proto as shown below of which integrator_payment_api.proto is where I added the service name & method names along with option java_outer_classname.
from jmeter-grpc-request.
@huynhminhtan Hi, did you get a chance to look at my latest response?
Regards
Debayan
from jmeter-grpc-request.
This issue is stale because it has been open for 30 days with no activity.
from jmeter-grpc-request.
This issue was closed because it has been inactive for 14 days since being marked as stale.
from jmeter-grpc-request.
Related Issues (20)
- Nothing happens when I started grpc request. HOT 1
- ProtocInvoker: [Protoc error log] /tmp/descriptor4060452770577537186.pb.bin: No space left on device HOT 2
- Why can't I parse my proto HOT 3
- Protoc execute error HOT 3
- Protoc error : type is already defined HOT 8
- http2 exception error HOT 1
- Parsing request error HOT 4
- import googleapis problem HOT 2
- User temporary folder generates a large number of proto files HOT 2
- Add Streaming option for plugin HOT 2
- enable TLS but don't work HOT 2
- protoc execution error HOT 2
- JMeter grpc testing for deployed server on aws. HOT 2
- Support for Streaming HOT 2
- NoSuchMethodError: com.google.common.net.HostAndPort.getHost() HOT 2
- Unable to resolve service by invoking protoc: Unable to scan proto tree for files HOT 2
- Issue #243 closed, though not fixed, please take a look, thanks! HOT 3
- Request to set Latency for requests initiated from external jars HOT 2
- Add support to client streaming and server streaming HOT 3
- Build Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmeter-grpc-request.