Highlighted
Absent Member.
Absent Member.
306 views

LR Script Recording issue

Help required please....very much valid query and urgent...

Recorded a flex based web application wiht
LR 9.52 & Flex, HTTP/HTML protocols.

Following recorded script's flex amf call has the problem and error shown while replay (note:DSID Correlated) as "Action.c(646): Error: Server returned error for message #1 : description="AMF call returned an error, described in XML seen in extended log" "

I understand the script that it is capturing the 'getJourneyTemplate' method instead of template id while VuGen recording, so unable to correlate the string..

Please look into the script below.

lr_start_transaction("selectTemplate");

/*template name: VenkatPerf1*/

lr_think_time(71);

flex_amf_call("AMF3_call_8",
"Gateway=https://xxx.com/xxxxx/xxxApp/"
"messagebroker/amf",
"Snapshot=t11.inf",
MESSAGE,
"Method=null",
"TargetObjectId=/7",
BEGIN_ARGUMENTS,
""
"\n "\">DBAD9731-720B-C730-4775-617394BFE72C\n ">journeyTemplateService
\n ">971FFD24-4610-5DC7-8030-0BC03965C19A
\n 0 "timestamp>\n 0\n \n \n "
" DSId\n ">DBABBF49-571D-A74D-9990-DF398DB44919
\n
\n "
"\n DSEndpoint\n ">_Services_SecureAMFChannel1\n
\n \n "
"getJourneyTemplate\n \n ">3183\n \n "flex.messaging.messages.RemotingMessage> ">",
END_ARGUMENTS,
LAST);

lr_end_transaction("selectTemplate",LR_AUTO);
0 Likes
1 Reply
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: LR Script Recording issue

Hi,

In ur Amf call, u haven't correlated the DSID. Message ID correlation is optional, but DSID is a must. Correlate the ID and try running the same

Correlate the DSID using lr_xml_get_values
Cheers!

Nvr Blame a day in ur life....... Good day gives "happiness" & Bad day gives "experience" ......
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.