Articles

Loading

Testing a web application

Performance Test
Author
alp
Date
2012-10-12 23:33
Views
58149635

While testing a web application we need to consider following Cases:

• Functionality Testing
• Performance Testing
• Usability Testing
• Server Side Interface
• Client Side Compatibility
• Security

1) Functionality Testing:

Test for - all the links in web pages, database connection, forms used in the web pages for submitting or getting information from user, Cookie testing.

Check all the links:

  • Test the outgoing links from all the pages from specific domain under test.
  • Test all internal links.
  • Test links jumping on the same pages.
  • Test links used to send the email to admin or other users from web pages.
  • Test to check if there are any orphan pages.
  • Lastly in link checking, check for broken links in all above-mentioned links.

Test forms in all pages:
Forms are the integral part of any web site. Forms are used to get information from users and to keep interaction with them. So what should be checked on these forms?

  • First check all the validations on each field.
  • Check for the default values of fields.
  • Wrong inputs to the fields in the forms.
  • Options to create forms if any, form delete, view or modify the forms.

    Cookies testing:
    Cookies are small files stored on user machine. These are basically used to maintain the session mainly login sessions. Test the application by enabling or disabling the cookies in your browser options. Test if the cookies are encrypted before writing to user machine. If we are testing the session cookies (i.e. cookies expire after the sessions ends) check for login sessions and user stats after session end. Check effect on application security by deleting the cookies. 

    Validate your HTML/CSS:
    If you are optimizing your site for Search engines then HTML/CSS validation is very important. Mainly validate the site for HTML syntax errors. Check if site is crawlable to different search engines.

    Database testing:
    Data consistency is very important in web application. Check for data integrity and errors while you edit, delete, modify the forms or do any DB related functionality.
    Check if all the database queries are executing correctly, data is retrieved correctly and also updated correctly.

    2) Usability Testing:

    Test for navigation:
    Navigation means how the user surfs the web pages, different controls like buttons, boxes or how user using the links on the pages to surf different pages.
    Usability testing includes:
    Web site should be easy to use. Instructions should be provided clearly. Check if the provided instructions are correct means whether they satisfy purpose.
    Main menu should be provided on each page. It should be consistent.

    Content checking:
    Content should be logical and easy to understand. Check for spelling errors. Use of dark colors annoys users and should not be used in site theme. You can follow some standards that are used for web page and content building. These are common accepted standards like as about annoying colors, fonts, frames etc.
    Content should be meaningful. All the anchor text links should be working properly. Images should be placed properly with proper sizes.
    These are some basic standards that should be followed in web development. Your task is to validate all for UI testing

    3) Interface Testing:
    The main interfaces are:
    Web server and application server interface
    Application server and Database server interface.

    Check if all the interactions between these servers are executed properly. Errors are handled properly. If database or web server returns any error message for any query by application server then application server should catch and display these error messages appropriately to users. Check what happens if user interrupts any transaction in-between? Check what happens if connection to web server is reset in between?

    4) Compatibility Testing:
    Compatibility of your web site is very important testing aspect. See which compatibility test to be executed:

    • Browser compatibility
    • Operating system compatibility

     

    Browser compatibility:
    Some applications are very dependent on browsers. Different browsers have different configurations and settings that your web page should be compatible with. Your web site coding should be cross browser platform compatible. If you are using java scripts or AJAX calls for UI functionality, performing security checks or validations then give more stress on browser compatibility testing of your web application.
    Test web application on different browsers like Internet explorer, Firefox, Netscape navigator, AOL, Safari, Opera browsers with different versions.

    OS compatibility:
    Some functionality in your web application is may not be compatible with all operating systems. All new technologies used in web development like graphics designs, interface calls like different API’s may not be available in all Operating Systems.
    Test your web application on different operating systems like Windows, Unix, MAC, Linux, Solaris with different OS flavors.


    5) Performance testing:
    Web application should sustain to heavy load. Web performance testing should include:
    Web Load Testing
    Web Stress Testing

    Test application performance on different internet connection speed.
    In web load testing test if many users are accessing or requesting the same page. Can system sustain in peak load times? Site should handle many simultaneous user requests, large input data from users, Simultaneous connection to DB, heavy load on specific pages etc.

    Stress testing: Generally stress means stretching the system beyond its specification limits. Web stress testing is performed to break the site by giving stress and checked how system reacts to stress and how system recovers from crashes.
    Stress is generally given on input fields, login and sign up areas.

    In web performance testing web site functionality on different operating systems, different hardware platforms is checked for software, hardware memory leakage errors,

    6) Security Testing:

    Following are some test cases for web security testing:

    • Test by pasting internal url directly into browser address bar without login. Internal pages should not open.
    • If you are logged in using username and password and browsing internal pages then try changing url options directly. I.e. If you are checking some publisher site statistics with publisher site ID= 123. Try directly changing the url site ID parameter to different site ID which is not related to logged in user. Access should denied for this user to view others stats.
    • Try some invalid inputs in input fields like login username, password, input text boxes. Check the system reaction on all invalid inputs.
    • Web directories or files should not be accessible directly unless given download option.
    • Test the CAPTCHA for automates scripts logins.
    • Test if SSL is used for security measures. If used proper message should get displayed when user switch from non-secure http:// pages to secure https:// pages and vice versa.
    • All transactions, error messages, security breach attempts should get logged in log files somewhere on web server.
Total 6

  • 2012-01-22 16:51

    nice, getting an overall idea about web application testing areas...


  • 2012-03-25 23:35

    I already read the same article uploaded by some other author .... i dont know and dont need to evaluate who copied whom ....

    the stuff is excellent ... and the sharing effort is also invaluable ... so anyone who shared it ... deserves appreciation .... so nice of you for sharing such a good stuff ... keep it up ... thank you


  • 2012-06-30 18:57

    GOOD


  • 2012-07-16 01:07

    thanks


  • 2012-08-21 02:20

    nice 😉 thank you so much!


  • 2013-01-04 04:03

    ^^


Total 20,613
Number Title Author Date Votes Views
20613
SileniusStor is specialized in reselling Cheap Aquafadas software online.
Softwareces | 2022.09.15 | Votes 0 | Views 55820300
Softwareces 2022.09.15 0 55820300
20612
CSStore is specialized in reselling Cheap Steinberg software online.
Softwareces | 2022.09.04 | Votes 0 | Views 55605723
Softwareces 2022.09.04 0 55605723
20611
Software Tester Community Website
ItSeTsQtBer | 2021.04.11 | Votes 0 | Views 56111803
ItSeTsQtBer 2021.04.11 0 56111803
20610
SoapUI Certification Course Content
Steveskok | 2021.02.08 | Votes 0 | Views 56820455
Steveskok 2021.02.08 0 56820455
20609
JavaScript Course Content
Steveskok | 2021.02.08 | Votes 0 | Views 56003704
Steveskok 2021.02.08 0 56003704
20608
Why most mobile testing is not continuous?
(TestExpert) | 2021.02.04 | Votes 0 | Views 56652958
(TestExpert) 2021.02.04 0 56652958
20607
8 Common Mistakes When Planning and Documenting Your Tests
(TestExpert) | 2021.02.04 | Votes 0 | Views 58093798
(TestExpert) 2021.02.04 0 58093798
20606
Types of Performance Testing
Jamessmith | 2021.01.17 | Votes 0 | Views 57172921
Jamessmith 2021.01.17 0 57172921
20605
How to Build E2E Test Cases (1)
tanthanh | 2020.05.28 | Votes 0 | Views 57045207
tanthanh 2020.05.28 0 57045207
20604
[White Paper] Delivering better software using Test Automation
tanthanh | 2020.05.28 | Votes 0 | Views 56572815
tanthanh 2020.05.28 0 56572815
20603
[Whitepaper] How to choose the right API Testing Solution
tanthanh | 2020.05.28 | Votes 0 | Views 56501989
tanthanh 2020.05.28 0 56501989
20602
[Whitepaper] How to choose the right API Testing Solution
tanthanh | 2020.05.28 | Votes 0 | Views 56367030
tanthanh 2020.05.28 0 56367030
20601
TestOps Introduction
VTB | 2020.03.23 | Votes 0 | Views 55767477
VTB 2020.03.23 0 55767477
20600
TestOps Implementation Case Study
VTB | 2020.03.23 | Votes 0 | Views 56830793
VTB 2020.03.23 0 56830793
20599
Selenium Automation Tester Certification Sample Exam Set 3
(TestExpert) | 2020.02.03 | Votes 0 | Views 57085270
(TestExpert) 2020.02.03 0 57085270
20598
Selenium Automation Tester Certification Sample Exam Set 2
(TestExpert) | 2020.02.03 | Votes 0 | Views 56993190
(TestExpert) 2020.02.03 0 56993190
20597
Selenium Automation Tester Certification : Sample Exam Set 1
(TestExpert) | 2020.02.03 | Votes 0 | Views 56331440
(TestExpert) 2020.02.03 0 56331440
20596
What is agile testing? why is agile testing? and what is the benefits? (20)
oishichip | 2019.12.26 | Votes 0 | Views 55586461
oishichip 2019.12.26 0 55586461
20595
Crowd Testing — Vantagens para testadores, plataformas e clientes [pt-br]
soikmd2 | 2019.12.14 | Votes 0 | Views 56158043
soikmd2 2019.12.14 0 56158043
20594
Software Testing Industry Report (Turkey) 2018-2019 (2)
ItSeTsQtB | 2019.08.08 | Votes 0 | Views 56761459
ItSeTsQtB 2019.08.08 0 56761459
20593
How to bypass security in integration tests in ASP.Net Core
ItSeTsQtB | 2019.08.08 | Votes 0 | Views 57955296
ItSeTsQtB 2019.08.08 0 57955296
20592
For agile testing, fail fast with test impact analysis
ItSeTsQtB | 2019.08.08 | Votes 0 | Views 56795477
ItSeTsQtB 2019.08.08 0 56795477
20591
Career Path in Software Testing
^Software^ | 2019.07.28 | Votes 0 | Views 56892533
^Software^ 2019.07.28 0 56892533
20590
Challenges in Big Data Testing
^Software^ | 2019.07.22 | Votes 0 | Views 57104926
^Software^ 2019.07.22 0 57104926
20589
Essential Necessities In Big Data Testing
^Software^ | 2019.07.22 | Votes 0 | Views 55495970
^Software^ 2019.07.22 0 55495970
20588
5 Test Data Generation Techniques
^Software^ | 2019.07.22 | Votes 0 | Views 56831876
^Software^ 2019.07.22 0 56831876
20587
CI and CD for ETL (Extract-Transform-Load) testing.
^Software^ | 2019.07.22 | Votes 0 | Views 56522179
^Software^ 2019.07.22 0 56522179
20586
Quest for Quality Conference : 5-6 Nov 2019 at Dublin, Ireland
VTB | 2019.07.08 | Votes 0 | Views 56382407
VTB 2019.07.08 0 56382407
20585
TestBash Essentials Conference 2019
VTB | 2019.07.08 | Votes 0 | Views 56594391
VTB 2019.07.08 0 56594391
20584
UKSTAR Conference : 11-03-2019
VTB | 2019.07.08 | Votes 0 | Views 55798998
VTB 2019.07.08 0 55798998
20583
Testing in Context Conference Australia (TiCCA) 2019
VTB | 2019.07.08 | Votes 0 | Views 56262026
VTB 2019.07.08 0 56262026
20582
European Testing Conference 2019
VTB | 2019.07.08 | Votes 0 | Views 56320980
VTB 2019.07.08 0 56320980
20581
Automation Guild Online Conference 2019
VTB | 2019.07.08 | Votes 0 | Views 57673003
VTB 2019.07.08 0 57673003
20580
Software Quality Days 2019 : 15 Jan 2019 (1)
VTB | 2019.07.08 | Votes 0 | Views 56573402
VTB 2019.07.08 0 56573402
20579
Skills required to become a Software Tester (1)
IT-Tester | 2019.07.08 | Votes 0 | Views 56754871
IT-Tester 2019.07.08 0 56754871
20578
Automated Unit Testing with Randoop, JWalk and µJava versus Manual JUnit Testing
IT-Tester | 2019.07.08 | Votes 0 | Views 55069595
IT-Tester 2019.07.08 0 55069595
20577
Scrum Testing Guide Book (2)
IT-Tester | 2019.06.26 | Votes 0 | Views 55870179
IT-Tester 2019.06.26 0 55870179
20576
Acceptance Testing Definition in Testing vs Scrum
IT-Tester | 2019.06.26 | Votes 0 | Views 56680221
IT-Tester 2019.06.26 0 56680221
20575
User Acceptance Testing Checklist
VTB | 2019.06.20 | Votes 0 | Views 57048552
VTB 2019.06.20 0 57048552
20574
Firewalls and Types (1)
VTB | 2018.11.14 | Votes 0 | Views 55649942
VTB 2018.11.14 0 55649942
20573
Senior Test Engineer (1)
VTB | 2018.11.05 | Votes 0 | Views 56709166
VTB 2018.11.05 0 56709166
20572
Junior Test Analyst
kornadian2 | 2018.11.04 | Votes 0 | Views 56727832
kornadian2 2018.11.04 0 56727832
20571
Senior Test Engineer
kornadian2 | 2018.11.04 | Votes 0 | Views 56165339
kornadian2 2018.11.04 0 56165339
20570
Programme Test Manager, 12m, Immed Start, $NEG
kornadian2 | 2018.11.04 | Votes 0 | Views 57942417
kornadian2 2018.11.04 0 57942417
20569
Junior Test Analyst
kornadian2 | 2018.11.04 | Votes 0 | Views 56592915
kornadian2 2018.11.04 0 56592915
20568
Dev & Test Manager
kornadian2 | 2018.11.04 | Votes 0 | Views 57442443
kornadian2 2018.11.04 0 57442443
20567
Senior Test Analyst (Performance Tester)
kornadian2 | 2018.11.04 | Votes 0 | Views 57401244
kornadian2 2018.11.04 0 57401244
20566
QA Automation Test Analyst
kornadian2 | 2018.11.04 | Votes 0 | Views 56359747
kornadian2 2018.11.04 0 56359747
20565
Software/Field Testing Engineer
kornadian2 | 2018.11.04 | Votes 0 | Views 55984183
kornadian2 2018.11.04 0 55984183
20564
Compliance Technician (Tester)
kornadian2 | 2018.11.04 | Votes 0 | Views 56430685
kornadian2 2018.11.04 0 56430685