Itle: Document ID: Product - Version: OS: Updated: Summary
Itle: Document ID: Product - Version: OS: Updated: Summary
Itle: Document ID: Product - Version: OS: Updated: Summary
Title :
Are web page diagnostics graphs available for Silverlight scripts?
Document ID :
KM1088550
Product - Version:
loadrunner 11.00 ;
OS :
Updated :
2011-Oct-19
Summary :
Web page diagnostics graphs are available in Silverlight protocol.
Are web page diagnostics graphs available for Silverlight scripts?
Solution
Web page diagnostics graphs are available in Silverlight protocol. The data will be available
after enabling "Web page diagnostics" in the controller using Controller -> Diagnostics
menu.
Web Page Diagnostics graphs for Silverlight protocol may not be available by default
sometimes and can be enabled by adding a missing key in the .LRP file for Silverlight
protocol.
In <Loadrunner installation directory>\dat\protocols\SilverLT.lrp
Under [Vugen] section add:
WebPageBreakdown=1
Title :
How to put a text check on the Silverlight content?
Document ID :
KM01205677
Product - Version:
loadrunner ;
OS :
Updated :
2014-Oct-13
Summary :
How to put a text check on the Silverlight content?
We cannot put a text check on the Silverlight binary encoded data. If the
content is part of Silverlight soap calls, then we can use
eitherweb_reg_find of lr_xml* functions. Rerfer to VuGen function reference
for more information about the usage of these functions.
le :
Silverlight protocol, recording data, response snapshot corrupted or shows empty
snapshot.
Document ID :
KM01156291
Product - Version:
loadrunner 11.52 ;
OS :
Windows
Updated :
2014-Sep-09
Summary :
Silverlight protocol, recording data, response snapshot corrupted or shows empty
snapshot.
Problem
Silverlight protocol, recording data, response snapshot corrupted or shows empty snapshot.
Cause
itle :
How to record Silverlight applications that use net.tcp
Document ID :
KM1339698
Product - Version:
performance center ; loadrunner ;
OS :
Updated :
2012-Jun-01
Summary :
Current versions of Vugen do not support recording against net.tcp based applications.
However, there is a workaround that can be used to create scripts for those
applications.
Recording against applications that use net.tcp architecture is not currently supported by
Vugen (including Silverlight applications). However, there is a workaround that can be used
to allow record and replay scripts using this architecture.
Solution
Note: You may need to work with the application developers to perform some of the steps
described below.
1. On the application ,temporarily modify the binding of the specific service to a binding
currently supported (like HTTP) just for the purpose of recording the script.
2. Record the script
3. You will get "silverlight_service_call" functions created in the script
4. Edit the file "<script folder>\WSDL\@config\<service name>.stss" and replace the
<LrHttpEngineTransport /> (or <httpTransport/>) with <tcpTransport />
Title :
An incorrect ending boundary delimiter is generated within a web_custom_request with
multipart/form-data when recording a Silverlight application
Document ID :
KM840448
Product - Version:
loadrunner 9.50 ;
OS :
Updated :
2010-Feb-18
Summary :
The ending boundary delimiter indicates the end of multipart/form-data in a
web_custom_request(). A patch is available to address an issue in the generation of the
delimiter string within a recorded script.
Problem
When recording a Silverlight application with the "Use web_custom_request only" option
specified, requests of this type that contain multipart/form-data are incorrectly generated
within the resulting script. The requests that are generated do not have correct ending
"boundary" delimiter as specified in RFC1512. This RFC requires that the ending delimiter
has two dashes at the end of the boundary string, that is, "--" must be appended to the end
of the boundary string to form a valid ending boundary delimiter. In some cases (but not all)
the application server will reject a request where the ending delimiter omits the string "--".
For example VuGen, during recording, may capture a request similar to the following:
Argument# 8 IN : [body_buffer] = ->Array[0:344]
{ "-----------------------------7da1a33360446\r\n"
"Content-Disposition: form-data; name=""file"";
filename=""C:\\Documents and Settings\\Administrator\\My
Documents\\Test.txt""\r\n"
"Content-Type: text/plain\r\n"
"\r\n"
"Test\r\n"
"-----------------------------7da1a33360446\r\n"
"Content-Disposition: form-data; name=""action""\r\n"
"\r\n"
"Upload\r\n"
"-----------------------------7da1a33360446--\r\n"
"" }
In this example the ending boundary delimiter is the
string "-----------------------------7da1a33360446--" and has "--" at the end. However,
the script that is generated by VuGen contains a web_custom_request() of the form:
web_custom_request("upload.php",
"URL=http://www.openjs.com/articles/ajax/ajax_file_upload/upload.php",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.openjs.com/articles/ajax/ajax_file_upload/",
"Snapshot=t21.inf",
"Mode=HTTP",
"EncType=multipart/form-data; boundary=--------------------------7da1a33360446",
"Body=-----------------------------7da1a33360446\r\nContentDisposition: form-data; name=\"file\";
filename=\"C:\\Documents and Settings\\Administrator\\My
Documents\\Test.txt\"\r\nContent-Type:
text/plain\r\n\r\n-----------------------------7da1a33360446\r\nContentDisposition: form-data;
name=\"action\"\r\n\r\nUpload\r\n----------------------------7da1a33360446",
LAST);
In the generated script the ending boundary delimiter is
now "-----------------------------7da1a33360446" and "--" is now missing. Replaying this
script may result in an error, such as "HTTP 500 - Internal Server Error", depending on the application
server being used.
Cause
An issue in the code generation functionality in VuGen results in the string "--" not being
appended to the end of the boundary string.
Fix
A patch is available to address this issue in LoadRunner 9.52. This patch should not be
applied to other versions of LoadRunner.
The patch is provided in the zip file qfe.zip. Unzip this file and run the resulting file "qfe.exe"
to apply the patch.
Once the patch is applied, the installed patches list for LoadRunner will contain the patch
"CodeGeneration patch for HP LoadRunner 9.50 QFE".
e:
.xap files, snapshot parameter in Silver Light Protocol
Document ID :
KM1358194
Product - Version:
loadrunner 11.00 ;
OS :
Windows
Updated :
2012-Apr-05
Summary :
.xap files, snapshot parameter in Silver Light Protocol
1. If a new SilverLight version is used in development, does it affect any of the existing calls
to .XAP or SilverLight_Service_Call statements?
2. What is the importance of Snapshot parameter within SilverLight request? Do we need to
update this every time it changes?
Solution
1.The .xap file contains an application manifest (AppManifest.xaml) file and all the necessary
DLL's that are required by the application.
The first DLL contained is the compiled version of the application and has the same name of
the application.
If the changes are cosmetics (UI elements etc...) then the changes in the .XAP file should not
matter.
If there are changes made to web service, then it does affect the .xap files.
2. No need, it gets recorded during recording of the script and there are no RunTimeSetting
change for this option.
Title :
An incorrect ending boundary delimiter is generated within a web_custom_request with
multipart/form-data when recording a Silverlight application
Document ID :
KM840448
Product - Version:
loadrunner 9.50 ;
OS :
Updated :
2010-Feb-18
Summary :
The ending boundary delimiter indicates the end of multipart/form-data in a
web_custom_request(). A patch is available to address an issue in the generation of the
delimiter string within a recorded script.
Problem
When recording a Silverlight application with the "Use web_custom_request only" option
specified, requests of this type that contain multipart/form-data are incorrectly generated
within the resulting script. The requests that are generated do not have correct ending
"boundary" delimiter as specified in RFC1512. This RFC requires that the ending delimiter
has two dashes at the end of the boundary string, that is, "--" must be appended to the end
of the boundary string to form a valid ending boundary delimiter. In some cases (but not all)
the application server will reject a request where the ending delimiter omits the string "--".
For example VuGen, during recording, may capture a request similar to the following:
Argument# 8 IN : [body_buffer] = ->Array[0:344]
{ "-----------------------------7da1a33360446\r\n"
"Content-Disposition: form-data; name=""file"";
filename=""C:\\Documents and Settings\\Administrator\\My
Documents\\Test.txt""\r\n"
"Content-Type: text/plain\r\n"
"\r\n"
"Test\r\n"
"-----------------------------7da1a33360446\r\n"
"Content-Disposition: form-data; name=""action""\r\n"
"\r\n"
"Upload\r\n"
"-----------------------------7da1a33360446--\r\n"
"" }
An issue in the code generation functionality in VuGen results in the string "--" not being
appended to the end of the boundary string.
Fix
A patch is available to address this issue in LoadRunner 9.52. This patch should not be
applied to other versions of LoadRunner.
The patch is provided in the zip file qfe.zip. Unzip this file and run the resulting file "qfe.exe"
to apply the patch.
Once the patch is applied, the installed patches list for LoadRunner will contain the patch
"CodeGeneration patch for HP LoadRunner 9.50 QFE".
Title :
web_reg_save_param_xpath not able to find value for the xpath
Document ID :
KM1330240
Product - Version:
loadrunner 11.00 ;
OS :
Updated :
2013-May-16
Summary :
In Silverlight protocol web_reg_save_param_xpath not able to find value for the xpath
Problem
This issue related to the redefinition of namespace "b:", it's first defined as
"http://schemas.microsoft.com/2003/10/Serialization/Arrays" then defined as
"http://schemas.datacontract.org/2004/07/Aptify.Entities"
Fix
1.
Do not use the namespace in query string in case node name itself won't make
ambiguous.
For example:
"QueryString=/HP_EXTENSION[1]/GetPTSpecifications_EntityByIdResponse[1]/GetPT
Specifications_EntityByIdResult[1]/RootResults[1]/PTSpecifications_Entity[1]/Secti
onID[1]"
2.
Try to avoid redefinition of a namespace name in server end XML.
Title :
web_reg_save_param_xpath not able to find value for the xpath
Document ID :
KM1330240
Product - Version:
loadrunner 11.00 ;
OS :
Updated :
2013-May-16
Summary :
In Silverlight protocol web_reg_save_param_xpath not able to find value for the xpath
Problem
For example:
web_reg_save_param_xpath( "ParamName=outParam",
"QueryString=/HP_EXTENSION[1]/GetPTSpecifications_EntityByIdResponse[1]/GetPTSpecific
ations_EntityByIdResult[1]/a:RootResults[1]/b:PTSpecifications_Entity[1]/b:SectionID[1]",
............. LAST );
Following error is observed in replay log:
Error -35060: No matches were found for the specified query:
"/HP_EXTENSION[1]/GetPTSpecifications_EntityByIdResponse[1]/GetPTSpecifications_EntityB
yIdResult[1]/a:RootResults[1]/b:PTSpecifications_Entity[1]/b:SectionID[1]"
The Xpath seems to be correct as seen from the tree view.
Cause
This issue related to the redefinition of namespace "b:", it's first defined as
"http://schemas.microsoft.com/2003/10/Serialization/Arrays" then defined as
"http://schemas.datacontract.org/2004/07/Aptify.Entities"
Fix
1.
Do not use the namespace in query string in case node name itself won't make
ambiguous.
For example:
"QueryString=/HP_EXTENSION[1]/GetPTSpecifications_EntityByIdResponse[1]/GetPT
Specifications_EntityByIdResult[1]/RootResults[1]/PTSpecifications_Entity[1]/Secti
onID[1]"
2.
Try to avoid redefinition of a namespace name in server end XML.