Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jmeter- Request filed is part of another respone

 
Shankar sanjay
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Regular Expression Extractor. Visit the following URL:
http://www.technix.in/jmeter-problems-and-solutions/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic