Highlighted
Absent Member.. Absent Member..
Absent Member..
204 views

HTML5 Item Data

I am recording a new app using VuGen 12.50 with the Web protocol.  Some of the transactions are being recorded as web_custom_request instead of the web_submit.  Some of the calls are rest and some are json and those are not an issue becasue there is not parameterization needed.  The problem is the getData calls that are web_custom_requests.  They contain items that are usually broken out into ITEMDATA and can be parameterized.  The ones that are causing issues are  RecContentType=application/xml and the items appear in the body and cannot be changed.  I know I can use web_reg_param and convert what I need but there are lots of them and is really not feasiable.  I have tried boatloads of different settings with no results.  Any ideas?

Example:

web_custom_request("getData",
"URL=https://",
"Method=POST",
"Resource=0",
"RecContentType=application/xml",
"Referer=https://",
"Snapshot=t175.inf",
"Mode=HTTP",
"EncType=application/xml; charset=utf-8",
"Body=<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<queryRequests>\n<queryRequest data=\"XXX\" dataLevel=\"interactive\">\n</queryRequest>\n</queryRequests>\n",
LAST);

 

0 Likes
1 Reply
Highlighted
Honored Contributor.
Honored Contributor.

Re: HTML5 Item Data

"hi,

if i understand correctly, you need to create a parameter from the XML request?

 

did you tried to create correlation ruels or even select the value, right click on it and select "correlate selection"?

 

did you tried to use the XML DFE?

Micro Focus Performance Core.
Functional Architect
your performance, our passion!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.