opsitdev

8
3jk4jkfrjbjb4q3kjb4hj 4q3 m,. m4.,m.4m.4tm.,m4,t.5m 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 : KM0120567743qersfr Product - Version: loadrunner ; OS : Updated : 2014-Oct-13 Summary : How to put a text check on the Silverlight content? How to put a text check on the Silverlight content? Solution 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.

Upload: tryfor19642

Post on 11-Dec-2015

221 views

Category:

Documents


7 download

DESCRIPTION

rbjrjbjhrhrhr

TRANSCRIPT

Page 1: OPSITDev

3jk4jkfrjbjb4q3kjb4hj 4q3 m,. m4.,m.4m.4tm.,m4,t.5m

OS :Updated :2011-Oct-19Summary :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 :KM0120567743qersfrProduct - Version:loadrunner ;OS :Updated :2014-Oct-13Summary :How to put a text check on the Silverlight content?How to put a text check on the Silverlight content?Solution

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 :KM01156291Product - Version:loadrunner 11.52 ;OS :Windows

Page 2: OPSITDev

Updated :2014-Sep-09Summary :Silverlight protocol, recording data, response snapshot corrupted or shows empty snapshot.Problem

Silverlight protocol, recording data, response snapshot corrupted or shows empty snapshot.Cause

It was found as a defect Fix

Please follow the below steps to resolve the problem.

1. Close all LoadRunner applications2. Go to LoadRunner\bin directory3. Backup the SilverlightAPIWrapperFilter.dll 4. Replace the attached SilverlightAPIWrapperFilter.dll5. Open VuGen and record a new script or regenerate any old script

itle :How to record Silverlight applications that use net.tcpDocument ID :KM1339698Product - Version:performance center ; loadrunner ;OS :Updated :2012-Jun-01Summary :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 script3. You will get "silverlight_service_call" functions created in the script4. Edit the file  "<script folder>\WSDL\@config\<service name>.stss" and replace the <LrHttpEngineTransport /> (or <httpTransport/>) with <tcpTransport />5. On the application, revert the specific service back to use net.tcp.6. Replay the script and verify it works.

Title :

Page 3: OPSITDev

An incorrect ending boundary delimiter is generated within a web_custom_request with multipart/form-data when recording a Silverlight applicationDocument ID :KM840448Product - Version:loadrunner 9.50 ;OS :Updated :2010-Feb-18Summary :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\nContent-Disposition: form-data; name=\"file\";   filename=\"C:\\Documents and Settings\\Administrator\\My Documents\\

Page 4: OPSITDev

Test.txt\"\r\nContent-Type:   text/plain\r\n\r\n-----------------------------7da1a33360446\r\nContent-Disposition: 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 ProtocolDocument ID :KM1358194Product - Version:loadrunner 11.00 ;OS :WindowsUpdated :2012-Apr-05Summary :.xap files, snapshot parameter in Silver Light Protocol1. 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.

Page 5: OPSITDev

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 applicationDocument ID :KM840448Product - Version:loadrunner 9.50 ;OS :Updated :2010-Feb-18Summary :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", 

Page 6: OPSITDev

        "Referer=http://www.openjs.com/articles/ajax/ajax_file_upload/",         "Snapshot=t21.inf",         "Mode=HTTP",         "EncType=multipart/form-data; boundary=---------------------------7da1a33360446",         "Body=-----------------------------7da1a33360446\r\nContent-Disposition: 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\nContent-Disposition: 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".

 

Title :web_reg_save_param_xpath not able to find value for the xpathDocument ID :KM1330240

Product he tricky batting position of five and six, he says, "I've been trying to build my space in this

batting order. I've been playing for Punjab at No. 6 or 5. You can say that I'm used to it. I need to bat at

these situations when you have pressure on your side. I think I do well in these situations."

Gurkeerat's admission that he revels under pressure should come as no surprise. Playing with the A side

for short periods of time and striving to catch the attention of the selectors is no easy task. Yet,

surprisingly, the youngster refuses to even acknowledge the presence of any such pressure on a team

brimming with talent and waiting to make the international cut.

"I don't think so," he says when asked if there's added burden of maintaining a good run-of-form.

Page 7: OPSITDev

Alongwith a genuine fast bowler, finding a consistent and effective all-rounder for the long run has been a

grey area for the national side. Combine that with the fact that the selectors are taking the A games

seriously, then there is bound to be pressure on someone like Gurkeerat, who has excelled in both

disciplines of the game. He, however, plays it down. "I am not thinking about the future. I just want to play

every game and perform my best. I approach every game like it is my last," he reveals. Gurkeerat goes

on to explain what was truly playing on his mind ahead of the series and why there is relief at the end of a

hard day's work. "I'm just batting well and I want to continue batting well. I got injured before this match

where my webbing got torn. I was a bit worried about how I will bat, but everything went well," he says,

with a hint of relief.

Like most youngsters in the side, Gurkeerat is gladdened by the presence of Rahul Dravid in the A camp,

who he says, was kind enough to offer him some batting tips. "I've been learning a lot from him. I just

wanted to know what shots to play in what situations. He