NeoLoad Interview Questions and Answers

//
Here are some of the interview questions and answers on NeoLoad:

What is NeoLoad?

NeoLoad is a performance testing tool designed to test different types of web, standalone and mobile applications.

What is the difference between Loadrunner, JMeter and NeoLoad?


What are the different counters you monitor in NeoLoad?

Average Response Time(requests), average response time(pages), average requests/s, average throughput, current response time(requests), current response time(pages), current requests, current throughput, current users count, controller cpu load, controller memory load etc.

What are the different type of tools you can integrate with NeoLoad?

App Dynamics, CA APM Integration, Dyna trace integration, HP ALM or Quality Center Integration, Java and Jamo Solutions M-eux Test Integration, Jenkins Integration, perfecto mobile integration, selenium integration.

What are the different type of Operating systems you can monitor?

Linux Monitor, Solaris Monitor, AIX Monitor, HP-UX Monitor, Microsoft Monitors, Microsoft Windows Monitor, VMWare Monitor.

What are the different web protocols NeoLoad supports?

It supports http, https, flex, Silverlight, GWT, RTMP, SOAP, Java Serialization, JMS, Oracle Forms, SPDY, and Oracle Siebel.

How do you add validation in NeoLoad?

You can validate using HTTP response codes, for example, if the response code is 200, then the script is pass else fail. You can customize the code according to your requirement.

Does NeoLoad support SSL?

Yes, NeoLoad supports Secure Sockets Layer. You can record and playback both http and https requests.

Does NeoLoad support ActiveX components?

Yes, NeoLoad supports ActiveX components.

Does NeoLoad works on Cloud platform?

Yes, NeoLoad works on cloud platform, and you can run load generators from the cloud.

What are the different monitors available in NeoLoad?

NeoLoad has monitors for most of the popular web servers, application, database, operating systems. Some of them are Apache, Microsoft IIS, Microsoft .net, WebLogic, WebSphere, ORACLE DBA, SQL etc.

Does NeoLoad supports DB2?

Yes, NeoLoad supports DB2, and it uses JDBC protocol to monitor databases.

What is the structure of Virtual Script in the NeoLoad?

It is same as Loadrunner, it has three parts mainly, Init Container, Actions Container, End Container.

What are the different options we have in Runtime settings?


We have mainly Error Handling, Think Time, Tasks, SLA, and Global Validations.

Some of the Important Links On NeoLoad:
Read More

JMeter Interview Questions and Answers

//
What is JMeter?

Apache JMeter is an open source load testing application which is purely developed in Java. Apache JMeter is mainly used to test the performance and stability of an application.

What are the different type of applications you can test with JMeter?

You can test mainly web applications, it all supports to test PHP, Java, ASP.NET, web services, databases, mail servers, network etc.

What are the protocol JMeter supports?

IT support more than 10 protocols, here are some of the protocols that JMeter supports.
Web Protocol: To test the web applications, it supports both HTTP and HTTPS protocols.
Web Services: To test web services applications, it supports both SOAP and REST.
FTP: File Transfer Protocol, it is used to test the FTP servers and applications.
Database via JDBC: It is used to test the database applications.
LDAP: Lightweight Directory Access Protocol
Message-oriented middleware (MOM) via JMS
Mail – It is used to test mail servers such as SMTP(S), POP3(S) and IMAP(S)
MongoDB (NoSQL): it is recently supported protocol by JMeter.
Native commands or shell scripts
TCP

Why do you choose JMeter as your performance testing tool?

JMeter is an open source tool and is widely used tool in the market and it has the large online community support and is developed in pure Java and you can test more than 10 protocols.

What is the difference between JMeter and Loadrunner?

JMeter
Loadrunner
JMeter is an open source tool.
Loadrunner is one of the costliest tools in the market.
JMeter is primarily focusing on web and Java protocols.
Loadrunner supports more than 50 protocols.
JMeter has good online community support.
Loadrunner has technical support, but they hardly resolve your issue.
JMeter is a standalone application and there is no centralized process.
You can operate Loadrunner from a centralized process such as performance center.

What is a Listener? What are the different type of listeners?

Listener is a graph or an image that shows the results of different samplers. You have more than 50 listeners through standard JMeter and JMeter plugins.

List of listeners are: Aggregate graph, Aggregate report, Assertion Results, Backend Listener, Bean Shell Listener, BSF Listener, Comparison Assertion Visualizer, Distribution Graph (alpha), Generate summary results, Graph Results, JSR223 Listener, Mailer Visualizer, Monitor Results, Response Time Graph, Save responses to a file, Simple data writer, Spline Visualizer, Summary Report, View Results in Table, View Results Tree.

What are timers and what are the different timers available?

Timers is waiting time between requests, these timers are used to simulate real user behavior during each request, this helps to simulate real time production load on the server.
There are different timers available in JMeter: Bean Shell Timer, BSF Timer, Constant Throughput Timer, Constant Timer, Gaussian Random Timer, JSR223 Timer, Poisson Random Timer, Synchronizing Timer, and Uniform Random Timer.

What is assertion and what are the different type of assertions available in JMeter?

Assertions are used to define the check points in different parts of the script, there are different type of assertions available Bean Shell Assertion, BSF Assertion, Compare Assertion, Duration Assertion, HTML Assertion, JSR223 Assertion, MD5Hex Assertion, Response Assertion, Size Assertion, SMIME Assertion, XML Assertion.





Read More

Selenium Interview Questions and Answers

//

What is Selenium? What is the difference between Selenium WebDriver and Selenium IDE?

Selenium is an automation tool which is used to test different applications mainly web applications, browsers and platforms. Selenium is a set of tools:
Selenium Integrated Development Environment: It’s a record and playback tool designed to record the user actions and playback the user actions that are performed.
Selenium Remote Control: It is used to write automated web applications UI in any programming languages such as Java.
Selenium WebDriver: It is introduced in Selenium 2.0, the robust technology that was used in Selenium webdriver uses browser native commands.
Selenium Grid: It is also introduced with Selenium 2.0, it is mainly used to distribute the test in different systems and manage from a single point.

What are the browsers and environments selenium supports?

Selenium Supporting Browsers:  Firefox 27, 26, 24, 17; Internet explorer 6, 7, 8, 9, 10, 11; Safari Driver 5.1x, Opera Driver 12.x and chrome driver.
Selenium Supporting Environments: Windows xp, 7, 8, 8.1 and Windows 10 and Linux.

What are the programming languages Selenium supports?

Selenium supports C#, Java, JavaScript, Objective C, Perl, PHP, Python, Ruby.

How much you rate yourself on Selenium out of 10?

Well, don’t overrate yourself for this question, give the answer what you feel and don’t give too less as well.

Why did you choose Selenium as your tool for automation?

These days most of the company’s preferring Selenium as their functional testing tool as it is an open source software and is widely used and you can do different types of automation testing and it has large online community support and you can develop our scripts with different programming languages such as C#, Java, Ruby, Python etc.

What are the differences between Selenium and UFT or QTP?

Selenium
UFT
Selenium is an open source tool
UFT is a commercial automation tool by HP.
You can test only web applications
You can test different applications and web browsers.
You can develop the scripts only on VB script
You can develop the scripts with Java, Perl, Ruby, PHP etc.
Selenium has good online community support
UFT has technical support by HP

What are the different types of testing you can do with Selenium?

By using selenium you can do functional testing, smoke testing, regression testing, integration testing, Load and performance testing.

What is Selenese?

Selense is s a set of commands that were performed by a selenium tool on the web application.

What are the different type of locators or elements available in Selenium?

ID, Name, Link, CSS, XPATH, DOM and location by element id etc.

What is assertion and what are the different types of assertions available in Selenium?

You can perform different assertions on the application such as text, alert, editable, checked etc.One of the popular assertion and my favorite is assertTrue(message, condition).

What are the different web drivers available in selenium?

FirexfoxDriver, ChromeDriver, SafariDriver, OperaDriver, InternetExplorerDriver, IPhoneDriver, IphoneSimulaterDriver, RemoteWebDriver.

These are some of the frequently asked questions in selenium.

Some of the important websites on Selenium:


Read More

Ajax Click and Script Functions in Loadrunner

//
The following function emulates the real behavior of Ajax click and script applications in Loadrunner.

Function Name
Description
ajax_accordion
This functions emulates the user extending or collapsing a Menu
ajax_autocomplete
This functions emulates the auto complete based on the text that we entered.
ajax_collapsiblepanel
This function emulates the user extending or collapsing some of the fields in the application.
ajax_rating
This function emulates the user setting a rating of a rating control.
ajax_reorderlist
This function emulates that reordering of lists.
ajax_slider
This function emulates setting of value using slide control.
ajax_tabs
This function emulates the user performing on folder-style tabs in atlas applications.
Read More

SAP Click and Script Functions in Loadrunner

//
SAP click and script functions emulates the real behavior of users performing on SAP business process using Loadrunner. VuGen records all the activity that user performed on the SAP application. The following functions are generated during recording.

sap_button
Emulates a user click action on SAP application button.
sap_check_box
It emulates user action performing on SAP GUI check box.
sap_drop_down_menu
It emulates user action performing on the drop down menu
sap_edit_field
It emulates that user click on any editable field.
sap_iview
It emulates SAP Enterprise Portal application iView frame on SAP GUI.
sap_list
It emulates the use of drop-down menu on multiple SAP GUI list for HTML application.
sap_menu
It emulates the user navigation on top level menu of SAP GUI.
sap_navigation_bar
Emulates the user action on navigation bar on SAP GUI web application.
sap_ok_code
It emulates the user typing text on ok code box on SAP GUI HTML application.
sap_portal
Emulates the user performing on SAP enterprise portal desktop.
sap_radio_group
Emulates that user choosing a radio button out of multiple radio button options.
sap_tab_strip
Emulates the user switching from one tab to another in web application.
sap_table
Emulates the user use on SAP tables or grid.
sap_tree_view
Emulates the actions on SAP GUI tree view object.
Read More

HP Stomrunner Load – Agile Performance Testing Tool from Loadrunner Team

//
So you working agile these days, the application developing has become faster and faster day by day and the release periods getting closer and closer with so many involved in development. You needed to be very easy to plan, run and scale your web and mobile performance testing so that any one regardless of his expertise can easily handle the agile testing process.

HP Stomrunner Load enables agile development team to easily test and tune the applications. Stomrunner Load is very simple, and it allow to easily design load test on cloud and identify the performance issues quickly.

You can use your Loadrunner scripts with Stomrunner Load. All you need to do is upload you scripts to Stomrunner Load.

You can try HP Stomrunner Load here..

Check out this video for more on HP Stomrunner Load.



Read More

SAP extends its reseller agreement with HP to sell Loadrunner

//
HP has recently signed a reseller agreement with SAP. On this agreement, SAP will resell all the HP Software testing products such as Loadrunner, UFT etc. SAP is offering all the HP solution under Sap Fortify by HP to identify the bugs/defects/issues that occur during development.

SAP believes that a company will suffer huge losses if there are any business interruptions, security and performance issues during production and it will also affect the brand image of the company. The SAP Fortify by HP products will help to detect the issues before the application goes to production and helps to fix the issues.

Sap Fortify by HP will help in the following areas:

  • It will help to identify and fix the software defects.
  • It will help to lower the cost of development of software.
  • It will fix the performance issues before application goes to the production.
  • It will help to fix all the security issues in the application.

Read More

Web Controller in Loadrunner - A New Feature From Loadrunner 12.02

//
HP has released a new feature called the Web Controller. The name itself indicates that now you can control your load test from the browser interface and can be accessed through a browser. Now, you can run your load tests from anywhere. It is just like a small HP Performance Center.

You can see some of the screenshots of the Loadrunner Web Controller here.

Web Controller 1

Web Controller 2

Web Controller 3



What are you waiting for... Let's go ahead and install the new version of Loadrunner.

Please note that this has been added in Loadrunner 12.02 as tech preview and not a fully functional component. You can give your feedback in this link.

For more Loadrunner Tutorials

Read More

Converting Fiddler Session to VuGen Script in Loadrunner

//
In this tutorial, I will show you how to convert Fiddler session to Loadrunner Script.

Download the fiddler from the following website: http://www.telerik.com/fiddler. You can also download chrome extension of fiddler here.

Fiddler Download


Fiddler Download 2
Fiddler Download 2

Click on Install, once you download the Fiddler, as shown in the following images.

Fiddler Installation 1

Fiddler Installation 2


Fiddler Installation 3

Fiddler Installation 4

Once you install the Fiddler go to Start -> Programs and Search for Fiddler OR go to Internet explorer and click on tools and click on Fiddler.

Fiddler Launch

Once you launch the fidller, click on WinConfig and Click on exempt all and click on save changes.

WinConfig Settings

Now, open the application in the internet explorer. The events will be automatically recorded in fiddler as shown in the following image.

Recorded Events

Once the navigation has been completed, click on save sessions.

Save All Sessions

The file will be saved with .SAZ extension.

Open the vugen, click on File Open->script/solution and select all files as shown in the image. and select the .saz file. 
All Files


The vugen will automatically converts .SAZ file to Loadrunner script.

Generating Vugen Script


Generating Vugen Script 2

Generating Vugen Script 3
Read More

Loadrunner 12.02 Protocol Updates and Changes

//
HP has released the new version of Loadrunner 12.02. HP team has changed a lot of changes in Loadrunner 12.02. The following protocols are updated with more user friendly features.

Citrix ICA:

Enhanced interactive logging: It will help you to go through the logs easily and help you find the issues quickly.

Text trapping: A new feature has been added for Java application in Citrix Agent.
Letest Version: Now, you can use the latest version of XenDesktop and NetScaler Access Gateway.

Web - HTTP/HTML:

There are many Features add to Web protocol

It supports the latest of Internet explorer, Chrome and Firefox.
New traffic filtering recording option.
GWT 2.5 and 2.5.1 Support
TLS1.1 and TLS1.2 Support

RTE Protocol: Now RTE protocol supports the latest of Windows 8.1, Windows 2012 R2 and IPV6 Support.

Oracle - Web: Now Oracle Web protocol has enhanced correlation rules for Oracle Fusion and Oracle ADF.

Flex: The new Flex protocol supports the latest of Flex and GraniteDS.

Web Services: Now, Web Services protocol supports SOAP 1.2.

TruClient:

Now, TrueClient protocol has come up with the better object identification method. This helps good control over scripting when compared with the previous of Loadrunner.

HP has provided step-by-step examples on how use object identification methods in the Loadrunner documentation. This will definitely will be a great feature in this version.

Now, you have the option to import and export between the TruClient scripts. This will help scripting easy.

Read More