• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jmeter- Request filed is part of another respone

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use Regular Expression Extractor. Visit the following URL:
http://www.technix.in/jmeter-problems-and-solutions/
 
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic