Tuesday, 15 March 2011

jmeter use multiple BeanShell PostProcessor parametrs in http request -


Can anyone explain how to do such a thing?

I have a Beanshell post processor in my test phase. It gives a list of n elements (each time the number of elephants is different) I wonder, is it possible to run some exact http requests? Which will use that element? For example, the processor returned var1, var2, var3, then this three Http request:

  ... / get-smth $ var = var1 ... / get-smth $ var = Var2 ... / get-smth $ var = var3  

I realized that I use a size to keep the variable in the loop controller, but for http request How to implement variables?

Leo, possibly an array + a foreach controller can solve your problem

< Take a look at p>, you can include almost anywhere ... For example, if you want to include the VERS1 in your life; Just look at it as $ {var1} Note the multidimensional variable (array) like $ {Var1}; That means var1_1 will give you the first element


No comments:

Post a Comment