JMeter environment specific configuration

后端 未结 8 757
时光取名叫无心
时光取名叫无心 2021-02-04 13:05

I have several JMeter test plans which should be executed in different environments, say Dev, Test, UAT, Live. In each test plan I would like to have a simple way to specify whi

8条回答
  •  甜味超标
    2021-02-04 13:36

    I have not used myself, but this jmeter-pluing may help you. Here is snippet from documentation

    Parameterized Controller since 0.1.0
    
    When your JMeter test plan tree becomes like a sequoia or a banyan, 
    you start feeling yourself like a monkey in a jungle, jumping from 
    branch to branch, trying to support this important test consistent. 
    You really need some way to have parameterized subroutines, to reuse 
    parts of test plan like regular programming language functions and 
    procedures.
    
    JMeter have out-of-box Module controller, but it has no parameters 
    to pass to, so if you need to call repeating sequence of the same 
    action with different parameters, your reflection in a mirror starts 
    morphing into monkey. Parameterized Controller helps you stay human 
    and sane.
    

提交回复
热议问题