wood burning stoves*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 117
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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jmeter- Request filed is part of another respone