JMeter messaging middleware system pressure test

Author
WangYuJian
Advisor
LiShanPing
School
Zhejiang University
Major
Computer Applications
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
180
Citations
4

Request the full text

Abstract

The term \In the mid-1990s, with the rapid development of network technology, the growing popularity of the concept of middleware. Essentially, middleware is a the distribution software layer (or platform) to abstract the underlying distributed environment (network, host, operating system, programming language) the complexity and heterogeneity. The current CORBA, DCOM, RMI, such as RPC middleware technology has been widely used in various fields. But the face of the size and complexity are increasingly distributed system has the following disadvantages: Only for synchronous communication; customers and service lifetime of the object tightly coupled; only the lack of peer-to-peer communications. Message-oriented middleware support communication protocols, reliability, ease of use has its own advantages. Messaging middleware can take advantage of highly efficient and reliable message passing mechanism for platform-independent data exchange, inter-process communication by providing messaging and message queuing model can be extended in a distributed environment, and support for multiple communication protocols, languages, applications, hardware and software platforms. The performance of the messaging middleware for data transmission is essential. Performance quality seriously affect the efficiency and success rate of data transmission. The case of high load system capacity is an important indicator of the performance of messaging middleware. For messaging middleware system, you need a good performance testing tool to conduct stress tests of its communication function. JMeter is an excellent tool for functional and performance testing, it is the the Apache organization of open source projects, is based on Java Swing the desktop program, designed for load testing, system performance testing. Because JMeter open source and can be customized features, its design and development of the plug-in. This article is divided into three parts, the first two chapters of the first part, introduced the concepts and components of the messaging middleware, and has greater impact on the JMS specification. The third chapter of the second part, send and receive messages based messaging middleware application system (GLOMS) Design and Implementation of DSS framework handling mechanism. Chapters 4 and 5 for the third part, focusing on analysis of of JMeter core code, design and implementation of the DSS-based framework for communication JMeter plug-in (plugin) and use the plug-in stress testing gloms system.

Table of contents

Abstract 2-3 Abstract 3-5 directory 5-7 Chapter messaging middleware 7-13 1.1 middleware meaning 7 1.2 messaging middleware classification 7-11 1.2.1 Message Queuing Middleware 7-10 1.2.1.1 Message Queuing middleware communication model 7-8 1.2.1.2 Message Queuing Middleware Features 8-10 1.2.2 messaging middleware 10-11 1.2.2.1 messaging middleware communication model 10 1.2.2.2 messaging middleware features 10-11 1.3 messaging middleware development status 11 1.4 messaging middleware key technology 11-13 Chapter JMS specification 13-23 2.1 JMS architecture 13-16 2.1.1 JMS application composition 13-14 2.1.2 message mode 14 2.1.3 JMS interfaces 14-15 2.1.4 multithreaded nature 15-16 2.2 JMS message types 16-19 2.2.1 message header 16-17 2.2.2 Message Properties 17-18 2.2.3 JMS message body 18-19 2.3 JMS messages synchronous asynchronous receiver 19 2.4 queuing model with publish / subscribe model 19-23 2.4.1 PTP model 19-20 2.4.2 PUB / SUB model 20-23 Chapter JMS in GLOMS System 23-36 3.1 GLOMS 23 3.2 Design Goals 23-24 3.3 GLOMS system analysis 24-31 3.1.1 System Framework Analysis 24-26 3.3.1.1 MVC design pattern describes 24-25 3.3.3.2 Why use MVC 25-26 3.2.2 System Architecture 26-27 3.2.3 System Data Synchronization 27-29 3.2.4 Synchronous and asynchronous messages sent 29-31 3.2.4.1 messages sent asynchronously 29-30 3.2.4.2 synchronization messages sent 30-31 3.2.5 client and server side exception handling 31 3.3 GLOMS communication layer system design and implementation 31-36 3.3.1 MQService 32-34 3.3.2 MQPublisherService 34-36 Chapter JMeter core code 36-52 4.1 JMeter 36-37 4.2 JMeter startup process 37-41 4.2.1 JMeter startup mode 37 4.2.2 GUI mode initialization process 37-41 4.3 Test start (start) 41-48 4.3.1 Data Structures HashTree 41-44 4.3.1.1 Class HashTree code 42-43 4.3.2.2 VISITOR (visitors) mode 43-44 4.3.2 testing process start (start) code analysis 44-48 4.4. JMeterThread test 48-52 4.4.1 thread group 48 4.4.2 Controller 48-50 4.4.2.1 sampler 49 4.4.2.2 Logic Controller 49-50 4.4.3 thread group code analysis 50-52 Chapter Plugin for JMeter realization 52-69 5.1 MenuFactory the loading process 52-54 5.2 JMeter is how to display the pop-up context menu 54-56 5.3 How to customize JMeterGUIComponent displayed in the main interface 56-58 5.4 对 JMeter an extension (JMeterExt4DSS) 58-65 5.4.1 Strategy pattern encapsulated with different DSSSampler processing 58-60 5.4.2 draw JMeter, scalable GUI for industry to 60-62 5.4.3 Credential Factory realization 62 5.4.4 thread context maintenance: DSSThreadContext 62-63 5.4.5 AbstractSamplerHelper and LoginSamplerHelper, LogoutSamplerHelper 63-65 5.5 implementation 65-69 5.5.1 into JMeter 65 5.5.2 Configuration Test Plan 65-67 5.5.3 to start testing and test reports 67-69 Chapter Summary and Outlook 69-71 References 71-73 Thanks 73

Related dissertations

  1. Research and Implementation of Replication Scheme in Distributed System
    JiangHaiHua ·Beijing University of Technology ·2008 ·Master's thesis
  2. The Study of JMS and Application in Management Information System of Medicine
  3. Based middleware platform for enterprise applications and the design of the two types of middleware to achieve
  4. Application and Research of Message Oriented Middleware
  5. JMS-based messaging middleware design and implementation
    XuQiang ·Hefei University of Technology ·2005 ·Master's thesis
  6. Television News EAI Application
    TaoQing ·Zhejiang University ·2002 ·Master's thesis
  7. The JMS performance testing software analysis
    ShenDaYong ·Fudan University ·2008 ·Master's thesis
  8. The Research and Application of Message Oriented Middleware Based on JMS in Data Integration System
    HuangSha ·Jinan University ·2008 ·Master's thesis
  9. JMS messaging middleware Research and Implementation
  10. Messaging middleware in the enterprise application integration Application Research
    HouXiangFeng ·Capital University of Economics ·2008 ·Master's thesis
  11. Design and Implementation of Secury Message Oriented Middleware Based on JMS
    LiYiMin ·Guangdong University of Technology ·2011 ·Master's thesis
  12. Research and Implementation of Message-oriented Middleware Based on JMS
    GuanZhaoXu ·Nanchang University ·2010 ·Master's thesis
  13. Stress Test of Commercial Bank’s Real Estate Credit Business: Theory and Practice
    ChenXuSheng ·Shanghai Jiaotong University ·2013 ·Master's thesis
  14. Study on microfinance industry in China pressure testing method based on risk assessment
    YangChunYang ·Southwest Petroleum University ·2013 ·Master's thesis
  15. An Empirical Study of Credit Risk Stress Tests of Commercial Banks
    LiZuo ·Anhui University of Finance ·2014 ·Master's thesis
  16. Banking Risk Management Exploration Based on Financial Engineering
    GaoLei ·Shandong University ·2013 ·Master's thesis
  17. Application of Commercial Banks’ Liquidity Risk Stress Test
    WeiMeng ·Dongbei University of Finance ·2013 ·Master's thesis
  18. Study of Liquidity Risk Stress Tests of Commercial Banks under Impact of Asset Price
    LiuZhiLiang ·Hunan University ·2013 ·Master's thesis
  19. Research on the Relationship of Interest Rate Marketization and the Commercial Bank’s Credit Risk
  20. Macro Stress Testing the Credit Risk of Commercial Banks in China Based on the Worst Case Scenario Analysis
    LiuZuoLiang ·Hunan University ·2013 ·Master's thesis