In Lisa, How to Read Attribute Value in the Request while creating a project.
<request> <provider_specifics> <provider_data param_name="product">ABC</provider_data>
<provider_data param_name="code">xyz</provider_data> </provider_specifics></request>
In Request I want read tag with param_name attribute value to differentiate both the Tags .
Doing Virtualization... please help me to find the solution
DevTest provides Generic XML Payload Parser DPH to handle your need.
Appropriate XML Xpath expression would need to be used in this DPH to extract different request arguments.
E.g. following Xpath can be used to set an argument which has a value of ABC
You add the "Request Data Manager" Data Protocol Handler during recording. You select the request, and you add a new rule. You want to copy from an attribute. Select the "param_name" attribute and press the "Source" button. Copy it to an argument. You then have param_name as an argument, with "product" or "code" as the value, as appropriate.
How to enable Source button in this image?
Click on the piece in the request that you want to be the source, and the source button is enabled. I don't understand why your whole request is just an operation, though, or how come that operation is an XML element.