Skip to main content

Posts

How to analyse heap dump

                              How to analyse heap dump I have already discussed about heap dump in one of the post. Please refer the link below to read it: http://professionalcurve.blogspot.com/2014/03/heap-dump-how-to-generate-heap-dump.html Now we will see about how to analyze them. There are various tools for reading heap dump. I prefer MAT (Eclipse Memory Analyzer Tool). It is powerful and free tool which can read, parse and analyze them. Before opening heap dump in MAT, let’s focus on some basic things related to it: -          Shallow Size : T he sum of the sizes of all contained primitive data types, as well as the size of the references to other objects -          Retained Heap : The total size of all objects being kept alive by...

Heap Dump : how to generate heap dump

Heap dump is important when it’s come to performance testing. Let’s start with what is heap in an application. Heap: Heap is dynamically collective amount of data /memory in partially binary sorted tree structure. But we need to loop up on heap in term of memory. Heap is part of memory where memory for objects assigned dynamically. Heap dump : Heap Dump is snapshot of memory at certain point which contains below mentioned information: -information of java objects -information of java classes or we can define as A heap dump is a textual or binary representation of the Java heap which is usually written to a file.   Heap dump is always helpful to analyze memory leak or high usage of memory of java application. There are various tools which help us to generate the heap dump. We can also generate heap dump without using tools. What we require is JVM (Java Virtual Machine)on system. There are various vendors for JVM but let’s concentrate on Sun JVM. ...

Performance Test Plan

                                                   Performance Test Plan Today i am going to share my knowledge on performance test plan. Before executing any performance test, we should prepare a performance test plan. A good performance plan makes us prepare to look into foreseen issues and risks. Even a good performance plan can also give fair idea of goal or objective of performance test. A good performance test plan should cover at least below mentioned points: 1.       Overview -Objective -Scope -References 2.      Requirements -Hardware -Software -Automation tools -Environment: when we say environment then this section should cover details of application...

Record scripts on mobile applications in LoadRunner

Record scripts on mobile applications in LoadRunner : As LoadRunner 11 in Patch 3, Mobile App (HTTP/HTML) protocol added which can help us to record scripts of mobile apps. There are three recording options in the recording Wizard: 1.Record and Analyze Traffic - Use mobile sniffer agent to capture traffic and then analyze. This allows Vugen to connect to the mobile agent on the server or localhost and carry out the business process for recording. 2. Analyze Traffic - Analyze traffic using existing capture file to generate script. This allows Vugen to scan a pre-captured network traffic (WinPcap) file and generate the code based on the traffic. 3. Record Emulator - Record script using a mobile device emulator. This allows Vugen to record an emulator installed on the Vugen machine. With this option, you need to verify that you are able to bring up the emulator and navigate to a URL outside of Vugen to make sure the emulator settings are correct. 

Mobile Web(Http/HTML) Protocol IN Loadrunner

Today i will share my learning on performance testing performed on mobile application. We can use Load runner tool for mobile based applications. HP LoadRunner 11.50 has two new protocols for helping to record mobile applications: ·          Mobile Application – HTTP/HTML : recording scripts at the transport level for both browser-based mobile applications and native mobile applications, that communicate with their servers over HTTP ·          Mobile TruClient: recording scripts for browser-based mobile applications through the browser-based user interface.  This protocol is based on Ajax TruClient, using a browser modified to emulate the mobile browser. These protocols are independent of mobile operating systems, so will work on different versions of iOS, Android, Windows Mobile, WebOs (Palm), Blackberry, etc. Let’s see the picture behind the scene: We can run the p...