Professional Documents
Culture Documents
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com Volume 2, Issue 4, July August 2013 ISSN 2278-6856
Keywords System testing technique (MASST), Multiagent Based System, Complexity measurement Technique, Reliability .
1. INTRODUCTION
There is the fundamental requirement for professional systems to provide high levels of availability. These systems consist usually of numerous hardware and software components. Software problems are one of the most important if not the dominant factor for system unavailability. Software crashes can lead to temporary system unavailability and workflow disruption. Operations can be resumed only after the software has recovered from the crash and the system is in normal state again. Complex systems usually consist of several software units each one being a potential cause of system unavailability due to such crashes. It is of primary concern of the software development and testing team to reduce the probability of such crashes by removing errors from the software code before product release. Testing strategies need to be designed in such a way to explore the error prone characteristics of the software. Software complexity metrics provide a quantified expression of the inherent characteristics of software. Testing strategies are being developed using this information to identify and focus on the more error-prone code. Effective debugging should provide software products that when released in the field, are free of error linked to these characteristics.[1] Delivering high quality software for real-world Volume 2, Issue 4 July August 2013
applications is difficult. A wide range of software engineering paradigms have been recently devised (e.g. object -orientation [2]. component ware, Design patterns [3, 4] and software architectures [4]) either to make the engineering process easier or to extend the complexity of applications that can feasibly be built [5]. Although each paradigm have their own influence in the software engineering field on the support of their proficiencies, due to the exceptional growth of the software industry, researchers continue to strive for more efficient and powerful techniques [2,6, 5]. Agents are being identified as a next generation model for engineering, complex, distributed systems [6,5,9]. Although there are an increasing number or deployed agent applications [7,8], there is no systematic analysis precisely what makes the paradigm effective [5]. When to use it and what type of applications makes use of it. Agent-Oriented Software Engineering (AOSE) [2, 6, 5,9,7] explanations lacking in details that would allow a software tester to decide easily when to shipping to agentbased software testing. Due to these claims, there has been comparatively little work on agent-based computing as a serious software engineering paradigm that can significantly enhance development in wide range of applications. These shortcomings can be rectified by recasting the essential component of agent systems into more traditional software engineering concepts [5,8].we do not just described the agent-based approach in software testing, also developed an evaluation framework (based on the attributes of complexity) for agent-oriented approach in software testing and its application to develop a multi-agent system for software testing. The multi-agent system illustrated here, is on the basis of few basic operational real-world testing techniques. as an attempt to describe how to practice agent-based software testing, which has not previously done. There is a need to establish a software testing process that is cost effective and efficient to meet the market pressures of delivering low cost and quality software. Measurement is a key element of an effective and efficient software testing process as it evaluates the quality and effectiveness of the process. Moreover, it assesses the productivity of the personnel involved in testing activities and helps Page 56
Figure 1 Proposed MASST System Architecture The idea behind agent-oriented thinking is to explore the applicability of the agent paradigm in given problem domain. In a very broad sense, it is about visualizing actors interacting with others in their environments for solving the given problem. An actor will act, based on its perceptions. It may also realize that it has insufficient knowledge and seek that supplementary information elsewhere to conduct an activity. Actors, activities and their coordination will lead to the conception of scenarios, which will get stitched together as the thinking process gradually evolves towards the goal. The key concepts in this thinking process are the actor, activity and scenario. We define MASST as the process that includes all activities (steps) for discovering, documenting and maintaining a set of specifications for actors (roles), activities (responsibilities) and interactions for the design of an agent based system. It may then primarily consist of the following steps: Master agent studies the scenario description and identify all the possible actors and main activities
Figure 2 Input interface User Interface agent: In our environment, interface Agent is designed to achieve the interaction between system and users. It realized the generality of user interface. After supplying codebase, the only thing we need to do is just to wait easily but need not know how or where test is performed. Agent will do everything for us. And the system will return the final result to users. One advantage of interface Agent is that it is a friendly interface. The main functions of interface Agent include: Describing users testing request in some kind of visual format;
Page 58
Figure 3 Input to Measure When user gives an incorrect request description (such as file not found) interface Agent will display error information and prompt user to correct it. The main role of this agent is receiving, from the user, program information such as (Fig. 2,3): * Codebase Then send it to administrator agent. When it receives a message from the latter agent at the end of the testing process, it treats the message and shows the final reports about the results of the testing process such as (Fig. 4): * The total number of line of codes * The Cyclomatic complexity * The Halsteads measurements based on operators and operands
Fig. 4 Measured Complexities Administrator Agent: Administrator Agent manages the whole system, processing the complex communication between the inside of the system, coordinating all the Agents in the system and distributes controls in the system. It is unique in the system. The main functions of administrator Agent include: The interface of the system with other systems or Agent systems;
Page 59
AUTHOR: Dr. C. S Lamba has Ph.D degree in Computer science and currently working as a Head of department, RIET Jaipur, India. He has more than 14 years of experience and holding diversified knowledge in the field of Information technology. He has published and Participated research paper / article in various conference/ seminar globally. Reema Ajmera received her M.Tech (C.S.)degree from Banasthali Vidhypeeph in 2007. She has some important books as a author as well as currently she is associating with the Jaipur National University at department of computer and systems sciences. Volume 2, Issue 4 July August 2013 Page 61