Saturday, March 15, 2025

jmeter – whereas controller is not working completely when testing for a number of customers


I’ve designed a case to attend for particular mannequin identify in GET response after which POST knowledge. It’s examined and is working fantastic when only one consumer and 1 loop are set. When the particular mannequin identify is discovered, then proceed to deploy the mannequin.

JSON Extractor

$..valid_model_list[?(@.model_name =~ /.*Model-Test-${variable}-${counter}-v1-8k/i)]

Whereas Controller

${__jexl3("${modelnameresult_matchNr}" != "1",)}

Nevertheless, after I ramp up the check to make use of 2 customers and a pair of loops. The outcome is not as per expectation.

Query 1: Why JMeter is not working the request in sequence when a number of customers and loop are set?

How do I design it in a greater solution to keep away from false-positives in outcomes?

Query 2: The GET (TrainedModelsList) fixed timer is ready to 1 minute and expectation is that it continues working until the top of the check. It appears it simply run to a sure interval and stopped. What kind of timer needs to be used on this case?

JMeter deployed these mannequin efficiently

Mannequin-Check-2022-02-28T09:46:40784-0001-v1-8k
Mannequin-Check-2022-02-28T09:46:42785-0002-v1-8k
Mannequin-Check-2022-02-28T09:46:44784-0003-v1-8k
Mannequin-Check-2022-02-28T09:46:46783-0004-v1-8k

JMeter begin deploy the mannequin and fail though these fashions should not but discovered:

Mannequin-Check-2022-02-28T10:02:51745-0006-v1-8k
Mannequin-Check-2022-02-28T10:18:18831-0007-v1-8k
Mannequin-Check-2022-02-28T10:34:21111-0008-v1-8k
Mannequin-Check-2022-02-28T10:50:24376-0009-v1-8k

enter image description here

Up to date with view outcome notes the place the issue occurred at second loop:

enter image description here

enter image description here

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

PHP Code Snippets Powered By : XYZScripts.com