Comments (12)
Yes we are also facing the same issue
from jmeter-grpc-request.
@Karthicsrv you can use property values to set the metadata dynamically
from jmeter-grpc-request.
When I tried to add Metadata, I got:
Response code: 500
Response message: Exception: UNKNOWN
I'm not sure if I put the wrong format, do you have a working example for metadata here? thx
from jmeter-grpc-request.
Hi @blindchaser,
You can try again with format key1:value1,key2:value2
of metadata.
Everything will be fine.
from jmeter-grpc-request.
HI @huynhminhtan
I am also facing issue with metadata, I have already tried with several format but still it is not working and shows issue
Response code: 500
Response message: Exception: UNKNOWN
Below format I have tried with but none of them works for me. Please share format with example
authorization : h7Zd4eIXQ/BKiL9v5M/aY4JFfPp
"authorization" : "h7Zd4eIXQ/BKiL9v5M/aY4JFfPp"
{"authorization" : "h7Zd4eIXQ/BKiL9v5M/aY4JFfPp"}
from jmeter-grpc-request.
I am trying to pass variable value in GRPC metadata from CSV but its passing like ${varibaleName}. Its not replacing the string with actual value in csv.
Can you please provide your input on this
from jmeter-grpc-request.
@Ankit7327 I couldn't pass the variable it doesn't replace the variable .I used property in the form of
access_token:${_groovy(props.get("token" + ${__threadNum}))}
I iterate through the CSV and store it on the props using props.set("key", "value") then retrieve the value as shown above
from jmeter-grpc-request.
@NateTsg I tried as you suggested but its partially working in my case.
I am able to replace values in meta data but if I execute it for multiple iteration it takes the same value. Values in metadata not changing as per the thread
Can you please share any snippet or code for storing values in pros by iterating csv?
from jmeter-grpc-request.
@Ankit7327 Am store each variable with a separate thread key as follows so when you read the variable you get a different one for each thread
props.put("token_"+Thread.currentThread().getName().split("-")[1],vars.get("token"));
I store it on the props with a different thread number and get it with the thread number in the following code
access_token:${_groovy(props.get("token" + ${__threadNum}))}
from jmeter-grpc-request.
@NateTsg which sampler you have used for above code?
from jmeter-grpc-request.
@NateTsg @huynhminhtan
Query 1:-
I tried above solution, it worked properly with single iteration but while executing under load jmeter replacing blank values in parameter. Have you face this issue?
Query2:-
I tried to execute multiple request at a time. When I click on play button green dot appeared on upper right corner but users were not ramping up. There is only 1 second of ramp up is defined and test was schedule for 15 min.
Please help on this
from jmeter-grpc-request.
You can fix it with
Authorization:Bearer USER_TOKEN
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.