Skip to main content

Posts

Showing posts from 2013

Logs Generated by Load runner

While creating and debugging the script which generated in LoadRunner always create various types of logs which appear in Virtual user generator screen. These logs are very useful when it’s come to debugging your script. There are four types of log available in LoadRunner: Recording Log Generation Log Replay Log Co-relations Results è Recording Log : This log is generated when user records any script. This log mainly contains client server communication information which is nearly non-readable format. This is not very useful for us since we cannot map many things of this log with our script. This log contains all protocol communication information which used by application on which we are recording. This Log is useful when we re-generate the script using “Regenerate Script” option of Vugen. Recording log is traces created during the recording Vugen User cannot re-generate script if this log is not available. è Generation Log: The time user stop recording...

Fatal Error -26000 in Loadrunner

If you encounter the following error when trying to replay a script created with previous versions of VuGen: Fatal Error -26000: This script was generated with an outdated DFE engine, regenerate the script in order to successfully replay the DFE steps. Warning: Extension lrwreplaymain.dll reports error -1 on call to function ExtPerProcessInitialize Error: Thread Context: Call to service of the driver failed, reason – thread context wasn’t initialized on this thread. There are 2 possible workarounds for this issue which can help you to resolve it. First Workaround: 1. Navigate to the script folder 2. Delete DfeConfig folder 3. Replay script Second Workaround: 1. Navigate to the script folder 2. Delete the folder named “DfeConfig” 3. Regenerate the script in VuGen.

Performance Testing

                                 As I have shared before about testing experience here. Today I am pen downing my experience regarding performance testing. Here I am not going explain about advantage or anything about automation over manual. I start with basic knowledge of performance which I have grabbed till now in my words. Please feel to free to express about any point. Performance testing : A type of testing which has different outlook for an application. I believe that performance testing is not performed for finding bugs or defects in application. Performance testing is a type of testing which determine performance of application in terms of its component for particular condition or time or stage. There are various industry based benchmarks which need to be follow by each of application. Performance testing helps us to esta...

How to keep Remote desktop active for Long Duration

While doing testing/monitoring the server, it is common now days to use access server machine using remote desktop (one of best feature I must say). Even while doing manual testing using remote desktop is common these days. Now some time your remote desktop session get expire soon and monitoring get interrupt for tester. Before, I share that how we can increase session time of remote desktop service. Let me share a basic idea of remote desktop. Remote desktop service is technique of feature which enables any system user to access other machine of network using proper authentication without reaching out to the system physically. Many of you of course already know it. Remote desktop is also known as “Terminal Services”. Terminal service is windows component which can be installed using “Turn on or off windows components” from control panel. Using “mstsc”  cmd command you can open RD (remote desktop) and enter computer information with authentication informati...

Resolve Citrix issue in RPT: Time-out reached while waiting for event Expected image with hash code

While Replaying Citrix test in IBM RPT Tool  if you are encountering below mentioned issue: Time-out reached while waiting for event Expected image with hash code 548e82a11419a0bfd1c74d8819ff8cd4 The expected hash code was never found. This issue can be resolved by two easy steps: 1.        Add delay in window event step 2.       Insert “Image Synchronization” for image/event on which next step of test  depends i.e. You need to click on “Ok” button to go further in test so I will suggest add image synchronization at “OK” button These will resolve timeout error. Let me share a bit idea about properties of image synchronization are present in RPT which can help when you are using it in your Citrix test Bitmap hash code : If you want the synchronization to happen when the selected area matches exactly the recorded image. But in this case, a single pixel of difference may give ti...

Resolve Citrix Error : Error 2320

Today era, application is published using Citrix. It is now common practice to make available all application using web interface. Some time while accessing your application which published using Citrix gives an error known as “Error 2320” Steps to resolve the issue : 1.        Open Registry using “regedit” command on Run window. 2.       Make a practice to have backup of registry whenever you are going to modify the registry values since your action can corrupt the windows. 3.       If your OS in 32 bit then i)                    Go to the HK Local Machine registry key ii)                  Access this path “ HKLM\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Control ” i...

How to record script in Loadrunner VUGen using Firefox

As we see LoadRunner gives choice to record script for two type of applications: 1.        Internet Application (Using IE browser) 2.       Win 32 Application So, what if you want to record script using Firefox. There is way to do it LoadRunner Steps to create VUGen script using Firefox: 1.        Click on New 2.       Select suitable protocol 3.       Choose “Win 32 Application” in window 4.       Give the path Firefox IN “Program to record” field 5.       Give application URL in “URL Address” 6.       Click on “Ok” Your application will launch using Firefox and ready to record. Happy Exploring!!!!

CITRIX Error in Load runner: Failed to get window size, wrong format.

Citrix based Applications are now days very popular. We can perform load testing on Citrix based application using load runner tool also. Quick tips for Citrix applications: 1. You can use "HTTP" and "Citirix" protocol together in load runner. 2. Try to keep windows in full screen mode. Some time while replaying the recorded script can give some error too. one of the error i have encountered was: Error: Failed to get window size, wrong format. Unable to detect client version. Warning: Extension CitrixClientImpl.dll reports error -1 on call to function ExtPerThreadInitialize Error: Vuser failed to initialize extension CitrixClientImpl.dll Resolve the issue: 1. Save the script after recording. 2. Go to Script directory and look for "default.cfg” file 3. Open the file into edit mode 4. Add below mentioned code in file and save it [CITRIX] DesktopColors=32 Colors=True Color (24 bit) Enctyption=128 Bit Window=1024 x 768 ...