I'm using JMeter and I need to get the value of <productid>
from an Http API response (productid = 001)[see Http API response screenshot] and pass it to a jdbc request [see JDBC request screenshot]. How do I do this without using xpath?
Http API response:
JDBC request:
String.Contains()
to find theproductid
tag position thenString.Substring()
to get the value? It's probably simpler than trying to get it via Regex (which a quick internet search says is supported by JMeter). There don't appear to be any plugins that would let you traverse an XML DOM without XPath