Monday, December 23, 2013

HP LoadRunner Mobile Recorder - ( Android App)



Hi,

Mobile applications are quickly becoming the de-facto market platform for many of the business-critical applications deployed by banks, insurance companies and other enterprise organizations, the need to ensure an optimal end user experience mandates a robust mobile performance testing environment.

When millions of people hit your mobile app at once, it needs to perform like a rock star. So how can we ensure that our 'Mobile App' performing well?

HP LoadRunner Mobile Recorder is an Android application that enables you to record all of the network traffic of your native, browser-based or hybrid mobile web applications to a capture file. The file is then used to generate a LoadRunner script. Recorded script can be used to test Mobile App performance.


Install LoadRunner Mobile App for Android.

Here is a short tutorial how to use Mobile Recorder.

Check out the Article, 'Who’s up for mobile performance testing?

LoadRunner Utility Functions ( C language)


LoadRunner Utility Functions ( C - language)


Command line parsing functions:

 lr_get_attrib_double
lr_get_attrib_long
lr_get_attrib_string

Informational functions:

lr_end_timer
lr_get_host_name
lr_get_master_host_name
lr_get_vuser_ip
lr_start_timer
lr_user_data_point
lr_user_data_point_ex
lr_user_data_point_instance
lr_user_data_point_instance_ex

lr_whoami

Message Functions 

lr_debug_message
lr_error_message
lr_get_debug_message
lr_log_message
lr_message
lr_output_message
lr_set_debug_message

lr_vuser_status_message

Run-Time Functions

lr_abort
lr_continue_on_error
lr_disable_ip_spoofing
lr_enable_ip_spoofing
lr_exit
lr_load_dll
lr_param_increment
lr_peek_events
lr_rendezvous
lr_rendezvous_ex
lr_think_time

String and Parameter Functions 

lr_advance_param 
lr_checkpoint
lr_convert_string_encoding 
lr_decrypt 
lr_eval_string
lr_eval_string_ext 
lr_eval_string_ext_free 
lr_free_parameter
lr_next_row
lr_param_increment
lr_param_sprintf
lr_param_unique
lr_paramarr_idx
lr_paramarr_len
lr_paramarr_random
lr_save_datetime
lr_save_int
lr_save_searched_string
lr_save_string
lr_save_var

Transaction Functions

lr_end_sub_transaction
lr_end_transaction
lr_end_transaction_instance
lr_fail_trans_with_error
lr_get_trans_instance_duration
lr_get_trans_instance_status
lr_get_trans_instance_think_time
lr_get_trans_instance_wasted_time
lr_get_transaction_duration
lr_get_transaction_status
lr_get_transaction_think_time
lr_get_transaction_wasted_time
lr_resume_transaction
lr_resume_transaction_instance
lr_set_transaction
lr_set_transaction_instance_status
lr_set_transaction_status
lr_set_transaction_status_by_name
lr_start_sub_transaction
lr_start_transaction
lr_start_transaction_instance
lr_stop_transaction
lr_stop_transaction_instance
lr_wasted_time

Database Functions 

lr_db_connect
lr_db_disconnect
lr_db_executeSQLStatement
lr_db_dataset_action
lr_db_getValue
lr_db_dataset_action



Monday, December 9, 2013

Thursday, October 31, 2013


Automating Hadoop Stack Deployment & Testing:

Check the below video how to Automating Hadoop Testing & Why 





Thanks,

Uma Mahesh A

Tuesday, October 22, 2013

Apache JMeter - Version 2.10 Released.........






Download -Version 2.10




Core Improvements

New Performance improvements.
New CSS/JQuery Tester in View Tree Results.

Many improvements in HTTP(S) Recording have been made.

You can now load test MongoDB through new MongoDB Source Config.

Kerberos authentication has been added to Auth Manager.

Device can now be used in addition to source IP address.

Timeout has been added to OS Process Sampler.

Query timeout has been added to JDBC Request.

New functions (__urlencode and __urldecode) are now available to encode/decode URL encoded chars.

Continuous Integration is now eased by addition of a new flag that forces NON-GUI JVM to exit after test end.

HttpSampler now allows DELETE Http Method to have a body (works for HC4 and HC31 implementations). This allows for example to test Elastic Search APIs.

2 implementations of HtmlParser have been added to improve Embedded resources parsing.
Distributed testing has been improved.

ModuleController has been improved to better handle changes to referenced controllers.

Best-practices section has been improved, ensure you read it to get the most out of JMeter.


GUI Improvements


New Templates feature that allows you to create test plan from existing template or merge template into your Test Plan.

Workbench can now be saved.

Syntax color has been added to scripts elements (BeanShell, BSF, and JSR223), MongoDB and JDBC elements making code much more readable and allowing UNDO/REDO through CTRL+Z/CTRL+Y.

Better editors are now available for Test Elements with large text content, like HTTP Sampler, and JMS related Test Element providing line numbering and allowing UNDO/REDO through CTRL+Z/CTRL+Y.
JMeter GUI can now be fully Internationalized, all remaining issues have been fixed.
Response Time Graph Y axis can now be scaled.

JUnit Sampler gives now more details on configuration errors.


Go to Changes for more info.


Monday, July 15, 2013

Important Performance Testing Counters...


VIRTUAL USERS

Running VUser – No of VUsers currently accessing a system and their state.

TRANSACTIONS

· Average Transaction Response Time - Gives details of the response time of each executed transaction.
· Passed/Failed Transactions - Indicator of how many transactions passed and failed during the performance test.

WEB RESOURCES

Web resource metrics provide the web server parameters information captured during the performance test.

· Hits per Second - Information of number of HTTP requests sent to the web server during specific time period of the performance test.
· Throughput - Information on server response during specific time period of the performance test.
· HTTP Responses per Seconds - Information of all the HTTP status codes generated per second during the performance test execution.
· Errors per Second - The number different types of errors generated per second.
· Pages Downloaded per Second - Web pages downloaded in every second of the test from the web server.
· Connections per Second - Information on number of new TCP/IP connections opened and shut down during each second of the performance test.

SYSTEM RESOURCES

Monitoring of all the machines (Servers and load injectors) and their operating system resources which
are being used in performance testing of the application are listed below.

· CPU Usage - Information on machine CPU utilization.
· Memory Usage - Information on amount of free disk space, virtual memory pages moved between main memory and disk storage and percent memory used during the scenario execution.
· Disk Space Usage - Information on percent disk space used.
· Service Monitors - Information on running processes on the machine and the amount of system resources they are using.

WEB SERVERS

List of performance metrics monitored during performance test varies with the type of web server;
Following is the list of performance counters for Microsoft IIS web server.

· Bytes Sent per Second
· Bytes Received per Second
· Get Requests per Second
· Post Requests per Second
· Maximum Connections
· Not Found (404) Error per Second
· Private Bytes
· Percent of Processor Time
· System Processor Queue Length
· Percent Disk Time
· Queue Length
· Cache Hit Percent
· Request Wait Time
· Request Queued
· Transactions per Second

APPLICATION SERVERS

Every type of application server has its performance counters based on its model.
Some of the important Web Sphere application performance counters:

· Memory Free
· Total Memory
· Memory Use
· Bean Destroys
· Active Threads
· Total Threads
· Percent Time Maxed
· Connection Wait Time
· Connection Time
· Connection Percent Used
· Active Transactions
· Transactions Suspended
· Rolled Back
· Timeouts
· Servlet Errors
· Sessions Invalidated

DATABASE SERVERS

Some of the common metrics monitored for all database servers are following,

· Database Transaction Summary - Information of volume of data sent and received by the database server.
· Database Connection Summary - Information of total number of open and close connections on database server during the test.
· Database Thread Summary - Information of number of new threads created, connected and used.
· Database Query Summary - Information of total number of queries read, wrote and deleted by the database server.

Some of the most important performance counters of Microsoft SQL Server are following,

· Transactions per Second
· Log Cache Hit Ratio
· Log Cache Reads per Second
· Log Bytes Flushed per Second
· Log Flush Wait Time
· Log Flush Waits per Second
· Log Flushes per Second
· Percent Log Used

NETWORK CONFIGURATIONS

Some of the important network metrics within a network segment which AgileLoad monitors are,

· Bytes per Second Sent to Network Interface Card
· Bytes per Second Received by NIC
· TCP Segments Sent per Second
· TCP Segments Received per Second
· TCP Segments per Second
· TCP Segments Retransmitted per Second
· TCP Connections Failures
· TCP Connections Reset
· TCP Connections Established

CLIENT SIDE OF THE APP

· Images Load Time
· JavaScript Files Load Time
· CSS Files Load Time
· HTML Resources Load Time
· DNS Lookup Time
· TCP Connection Time
· SSL Handshake Time
· Time to First Byte
· Content Download Time
· Content Caching Policy
· Availability Content Delivery Network (CDN)
· Resources Rendering Time
· Number of HTTP Requests
· HTTP Response Status
· HTTP Response Size