Thanks. "Boundary Extractor" helps. Thanks once again.
On Thu, Feb 8, 2024 at 3:41 PM Dmitri T <glin...@live.com> wrote: > Deepak Goel wrote: > > Hello > > > > I would like to record the response from a particular URL1 and then use > it > > in URL2 in JMeter. Any idea how do I go about doing this? > > > > Deepak > > "The greatness of a nation can be judged by the way its animals are > treated > > - Mahatma Gandhi" > > > > +91 73500 12833 > > deic...@gmail.com > > > > LinkedIn: www.linkedin.com/in/deicool > > Upwork: https://www.upwork.com/freelancers/~0150257dd6dfd15b4b > > > > "Plant a Tree, Go Green" > > > > Make In India : http://www.makeinindia.com/home > > > Full response? You can save it into a JMeter Variable > <https://jmeter.apache.org/usermanual/functions.html> by adding a > Boundary Extractor > <https://www.blazemeter.com/blog/jmeter-boundary-extractor> as a child > of the request to the URL1 and provide desired variable name, i.e. > *response*. Left and right boundaries can be left blank. > > Then in 2nd request you can refer it as *${response} > > *If you need some part of response - either provide left and right > boundaries and JMeter will extract everything in-between or go for a > more suitable Post-Processor. > < > https://jmeter.apache.org/usermanual/component_reference.html#postprocessors> > > In this case you will need to provide the relevant > regular/XPath/JSONPath/whatever expression > ** > Deepak "The greatness of a nation can be judged by the way its animals are treated - Mahatma Gandhi" +91 73500 12833 deic...@gmail.com LinkedIn: www.linkedin.com/in/deicool Upwork: https://www.upwork.com/freelancers/~0150257dd6dfd15b4b "Plant a Tree, Go Green" Make In India : http://www.makeinindia.com/home