how can we pass bearer token created in xml into 2 nd api which is placed in another thread group in jmeter I have tried with set property but it is not working as the body of token is in xml.
how can we pass bearer token created in xml into 2 nd api which is placed in another thread group in jmeter I have tried with set property but it is not working as the body of token is in xml.
If your token comes in the XML response just extract it using XPath Extractor or better XPath2 Extractor.
Once you have the token stored as JMeter Variable there will be 2 options: