Reputation: 5540
I have such test plan:
The issue here is that requests not consistently. It should run win request for each bid request if bid response code is 200 but in my case, it running all bid requests and only after start running win requests
Description:
${__FileToString(/home/user/Downloads/jmeter/jsons/${__eval(${JSON_FILE})}.txt,,)}
.
Also bid request include currency, bidid etc. it's Json
extractors, I'm using that data to generate correct win URL for
each bid.win - get request, where URL queries are different depends on bid response (using Json extractors). Url looks like:
win?auctionId=${AUCTIONID}&bidId=${BIDID}&impId=${IMPRESSIONID}&seatId=${SEAT}&price=${__javaScript((Math.random()* (4 - 1)+1).toFixed(4);)}&cur=${CUR}&adId=${ADID}
I would be grateful for any help!!!
Upvotes: 1
Views: 113
Reputation: 58772
With low ramp up period first requests will be sent in parallel on multi threads test.
If you read Thread Group
You should increase the "ramp-up" until it equals to the number of threads.
The ramp-up period tells JMeter how long to take to "ramp-up" to the full number of threads chosen. If 10 threads are used, and the ramp-up period is 100 seconds, then JMeter will take 100 seconds to get all 10 threads up and running.
You can check related dynamic ramp up question
Upvotes: 2