Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where to see xPath Extractor results in Jmeter

I am new to Jmeter, I want to see the Xpath Extractor generated results.
I have

 Reference Name : pt_idx
 Xpath query : //patientList/patient/idnetifierList/identifier/text()           
 Default Value : 0

Please clarify my doubts, can i use Xpath query generated results in Http Request?
Is those result will store in pt_idx variable?
Finally, where can i see the results?

like image 430
Raju Avatar asked Dec 17 '25 16:12

Raju


1 Answers

Yes, you can use it in an Http Request, I have previously used several XPath Extractors and been able to use them as variables in subsequent http request using the placeholder notation ${varname} (for you it would be ${pt_idx})

To verify the value of the variable, I could do it via the report by looking at the HTTP Request (as I used the variable to fill a request parameter).

Hope it helps.

like image 103
David Lacourt Avatar answered Dec 21 '25 01:12

David Lacourt