Web server vs application server

Web server vs application server

Web server

 A Web server can process HTTP requests and respond with HTML pages, provided the requests are handled by server side programs

It uses HTTP protocol to transmit the request/responses. Here Web server handled both request/response and business logic. This is more rigid design.

A web transaction using web server will be like this as below,

Browser (click operation to display some results on a grid> ==> Request goes to web server (Apache HTTP server) ==> Database

Application server

An Application server controls the business logic. Separating business logic from web server and adding to application server will give more reusability for this logic across different applications. This is more flexible design.

A web transaction using app server will be like this as below,

Browser (click operation to display some results on a grid> ==> Request goes to web server (Apache HTTP server) ==> Application server (Tomcat server) ==> Database

Or

Browser (click operation to display some results on a grid> ==> Request goes to web server (Apache HTTP server) ==> Application server (Tomcat server) ==> Web service ==> Third party Database

 

Please click on below linking for getting quick summary 

Web server vs application server vs database server

Load Balancing

Cucumber BDD – scenario table

Jenkins resetting password

 

What is Web server?

What is Web server?

Web server

 A Web server can process HTTP requests and respond with HTML pages, provided the requests are handled by server side programs

It uses HTTP protocol to transmit the request/responses. Here Web server handled both request/response and business logic. This is more rigid design.

A web transaction using web server will be like this as below,

Browser (click operation to display some results on a grid> ==> Request goes to web server (Apache HTTP server) ==> Database

Selenium features – what are the main features of selenium.

Selenium features – what are the main features of selenium.

Selenium supports Cross Browser Testing and parallel testing. The Selenium tests can be run on multiple browsers and multiple machines and multiple Operating systems. Selenium offers open source tools and supports test automation for web applications

Supports several scripting languages like Java, Python, C#, and PHP

Reporting are very easy and extensible.

Selenium uses Browser native commands. It locates and actions applied on UI elements

TestNG quick summary:

 TestNG’s is Selenium + reporting features. It is easy to generate reports using Listeners and Reporters in TestNG

 Features of TestNG includes the following,

1)      Annotations – please refer my annotation blogAnnotation – TestNG’s test case priority

2)      Supports parameterization/ data driven testing

3)      Test cases can be grouped and parallel testing is allowed.

Automaton testing using Cucumber – Behavior driven development (BDD)

Application behavior is the main focus on BDD. The requirements are written in English which gives more readability and understandability of the requirement.

So any roles in the company (Tester, developer, end user, and techno functional person) can read it and understand it. Also this will reduce the complication in terms of missing requirement or misrepresenting or misunderstanding requirements between different roles (Developer /tester / end user)

Gherkin is a business readable language – refer below for an example. Below feature file is integrated with Selenium and are having user stories as below,

Please refer below – “feature, Scenario, Given, When, And, Then “are the Keywords below to understand on how to write a feature file.

What is TestRunner in Cucumber

In order to link Cucumber with Selenium WebDriver, you need to start a Java project in eclipse IDE.

Then, add both Cucumber and Selenium jar files

Write test runner code and execute the same . Please refer BDD testing details on Selenium Cucumber

Performance test analysis.

Performance test analysis can be done real time script execution or post execution

 Real time script execution analysis

1)      Performance Engineer needs a coordination  with other teams like Database team, app server team, etc  to monitor real time performance on Database server, Application server

2)      Database and app server team can let Performance Engineer know the performance results on these servers like resource utilization, fail over server works / load balancing works fine etc.

Post script execution analysis

1)      Verification on Vuser metrics, Vuser errors, can be validated.

2)      Verification Transactions graphs for TPS, response time, hits per second can be reviewed.

For additional details please click on click link load testing vs performance testing vs stress testing

Performance testing best practices and activities.

Selenium IDE

Selenium IDE. How it is implemented?

Selenium IDE is an integrated development environment for Selenium tests.

It is a plugin or extension to Firefox browser. It’s very easy to add and implement. It  is for basic level of application test users.

Commands used in Selenium is called selenese

What is an Application server

What is an Application server

 An Application server controls the business logic. Separating business logic from web server and adding to application server will give more reusability for this logic across different applications. This is more flexible design.

A web transaction using app server will be like this as below,

Browser (click operation to display some results on a grid> ==> Request goes to web server (Apache HTTP server) ==> Application server (Tomcat server) ==> Database

Or

Browser (click operation to display some results on a grid> ==> Request goes to web server (Apache HTTP server) ==> Application server (Tomcat server) ==> Web service ==> Third party Database

Note: Web server related topic – please click on  What is Web server?

How to Enable/Disable Developer mode in Android phones

How to Enable/Disable Developer mode in Android phones

1.Go to Android device’s “Settings”,
2.Then go to “General” settings- please verify some phones may vary with flow, I am referring LG G2 phone’s navigation flow.
3.Scroll down to see “About Phone”
4.In About phone, single tap on “Software info” you would see “Build number”
5.Then, tap on 7 times on “Build number”to enable Developer mode or options.

Note: if the phone is already in Developer mode, then you can directly navigate to
Settings ==> About Phone ==> Developer options ==> enable/disable check box of USB Debugging.

Performance test analysis.

Performance test analysis.

What is Performance test analysis?

Performance test analysis can be done real time script execution or post execution

 Real time script execution analysis

1)      Performance Engineer needs a coordination  with other teams like Database team, app server team, etc  to monitor real time performance on Database server, Application server

2)      Database and app server team can let Performance Engineer know the performance results on these servers like resource utilization, fail over server works / load balancing works fine etc.

Post script execution analysis

1)      Verification on Vuser metrics, Vuser errors,

2)      Verification Transactions graphs for TPS, response time, hits per second etc.

For additional details please click on click link https://shalimatech.com/load-testing-vs-performance-testing-vs-stress-testing/