File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes Jmeter- Request filed is part of another respone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Jmeter- Request filed is part of another respone" Watch "Jmeter- Request filed is part of another respone" New topic
Author

Jmeter- Request filed is part of another respone

Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 115
Hi,

I have two requests, let's say Req_1 and Req_2, both of them xml request.

In Req_2, i have field <time>, everytime the timestamp will get change whenever an updation in DB.

When i send Req_2 to update a record 100 times, for testing, the <time> value i have to get using Res_1(Req_1 response).

The dependency is "Req_2 field value has to be get from Res_1".

So,

1. I have to send Req_1 and get Res_1
2. Get values from Res_1 and assign it to Req_2(time element)
3. Have to send Req_2 and get Res_2.

for my understanding, I can send only one request using Jmeter.
How to achive this in Jmeter.
sugan san
Ranch Hand

Joined: May 23, 2013
Posts: 47
Use Regular Expression Extractor. Visit the following URL:
http://www.technix.in/jmeter-problems-and-solutions/
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jmeter- Request filed is part of another respone
 
Similar Threads
jmeter
New to JMeter
JMeter and form authentication
Stress testing using JMeter
JavaScript in JMeter