I virtualized a web service where the arguments for the request message would be same but the attribute value will change. so based on the attribute value i need to send the response back for my virtual service.
Can any one help me??
You can include "Request Data Manager" data protocol handler to the stack of used data protocols during your recording. Inside this utility data handler, you can copy an attribute to an argument, thereby enabling its use as a piece of data to match against. At the same time, if the arguments are all static, you can use Request Data Manager to delete each of those, so they won't be used for matching logic.
If you are talking about turning an XML attribute into an argument, this is turned off by default. Depending on what protocols you are using, you might want to set the lisa.magic.string.xml.tags property to true in your local.properties file, and restart DevTest. If this does not work, try adding the Generic XML Parser to your list of request DPHs, and select the XML attribute you want to target in the editor window. In either case, you will likely want to regenerate your Virtual Service to account for the new argument that will be created from the XML attribute(s).
Adding Generic XML Parser to the request, the problem got resolved.
Retrieving data ...