jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shing Hing Man <>
Subject How to pass a value to two Http Request Samplers.
Date Sat, 08 Feb 2014 20:46:04 GMT
I am using JMeter 2.9.
I have a test plan  :
ThreadGroup (no of threads 2,  loop count =1) 
Simple controller
BeanShell PrePocessor  :  vars.put("myId",  "${__UUID}")
In both hashHttpRequest,    dataHttpRequest sampler,  I want to set a http get parameter impId=${myId}
In other words,  in each iteration each thread sends a hashHttpRequest,    dataHttpRequest
with a common impld  value.
But from "View Result Tree",    the value of impId in hashHttpRequest is different from the
one in dataHttpRequest.
Eg :

May I know how to get imp_id in both http request to be the same ?
Thanks in advance for any assistance !
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message