Comments (7)
i use like this , and it doesn't work well
./ghz -proto ./call.proto -call protobuf.RemoteCall.get_result -d '{"method_name":"GET", "arg":"(lp0\nS'GET'\np1\naS'1'\np2\naS'cp431'\np3\na(dp4\nS'group_name'\np5\ng3\nsa."}' -n 2000 -c 50 172.17.82.212:8902
from ghz.
I am not sure how to accomplish this practically, I'll have to think about it look into it further.
from ghz.
so mark it as a feature request?@bojand
from ghz.
One option would be to provide support for reading binary serialized data. So for example you would provide a file (or via stdin) with the full message that's been serialized using protobuf. We could read it unmarshal it and use it as payload.
from ghz.
Protobuf's encoding of strings is described here, which should be similar to how bytes are handled: https://developers.google.com/protocol-buffers/docs/encoding#types
I like the idea of pre-serializing the binary data and feeding that as an input file/stdin. (Or having ghz use protobuf to serialize a binary file provided as input.)
+1 for this feature request. I don't have a use for this tool without this feature.
from ghz.
Hello, I agree this would be useful. The issue got a bit forgotten. I'll try and implement something soon-ish as I find the time. Thanks.
from ghz.
Hello, can you try the 0.14.0 release and check if it works for your use cases. I am closing this issue. If there are problems please feel free to open a new issue with all the details.
from ghz.
Related Issues (20)
- Deletion of reports does not work in Ghz Web UI
- Support GRPC retry policy
- How to randomly read data from a file๏ผ HOT 1
- Enhanced Error Classification in gRPC APIs
- Template Functions are not showing actual values in influx-details output.
- gRPC python service doesn't work without --proto HOT 3
- parsing of "_" in json-file (proto definitions)?
- Unexpected integer rounding
- How to pass the authorization token as header information HOT 4
- ghz should not include unmarshaling when calculating response time HOT 2
- Grpc-web: rpc error: code = Unavailable desc = connection closed before server preface received HOT 1
- Error "index out of range" when executing CallData.execute
- Feature Request: latency distribution > 99%
- Feature request: incremental statistics during a test run
- balancing grpc
- CVEs: please update google.golang.org/grpc and golang.org/x/net to latest versions HOT 1
- How to combine results of different HandleRPC events?
- go/pkg/mod/github.com/bojand/[email protected]/printer/prometheus.go:16:46: undefined: expfmt.FmtText
- When metadata is "preseeded" (constant per request), ghz adds repeated `grpc-accept-encoding=gzip` headers HOT 1
- Add QUIC protocol support
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 ghz.