SlideShare a Scribd company logo
Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015
DOI : 10.14810/ecij.2015.4307 83
A STUDY OF FORMULATION OF SOFTWARE TEST
METRICS FOR INTERNET BASED APPLICATIONS
Manjeet Kumar1
and Dr.Rabins Porwal2
1
Mewar University, Rajasthan, India
2
ITS, Mohan Nagar, Ghaziabad, India
ABSTRACT
The continuous use of the internet for day to day operations by businesses man, private sector and
government has created a great demand for internet applications. In such kind of application web
server/application server plays vital role. One of the techniques is to test the functionality of web
applications affect user session data received from the web servers. This technique automatically generates
test cases on the behalf of user profiles. The contribution of this paper is the internet application of concept
analysis for clustering user sessions has been reduced. We have completely automated the process from
user session receive and also reduction through replay. In this paper we propose a concept analysis for
internet application and also present a tool Ranorex for the same. In order to execute test case we have a
model for data retrieval. Web application is using in different areas like, medical, insurance, banking etc.
KEYWORDS
Software Test Metrics, WWW, E-business, V&V
1. INTRODUCTION
Web applications contribute a very big audience and execute in very large network. If we really
look at that an Internet application runs in its desired production platform, we have so many
parameters against product quality. Markets are growing very fast so the company learn latest
strategies from the market and probably implement it[1]. Technology is changing very fast so the
incompatibilities between software is very common[3,4]. If we talk about testing there are so
many challenges in testing phase[6]. Internet software that is updated automatically.
If we look at testing so load and security testing are more vital and more difficult[6].
Another testing challenge is the evaluation of existing technology[4] and evolution of
new technology and also constraints. All updation can take place from home server to
application server.
This research paper give a proposal for how one can measure of infrastructure for test metrics for
the internet/intranet applications. We end the paper by proposing a framework for measuring
Internet related metrics of the software.
Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015
84
2. ABBREVIATIONS
3. SOFTWARE TEST METRICS IN INTERNET APPLICATIONS
There are three reasons for test metrics for internet application.
Prediction
Evaluation of test cases
Control
If we really look at the test metrics program then test metrics program consists of five steps [7]:
Identify business-oriented goal
Create test metrics
Collection historical data
Automate procedures
Use metrics in decision making capability.
Let us take an example for naïve user experience depends on how much fast they can get data
from the source to the destination[7]. If we talk about test metrics then very much required
parameter is throughput and it can be defined as the how much data you can transfer in one
Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015
85
second from source to destination[3,4]. In such case historical data plays important role for
performance. Other parameter is bandwidth usage.
On the basis of above a decision should be made on either increasing or decreasing the flowing
video content on the dynamic web site[8,10]. If we look at the quality product so TQM process
should be included in each step and quality product consists of following types of measurements-
Measures of test suite complexity
Measures of test cases
Measures of release guidelines
4. TYPES OF TEST METRICS
We have different kinds of standard test metrics which are suppose to be applied for quality
software.
Fig.1 shows the methodology for generating software test metrics for Internet applications.
Fig.1: The V&V Methodology to generate software test metrics for Internet applications
Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015
86
4.1 Static Analysis Test Metrics
The objective of static analysis test metrics is find error in the existing code.If we talk about static
testing then developer is able to check errors[3,5]. The same thing can be contributed about
quality product. In this scenario error situations are quickly detected[2]. This testing is needed to
ensure software fulfillment the existing standards. Let us take an example tracking code
complexity is needed for for finding errors. This is well accepted. In such scenario complexity
metrics like McCabe’s Cyclomatic Complexity are included[5]. If we have a module which is
very complex it should be testing very seriously and get the desired outcome. Error situation can
be one of them-
Syntax error and deviations from existing standards
Problems in control flow and data flow.
A table below is given for static analysis test metrics.
Table 1.0: Static Analysis Test Metrics
The parameters in above metrics will differ from tool to tool[4]. The test metrics complexity may
be either Halstead or McCabe’s which is totally depend on the complexity selected by the end
user[4] when run the tool. Apart from it it also observed that some more metrics parameters are to
be required using the software like McCabe Visual Test Tool.
4.2 Functional Test Metrics
Functional Testing of web applications is done to ensure that the input conditions according to
the business rules work properly and to check that output conditions are verified against the
expected output conditions[12]. It ensures that every function described in the specification is
tested and that every function tested is described in the specification[7]. A requirement
traceability matrix is a handy tool here. Functionality test metrics could be derived from Scenario
Testing and Functional Coverage Testing[7].
4.2.1 Scenario Testing
Scenario testing is applicable for determine the status of a web application. The consistency and
reliability of E-business systems is based on following parameters-
First of all the rate of application change from text content to video feature upgrade
increases automatically.
Second if we talk about E-business systems which are suppose to be implemented in mix
of platforms/technologies where three entities are involved for the transaction.
Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015
87
Finally but not last the numbers of end users which are suppose to be connected with an
E-business system.
4.2.2 Function Coverage Testing
This kind of testing is done for functional coverage to find which methods are never called. If we
talk about business scenario then the usage pattern can use for dynamic web site[5]. Each pattern
can distribute the numbers of end users among the business cases. We are considering purchase
cycle as an example over here[5]. The purchasing over the internet we need to test for the
complete purchase cycle:
Placing an order
Processing
Canceling an order
Checking the status of an order
Changing the shipping information
The objective is to test the application against each use case.
Table 2.0: Functional Test Coverage Metrics
Functional coverage index = No. of functions / Total No. of use case scenarios
% Functional coverage = No. of functions covered per use case /Total No. of functions
4.3 Dynamic Test Coverage Metrics
This kind of testing is used for obtaining how much code is being tested. It does not mean that it
is not useful. It is useful to have measures of how completely the code is tested[6,9]. Code
coverage is the test metrics used in such cases.
The main calculated coverage measures are:
Statement coverage, Branch coverage, Procedure coverage, Path Coverage[13]
Boolean Operand and Operator Coverage, Decision Coverage, Loop Coverage[9]
The % Decision Coverage defined as the number of decision outcomes in a module[5].
Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015
88
The % Condition Coverage defined as the number of condition outcomes for each
decision in a module.
Table 3.0: Dynamic Test Coverage Metrics
4.4 Performance Test Metrics
The internet is one of the growing technologies in the world. Organization is using web
technology in the form of internet, intranet and Extranet applications to carry their products and
information is suppose to be provide to their customers.. In some cases it has been observed that
web server is loaded due to millions so in this scenario we required to do a load and stress testing.
For example a client/server 3-tier architecture contains a client system and a server system, data
base server, all of them are responsible for data processing. On the internet, the client is the
browser for sending request and server for response with the coordination of data base server likr
oracle 10g. The web server processed all the requests through URLs from the client. Following
are the methods for performance testing:
Modem Simulation
Multiple URLs/URIs for dynamic Web Site
Load Simulation
Such kind of testing can take place with WebLoadTM
, Astra QuickLoadTM
etc
Table 4.1: Performance Test Metrics
Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015
89
Table 4.2: Performance Test Metrics
Fig.2: 3-dimensional representation of Performance Test Metrics for Internet Applications
5. CONCLUSION
Metrics and their use is based on application. This methods required periodic reevaluation of the
metrics. Metrics are basically for collection and simulation of the real life application so they are
indicators for internet application. It is very much required to understand the applicability of
formulating software test metrics as the key to product improvement in the Internet space.
Software test metrics is for monitoring and controlling the quality of the product . Interpretation
of the resulting testing metrics is suppose to be present in tabular form and to observe changes
whenever is required.
Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015
90
REFERENCES
[1] Abbot 0.13.1, 2008. http://abbot.sourceforge.net/.
[2] Glenn Ammons, Rastislav Bodik, and James R. Larus. Mining specifications. In Proc.29th ACM
SIGPLAN-SIGACT Symposium on Principles of Programming Languages,pages 4–16, 2008.
[3] Paul E. Ammann, Paul E. Black, and William Majurski. “Using model checking to generate tests
from specifications”. In Proc. 2rd IEEE International Conference on Formal Engineering Methods,
page 46, 2010.
[4] G. Alonso, F. Casati, H. Kuno, and V. Machiraju. “Web Services Concepts, Architectures and
Applications Series: Data-Centric Systems and Applications”. Addison-Wesley Professional,, 2009.
[5] David Abramson, Ian Foster, John Michalakes, and Rok Socic. Relative debugging: a new
methodology for debugging scientific applications. Communications of the ACM,39(11):69–77,
2010.
[6] Ken Arnold, James Gosling, and David Holmes. “The Java Programming Language.Addison-Wesley
Longman Publishing Co., Inc., 2010”.
[7] Agitar Agitatior 2.0, Novermber 2004. http://www.agitar.com/.
[8] Dorothy M. Andrews. Using executable assertions for testing and fault tolerance. In Proc. the 9th
International Symposium on Fault-Tolerant Computing, pages 102–105,2010.
[9] Tony Andrews, Shaz Qadeer, Sriram K. Rajamani, Jakob Rehof, and Yichen Xie. Zing:A model
checker for concurrent software. In Proc. 6th International Conference on Computer Aided
Verification, pages 484–487, 2007.
[10] Alberto Avritzer and Elaine J. Weyuker. Deriving workloads for performance testing.Softw. Pract.
Exper., 26(6):613–633, 2003.
[11] Thomas Ball. A theory of predicate-complete test coverage and generation. Technical Report MSR-
TR-2004-28, Microsoft Research, Redmond, WA, April 2004.
[12] Clark W. Barrett and Sergey Berezin. CVC Lite: A new implementation of the cooperating validity
checker. In Proc. 16th International Conference on Computer Aided Verification, pages 515–518,
July 2004.
[13] Dirk Beyer, Adam J. Chlipala, and Rupak Majumdar. Generating tests from counterexamples. In
Proc. 26th International Conference on Software Engineering, pages 326–335, 2004.
[14] Timothy A. Budd, Richard A. DeMillo, Richard J. Lipton, and Frederick G. Sayward.Theoretical and
empirical studies on using program mutation to test the functional correctness of programs. In Proc.
7th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, pages 220–
233, 2006.
[15] Kent Beck. Extreme programming explained. Addison-Wesley, 2008.
[16] Kent Beck. Test Driven Development: By Example. Addison-Wesley, 2006.
[17] Boris Beizer. Software Testing Techniques. International Thomson Computer Press,2003.
[18] Gilles Bernot, Marie Claude Gaudel, and Bruno Marre. Software testing based on formal
specifications: a theory and a tool. Softw. Eng. J., 6(6):387–405, 2004.
[19] Thomas Ball, Daniel Hoffman, Frank Ruskey, Richard Webber, and Lee J. White. State generation
and automated class testing. Software Testing, Verification and Reliability,10(3):149–170, 2005.
[20] Robert V. Binder. Object-oriented software testing. Commun. ACM, 37(9):28–29, 2003.
AUTHOR
Manjeet Kumar received MCA. degree in Computer Science from K.N.I.T
Sultanpur, (2004), and M-Tech degree in IT(2010) from Karnatika University. At
the moment he is Ph.D. scholar at Mewar University,Rajasthan. His research
interest includes Automated software testing,Web technology. Email: manjeet
2005@gmail.com,

More Related Content

PDF
IRJET- Automated Test Case Generation using Data Mining
PDF
Experiences in shift left test approach
PDF
IRJET-A Review of Testing Technology in Web Application System
PPTX
Fundamentals of Testing
PDF
PPT
Role+Of+Testing+In+Sdlc
PPTX
Gl istqb testing fundamentals
PDF
Information hiding based on optimization technique for Encrypted Images
IRJET- Automated Test Case Generation using Data Mining
Experiences in shift left test approach
IRJET-A Review of Testing Technology in Web Application System
Fundamentals of Testing
Role+Of+Testing+In+Sdlc
Gl istqb testing fundamentals
Information hiding based on optimization technique for Encrypted Images

What's hot (20)

PPTX
Fundamental test process
PPTX
Fundamental test process
PPTX
Istqb ctfl performance testing training course
PPTX
FUNDAMENTAL TEST PROCESS
PDF
Test Case Optimization and Redundancy Reduction Using GA and Neural Networks
PPTX
ISTQB Advanced Technical Test Analyst Training
DOC
Navin Latest
PDF
MIT521 software testing (2012) v2
PDF
Software Testing Outline Performances and Measurements
PDF
Fundamentals of testing (1)
PDF
EFFECTIVE IMPLEMENTATION OF AGILE PRACTICES – OBJECT ORIENTED METRICS TOOL TO...
PDF
O0181397100
PPT
MELJUN CORTES research tcu_student_metro_south_abstract_thesis_bscs_llames_ma...
PDF
Parameter Estimation of GOEL-OKUMOTO Model by Comparing ACO with MLE Method
PDF
Validation of early testing method for e government projects by requirement ...
PDF
Manual software-testing-interview-questions-with-answers
PDF
A deployment scenario a taxonomy mapping and keyword searching for the appl...
PPTX
Ch8-Software Engineering 9
PDF
Performance testing methodologies and tools
Fundamental test process
Fundamental test process
Istqb ctfl performance testing training course
FUNDAMENTAL TEST PROCESS
Test Case Optimization and Redundancy Reduction Using GA and Neural Networks
ISTQB Advanced Technical Test Analyst Training
Navin Latest
MIT521 software testing (2012) v2
Software Testing Outline Performances and Measurements
Fundamentals of testing (1)
EFFECTIVE IMPLEMENTATION OF AGILE PRACTICES – OBJECT ORIENTED METRICS TOOL TO...
O0181397100
MELJUN CORTES research tcu_student_metro_south_abstract_thesis_bscs_llames_ma...
Parameter Estimation of GOEL-OKUMOTO Model by Comparing ACO with MLE Method
Validation of early testing method for e government projects by requirement ...
Manual software-testing-interview-questions-with-answers
A deployment scenario a taxonomy mapping and keyword searching for the appl...
Ch8-Software Engineering 9
Performance testing methodologies and tools
Ad

Viewers also liked (20)

PDF
Auditorias de Calidad de Suministro Eléctrico y Compatibilidad Electromagnética
PPTX
Paradigmas e learning
DOCX
Resume
PDF
Small Volume Exemption - Online First Application
PPTX
станочник
PPTX
Capability maturity model for maintenance planning of physical asset
PDF
PhD Defence_yoy_Print
PPTX
KING DNARMSA SPIRULINA INTERNATIONAL KDSI KING HUMUSPLUS PRESENTATION ORGANIC...
PDF
Control and Analysis of VSC Based High Voltage DC Transmission
PPTX
Intelligent system for production, storage and management of Multi-MW Solar P...
PPTX
shilajit
PPTX
Función respiratoria de la sangre
PDF
Halverson Group Reality Tests Presentation
PPTX
Multilevel inverter
PDF
Controllers For A VSC-HVDC Link Connected To A Weak AC System
PPTX
TCI 2016 Clustering Estonian Applied Research Centers
PDF
Atelier sur le crowdfunding
PDF
TCIOceania14 Clustering for growth - an international perspective
PPTX
TCI 2015 Introduction to TCI Network. How to Take out the Most of this Global...
Auditorias de Calidad de Suministro Eléctrico y Compatibilidad Electromagnética
Paradigmas e learning
Resume
Small Volume Exemption - Online First Application
станочник
Capability maturity model for maintenance planning of physical asset
PhD Defence_yoy_Print
KING DNARMSA SPIRULINA INTERNATIONAL KDSI KING HUMUSPLUS PRESENTATION ORGANIC...
Control and Analysis of VSC Based High Voltage DC Transmission
Intelligent system for production, storage and management of Multi-MW Solar P...
shilajit
Función respiratoria de la sangre
Halverson Group Reality Tests Presentation
Multilevel inverter
Controllers For A VSC-HVDC Link Connected To A Weak AC System
TCI 2016 Clustering Estonian Applied Research Centers
Atelier sur le crowdfunding
TCIOceania14 Clustering for growth - an international perspective
TCI 2015 Introduction to TCI Network. How to Take out the Most of this Global...
Ad

Similar to A STUDY OF FORMULATION OF SOFTWARE TEST METRICS FOR INTERNET BASED APPLICATIONS (20)

PDF
From the Art of Software Testing to Test-as-a-Service in Cloud Computing
PDF
FROM THE ART OF SOFTWARE TESTING TO TEST-AS-A-SERVICE IN CLOUD COMPUTING
PDF
Software testing for project report system.
PDF
Reliability Improvement with PSP of Web-Based Software Applications
PDF
Some practical considerations and a
PDF
Ensuring Effective Performance Testing in Web Applications.pdf
PDF
Unit Testing Essay
PDF
New Model to Achieve Software Quality Assurance (SQA) in Web Application
PDF
Test case-point-analysis (whitepaper)
PDF
COMBINING REUSABLE TEST CASES AND CONTINUOUS SECURITY TESTING FOR REDUCING WE...
PDF
11.performance testing methodologies and tools
PPTX
Web Testing
PDF
A RELIABLE AND AN EFFICIENT WEB TESTING SYSTEM
PDF
A RELIABLE AND AN EFFICIENT WEB TESTING SYSTEM
PDF
A Complete Step-by-Step Guide to Mobile App Performance Testing.pdf
PDF
Software testing for project report .pdf
DOCX
Performance testing interview questions and answers
PDF
IRJET- Development Operations for Continuous Delivery
PDF
Software Testing Data Kart and Integrated Pipeline Approach
PDF
A Review on Web Application Testing and its Current Research Directions
From the Art of Software Testing to Test-as-a-Service in Cloud Computing
FROM THE ART OF SOFTWARE TESTING TO TEST-AS-A-SERVICE IN CLOUD COMPUTING
Software testing for project report system.
Reliability Improvement with PSP of Web-Based Software Applications
Some practical considerations and a
Ensuring Effective Performance Testing in Web Applications.pdf
Unit Testing Essay
New Model to Achieve Software Quality Assurance (SQA) in Web Application
Test case-point-analysis (whitepaper)
COMBINING REUSABLE TEST CASES AND CONTINUOUS SECURITY TESTING FOR REDUCING WE...
11.performance testing methodologies and tools
Web Testing
A RELIABLE AND AN EFFICIENT WEB TESTING SYSTEM
A RELIABLE AND AN EFFICIENT WEB TESTING SYSTEM
A Complete Step-by-Step Guide to Mobile App Performance Testing.pdf
Software testing for project report .pdf
Performance testing interview questions and answers
IRJET- Development Operations for Continuous Delivery
Software Testing Data Kart and Integrated Pipeline Approach
A Review on Web Application Testing and its Current Research Directions

More from ecij (20)

PDF
6th International Conference on VLSI & Embedded Systems (VLSIE 2025)
DOCX
10th International Conference on Recent Trends in Electrical Engineering (RTE...
DOCX
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
5th International Conference on Electrical Engineering (ELEG 2024)
PDF
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
5th International Conference on Electrical Engineering (ELEG 2024)
PDF
NEW Current Issue - CALL FOR PAPERS - Electrical and Computer Engineering An ...
PDF
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
ADOPTING MEASURES TO REDUCE POWER OUTAGES
PDF
GRID SIDE CONVERTER CONTROL IN DFIG BASED WIND SYSTEM USING ENHANCED HYSTERES...
PDF
Electrical & Computer Engineering: An International Journal (ECIJ)
PDF
PREPARATION OF POROUS AND RECYCLABLE PVA-TIO2HYBRID HYDROGEL
DOCX
4th International Conference on Electrical Engineering (ELEC 2020)
DOCX
Electrical & Computer Engineering: An International Journal (ECIJ)
DOCX
4th International Conference on Bioscience & Engineering (BIEN 2020)
6th International Conference on VLSI & Embedded Systems (VLSIE 2025)
10th International Conference on Recent Trends in Electrical Engineering (RTE...
Electrical & Computer Engineering: An International Journal (ECIJ)
Electrical & Computer Engineering: An International Journal (ECIJ)
Electrical & Computer Engineering: An International Journal (ECIJ)
5th International Conference on Electrical Engineering (ELEG 2024)
Electrical & Computer Engineering: An International Journal (ECIJ)
5th International Conference on Electrical Engineering (ELEG 2024)
NEW Current Issue - CALL FOR PAPERS - Electrical and Computer Engineering An ...
Electrical & Computer Engineering: An International Journal (ECIJ)
Electrical & Computer Engineering: An International Journal (ECIJ)
Electrical & Computer Engineering: An International Journal (ECIJ)
Electrical & Computer Engineering: An International Journal (ECIJ)
ADOPTING MEASURES TO REDUCE POWER OUTAGES
GRID SIDE CONVERTER CONTROL IN DFIG BASED WIND SYSTEM USING ENHANCED HYSTERES...
Electrical & Computer Engineering: An International Journal (ECIJ)
PREPARATION OF POROUS AND RECYCLABLE PVA-TIO2HYBRID HYDROGEL
4th International Conference on Electrical Engineering (ELEC 2020)
Electrical & Computer Engineering: An International Journal (ECIJ)
4th International Conference on Bioscience & Engineering (BIEN 2020)

Recently uploaded (20)

PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
OOP with Java - Java Introduction (Basics)
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
additive manufacturing of ss316l using mig welding
PDF
PPT on Performance Review to get promotions
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Digital Logic Computer Design lecture notes
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
composite construction of structures.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
R24 SURVEYING LAB MANUAL for civil enggi
CYBER-CRIMES AND SECURITY A guide to understanding
OOP with Java - Java Introduction (Basics)
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
additive manufacturing of ss316l using mig welding
PPT on Performance Review to get promotions
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Foundation to blockchain - A guide to Blockchain Tech
Digital Logic Computer Design lecture notes
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CH1 Production IntroductoryConcepts.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
composite construction of structures.pdf
Model Code of Practice - Construction Work - 21102022 .pdf

A STUDY OF FORMULATION OF SOFTWARE TEST METRICS FOR INTERNET BASED APPLICATIONS

  • 1. Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015 DOI : 10.14810/ecij.2015.4307 83 A STUDY OF FORMULATION OF SOFTWARE TEST METRICS FOR INTERNET BASED APPLICATIONS Manjeet Kumar1 and Dr.Rabins Porwal2 1 Mewar University, Rajasthan, India 2 ITS, Mohan Nagar, Ghaziabad, India ABSTRACT The continuous use of the internet for day to day operations by businesses man, private sector and government has created a great demand for internet applications. In such kind of application web server/application server plays vital role. One of the techniques is to test the functionality of web applications affect user session data received from the web servers. This technique automatically generates test cases on the behalf of user profiles. The contribution of this paper is the internet application of concept analysis for clustering user sessions has been reduced. We have completely automated the process from user session receive and also reduction through replay. In this paper we propose a concept analysis for internet application and also present a tool Ranorex for the same. In order to execute test case we have a model for data retrieval. Web application is using in different areas like, medical, insurance, banking etc. KEYWORDS Software Test Metrics, WWW, E-business, V&V 1. INTRODUCTION Web applications contribute a very big audience and execute in very large network. If we really look at that an Internet application runs in its desired production platform, we have so many parameters against product quality. Markets are growing very fast so the company learn latest strategies from the market and probably implement it[1]. Technology is changing very fast so the incompatibilities between software is very common[3,4]. If we talk about testing there are so many challenges in testing phase[6]. Internet software that is updated automatically. If we look at testing so load and security testing are more vital and more difficult[6]. Another testing challenge is the evaluation of existing technology[4] and evolution of new technology and also constraints. All updation can take place from home server to application server. This research paper give a proposal for how one can measure of infrastructure for test metrics for the internet/intranet applications. We end the paper by proposing a framework for measuring Internet related metrics of the software.
  • 2. Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015 84 2. ABBREVIATIONS 3. SOFTWARE TEST METRICS IN INTERNET APPLICATIONS There are three reasons for test metrics for internet application. Prediction Evaluation of test cases Control If we really look at the test metrics program then test metrics program consists of five steps [7]: Identify business-oriented goal Create test metrics Collection historical data Automate procedures Use metrics in decision making capability. Let us take an example for naïve user experience depends on how much fast they can get data from the source to the destination[7]. If we talk about test metrics then very much required parameter is throughput and it can be defined as the how much data you can transfer in one
  • 3. Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015 85 second from source to destination[3,4]. In such case historical data plays important role for performance. Other parameter is bandwidth usage. On the basis of above a decision should be made on either increasing or decreasing the flowing video content on the dynamic web site[8,10]. If we look at the quality product so TQM process should be included in each step and quality product consists of following types of measurements- Measures of test suite complexity Measures of test cases Measures of release guidelines 4. TYPES OF TEST METRICS We have different kinds of standard test metrics which are suppose to be applied for quality software. Fig.1 shows the methodology for generating software test metrics for Internet applications. Fig.1: The V&V Methodology to generate software test metrics for Internet applications
  • 4. Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015 86 4.1 Static Analysis Test Metrics The objective of static analysis test metrics is find error in the existing code.If we talk about static testing then developer is able to check errors[3,5]. The same thing can be contributed about quality product. In this scenario error situations are quickly detected[2]. This testing is needed to ensure software fulfillment the existing standards. Let us take an example tracking code complexity is needed for for finding errors. This is well accepted. In such scenario complexity metrics like McCabe’s Cyclomatic Complexity are included[5]. If we have a module which is very complex it should be testing very seriously and get the desired outcome. Error situation can be one of them- Syntax error and deviations from existing standards Problems in control flow and data flow. A table below is given for static analysis test metrics. Table 1.0: Static Analysis Test Metrics The parameters in above metrics will differ from tool to tool[4]. The test metrics complexity may be either Halstead or McCabe’s which is totally depend on the complexity selected by the end user[4] when run the tool. Apart from it it also observed that some more metrics parameters are to be required using the software like McCabe Visual Test Tool. 4.2 Functional Test Metrics Functional Testing of web applications is done to ensure that the input conditions according to the business rules work properly and to check that output conditions are verified against the expected output conditions[12]. It ensures that every function described in the specification is tested and that every function tested is described in the specification[7]. A requirement traceability matrix is a handy tool here. Functionality test metrics could be derived from Scenario Testing and Functional Coverage Testing[7]. 4.2.1 Scenario Testing Scenario testing is applicable for determine the status of a web application. The consistency and reliability of E-business systems is based on following parameters- First of all the rate of application change from text content to video feature upgrade increases automatically. Second if we talk about E-business systems which are suppose to be implemented in mix of platforms/technologies where three entities are involved for the transaction.
  • 5. Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015 87 Finally but not last the numbers of end users which are suppose to be connected with an E-business system. 4.2.2 Function Coverage Testing This kind of testing is done for functional coverage to find which methods are never called. If we talk about business scenario then the usage pattern can use for dynamic web site[5]. Each pattern can distribute the numbers of end users among the business cases. We are considering purchase cycle as an example over here[5]. The purchasing over the internet we need to test for the complete purchase cycle: Placing an order Processing Canceling an order Checking the status of an order Changing the shipping information The objective is to test the application against each use case. Table 2.0: Functional Test Coverage Metrics Functional coverage index = No. of functions / Total No. of use case scenarios % Functional coverage = No. of functions covered per use case /Total No. of functions 4.3 Dynamic Test Coverage Metrics This kind of testing is used for obtaining how much code is being tested. It does not mean that it is not useful. It is useful to have measures of how completely the code is tested[6,9]. Code coverage is the test metrics used in such cases. The main calculated coverage measures are: Statement coverage, Branch coverage, Procedure coverage, Path Coverage[13] Boolean Operand and Operator Coverage, Decision Coverage, Loop Coverage[9] The % Decision Coverage defined as the number of decision outcomes in a module[5].
  • 6. Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015 88 The % Condition Coverage defined as the number of condition outcomes for each decision in a module. Table 3.0: Dynamic Test Coverage Metrics 4.4 Performance Test Metrics The internet is one of the growing technologies in the world. Organization is using web technology in the form of internet, intranet and Extranet applications to carry their products and information is suppose to be provide to their customers.. In some cases it has been observed that web server is loaded due to millions so in this scenario we required to do a load and stress testing. For example a client/server 3-tier architecture contains a client system and a server system, data base server, all of them are responsible for data processing. On the internet, the client is the browser for sending request and server for response with the coordination of data base server likr oracle 10g. The web server processed all the requests through URLs from the client. Following are the methods for performance testing: Modem Simulation Multiple URLs/URIs for dynamic Web Site Load Simulation Such kind of testing can take place with WebLoadTM , Astra QuickLoadTM etc Table 4.1: Performance Test Metrics
  • 7. Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015 89 Table 4.2: Performance Test Metrics Fig.2: 3-dimensional representation of Performance Test Metrics for Internet Applications 5. CONCLUSION Metrics and their use is based on application. This methods required periodic reevaluation of the metrics. Metrics are basically for collection and simulation of the real life application so they are indicators for internet application. It is very much required to understand the applicability of formulating software test metrics as the key to product improvement in the Internet space. Software test metrics is for monitoring and controlling the quality of the product . Interpretation of the resulting testing metrics is suppose to be present in tabular form and to observe changes whenever is required.
  • 8. Electrical & Computer Engineering: An International Journal (ECIJ) Volume 4, Number 3, September 2015 90 REFERENCES [1] Abbot 0.13.1, 2008. http://abbot.sourceforge.net/. [2] Glenn Ammons, Rastislav Bodik, and James R. Larus. Mining specifications. In Proc.29th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages,pages 4–16, 2008. [3] Paul E. Ammann, Paul E. Black, and William Majurski. “Using model checking to generate tests from specifications”. In Proc. 2rd IEEE International Conference on Formal Engineering Methods, page 46, 2010. [4] G. Alonso, F. Casati, H. Kuno, and V. Machiraju. “Web Services Concepts, Architectures and Applications Series: Data-Centric Systems and Applications”. Addison-Wesley Professional,, 2009. [5] David Abramson, Ian Foster, John Michalakes, and Rok Socic. Relative debugging: a new methodology for debugging scientific applications. Communications of the ACM,39(11):69–77, 2010. [6] Ken Arnold, James Gosling, and David Holmes. “The Java Programming Language.Addison-Wesley Longman Publishing Co., Inc., 2010”. [7] Agitar Agitatior 2.0, Novermber 2004. http://www.agitar.com/. [8] Dorothy M. Andrews. Using executable assertions for testing and fault tolerance. In Proc. the 9th International Symposium on Fault-Tolerant Computing, pages 102–105,2010. [9] Tony Andrews, Shaz Qadeer, Sriram K. Rajamani, Jakob Rehof, and Yichen Xie. Zing:A model checker for concurrent software. In Proc. 6th International Conference on Computer Aided Verification, pages 484–487, 2007. [10] Alberto Avritzer and Elaine J. Weyuker. Deriving workloads for performance testing.Softw. Pract. Exper., 26(6):613–633, 2003. [11] Thomas Ball. A theory of predicate-complete test coverage and generation. Technical Report MSR- TR-2004-28, Microsoft Research, Redmond, WA, April 2004. [12] Clark W. Barrett and Sergey Berezin. CVC Lite: A new implementation of the cooperating validity checker. In Proc. 16th International Conference on Computer Aided Verification, pages 515–518, July 2004. [13] Dirk Beyer, Adam J. Chlipala, and Rupak Majumdar. Generating tests from counterexamples. In Proc. 26th International Conference on Software Engineering, pages 326–335, 2004. [14] Timothy A. Budd, Richard A. DeMillo, Richard J. Lipton, and Frederick G. Sayward.Theoretical and empirical studies on using program mutation to test the functional correctness of programs. In Proc. 7th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, pages 220– 233, 2006. [15] Kent Beck. Extreme programming explained. Addison-Wesley, 2008. [16] Kent Beck. Test Driven Development: By Example. Addison-Wesley, 2006. [17] Boris Beizer. Software Testing Techniques. International Thomson Computer Press,2003. [18] Gilles Bernot, Marie Claude Gaudel, and Bruno Marre. Software testing based on formal specifications: a theory and a tool. Softw. Eng. J., 6(6):387–405, 2004. [19] Thomas Ball, Daniel Hoffman, Frank Ruskey, Richard Webber, and Lee J. White. State generation and automated class testing. Software Testing, Verification and Reliability,10(3):149–170, 2005. [20] Robert V. Binder. Object-oriented software testing. Commun. ACM, 37(9):28–29, 2003. AUTHOR Manjeet Kumar received MCA. degree in Computer Science from K.N.I.T Sultanpur, (2004), and M-Tech degree in IT(2010) from Karnatika University. At the moment he is Ph.D. scholar at Mewar University,Rajasthan. His research interest includes Automated software testing,Web technology. Email: manjeet 2005@gmail.com,