I want to test concurrency of application, I'm using apache Jmeter for that, the endpoint I'm requesting, needs to have authorization header for authentication, in apache Jmeter HTTP Header Manager i have added a header with the name Authorization with the token value, now lets say I have 5 number of threads (users), when the test runs all the 5 users request with the same authorization token, I want each thread to request with the different token, to simulate the different users and not multiple instances of one user, I hope the question makes sense, How can I make each thread request the api with different token? that is unique header value for each thread's request. Thanks love you guys.
How to set different header for the group thread request in apache jmeter?
3.8k Views Asked by Jawad At
1
There are 1 best solutions below
Related Questions in MULTITHREADING
- How can I outsource worker processes within a for loop?
- OpenMP & oneTbb difference
- Receiving Notifications for Individual Task Completion OmniThreadLibrary Parallel.ForEach
- C++ error: no matching member function for call to 'enqueue' futures.emplace_back(TP.enqueue(sum_plus_one, x, &M));
- How can I create a thread in Haskell that will restart if it gets killed due to any reason?
- Qt: running callback in the main thread from the worker thread
- Using `static` on a AVX2 counter function increases performance ~10x in MT environment without any change in Compiler optimizations
- Heap sort with multithreading
- windows multithreading CreateMutex
- The problem of "fine-grained locks and two-phase locking algorithm"
- OpenMP multi-threading not working if OpenMPI set to use one or two MPI processor
- WPF Windows Initializing is locking the separated thread in .Net 8
- TCP Client Losing Connection When Writing Data
- vc++ thread constructor throwing compiler error c2672
- ASP.NET Core 6 Web API : best way to pause before resending email
Related Questions in PERFORMANCE
- Upsert huge amount of data by EFCore.BulkExtensions
- How can I resolve this error and work smoothly in deep learning?
- Efficiently processing many small elements of a collection concurrently in Java
- Theme Preloader for speed optimization in WordPress
- I need help to understand the time wich my simple ''hello world'' is taking to execute
- Non-blocking state update
- Do conditional checks cause bottlenecks in Javascript?
- Performance of sketch drastically decreases outside of the P5 Web Editor
- sample query for review for improvement on big query
- Is there an indexing strategy in Postgres which will operate effectively for JOINs with ORs
- Performance difference between two JavaScript code snippets for comparing arrays of strings
- C++ : Is there an objective universal way to compare the speed of iterative algorithms?
- How to configure api http request with load testing
- the difference in terms of performance two types of update in opensearch
- Sveltekit : really long to send the first page and intense CPU computation
Related Questions in JMETER
- i have extracted some values using regex in beanshell postprocessor now i have to pick a random value and store it into a varaible?
- Jmeter Java DSL - getting issues when using rpsThreadGroup
- How to configure api http request with load testing
- Jmeter resolution variable with remote
- Need to read different line from different files using CSV read function in JMeter
- How to enter user input in jmeter console (without doing parameterization)
- Optimal way to replace different parts of a structured string(XML) with random string values of different lengths in a JMeter JSR223 Samper (groovy)
- Jmeter query about script recording
- In Jmeter, for ISO8583 Sampler, how can I read the data from CSV file?
- Use JMeter to simulate receiving websocket broadcasts similar to okhttp3
- is their any industry standard for performing 300K load test (Thermostat->HVAC system)?
- How to perform multiple HTTP requests with unique IP addresses from my local
- Jmeter => How to add a jmx file in the transaction controller
- How to send huge JSON with PDF encoded over HTTPS in JMeter?
- How can I create a random(seed) function using a custom seed for Jmeter?
Related Questions in LOAD-TESTING
- Azure openai load testing mode
- How to generate random item from json file in yaml code for artilliery load testing?
- How to enter user input in jmeter console (without doing parameterization)
- How to export statistics from SoapUI load test via groovy script?
- In artillery can I run multiple scenarios simultaneously
- Why and how is the group time with a single http request less than the sum of the time of all parameters related to that http request?
- How can I save reference Id In Jmeter? and generate it new in each iteration
- Apache JMeter Load Testing - Load test over certain period of time
- Artillery - A lambda function has exited with with an error. Reason: artillery error
- Load Testing using Artillery.io
- Pod is handling all requests even when Keep-alive is set to False
- Is it possible to do Load testing on a Simulator?
- Recive [Errno 111] Connection refused on load test for TCP Server
- got MissingPropertException from Jmeter while using addArgument for http Request sampler
- How solve error 'Configuration result is immutable' using package loadtest with configfile?
Related Questions in DATABASE-CONCURRENCY
- Concurrency violation: the UpdateCommand affected 0 of the expected 1 records, Error occurs for few tables in DB but not for all tables
- Concurrency problem with Redis in Node.js
- How to prevent Concurrency issues in ASP.NET Core Web API
- Ascync python server/client with post method to write to DB
- Enforcing maximum number of relations in concurrent requests
- How can I prevent a second user from overwriting an entity property(column) in EF Core?
- Concurrency control for table generated Transaction Id
- How to avoid the concurrent problem in back-end when select-then-update from MySQL
- Close Rails ActiveRecord Connection Pool
- While the server is under more strain, queries become slower
- Conditionally preventing inserts from other concurrent transactions until the specific transaction finishes
- Is updating with where clause safe operation (can it prevent lost updates) in Postgresql?
- Read write problem on an append only table
- AWS RDS Concurrency Question (multi-user)
- How to allow just one out of two simultaneous popping (SELECT + DELETE) on the same row of data in a database relation?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you have 5 different users - you need to have 5 different tokens. You can put the tokens into i.e. a CSV file and add CSV Data Set Config to your Test Plan
Once done you will be able to access each entry of the CSV file (which will be different for each thread/iteration) as
${token}in the HTTP Header ManagerCheck out JMeter Parameterization - The Complete Guide article to learn more about the concept of performing data-driven tests using various external data sources like CSV files, databases, etc.