`
rainy646556896
  • 浏览: 20504 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

Web Service Load Test Strategies

 
阅读更多

Overview

This document provides information on various ways to perform web service load test. Also, provides information on each type of load test goals.

Test Case Selection

In order to perform a good load test, selecting test case(s) is critical. Test case selection should include a combination of sanity and functional tests of web service request. Each selected test cases must verify all required fields/nodes in the web service response.

  • Sanity test case tests whether a web service request is returning valid response based on requirements or not.
  • Functional test case tests whether combination web service request returns desired response or not.

NOTE: In web service load test strategy, it is not necessary to have many different test case scenarios but it is necessary to have test case that covers most required fields/nodes

Strategies

Here are few web service load test strategy reference. These strategies focuses on web service behavior based load test.

  1. Simple: Ramp up number of threads to apply load or run longer for soak test.
  2. Fixed Rate: Simple strategy with TPS (Transactions Per Second) configured. It does not matter how long a web service request takes, next transaction request will automatically start based on configured TPS.
  3. Variable Load: This comprises of following strategies –
    1. Variance: Vary the number of thread web service request over load test runtime.
    2. Burst: This takes variance to its extreme. Apply large number of thread simultaneous web service request for certain period of time continuously and stop for few milliseconds and apply again.
    3. Thread: This linearly changes the number of thread simultaneous web service request from one level to another over the run of load test.
    4. Grid: This is advance version of Burst Strategy. Configure number of simultaneous web service request continuously over time without any stop.

Goals

Before designing web service load test, we must ask ourselves what do we want to achieve via web service load test. Here are some goals that web service load test can provide -

  • Determine web service baseline performance metrics. Choose Simple strategy.
  • Determine how physical server (where web service is running) recovers from serving web service in between load. Choose Burst or Grid strategy.
  • Determine how web service handles and recovers when request congestion occurs. Choose Fixed Rate strategy.
  • Determine at which level certain statistics change or events occur. Choose Thread strategy.
  • Determine web service stress level. Choose Burst or Grid strategy.

Details From SoapUI Site:


 
分享到:
评论

相关推荐

    board_test_strategies.pdf

    在分析给定的文件内容之前,首先需要指出的是,文件标题"board_test_strategies.pdf"表明了这篇文档是一份白皮书,主题是比较不同的电路板测试策略,并特别探讨了CPU模拟技术(CPUEmulation)在其中所能提供的帮助。...

    building restful web services with spring 5 2e

    Building RESTful Web Services ...Comply with the best ways to test RESTful web services, including tips for load testing Optimise and scale web services using techniques such as caching and clustering

    ITIL-Implementation-Service-Management-Strategies-Transcript.pdf

    《ITIL Implementation Service Management Strategies Transcript.pdf》这一文档提供了关于ITIL实施策略的一系列深入探讨,特别是针对实施过程中遇到的关键问题进行了详尽的解答。 #### ITIL实施策略的核心概念与...

    Regression Modeling Strategies.pdf

    Regression Modeling Strategies.pdf

    Cracking the GRE Mathematics Subject Test 4th Edition.pdf

    We teach you only the information you’ll need along with the best strategies for the test day. In this book, you’ll learn how to: •Use our strategies and techniques to boost your accuracy •...

    Applied SOA: Service-Oriented Architecture and dedign strategies

    综上所述,《Applied SOA: Service-Oriented Architecture and Design Strategies》这本书深入探讨了 SOA 的各个方面,包括理论基础、设计原则和技术实现等。对于希望深入了解 SOA 并将其应用于实际项目的专业人士来...

    151 Trading Strategies.pdf

    本书《151 Trading Strategies》详细介绍了151个量化交易策略,并为各个策略提供了超过550个数学公式,覆盖了包括股票、期权、固定收益、期货、ETFs、指数、商品、外汇、可转换债券、结构性资产、波动率(作为一种...

    Analysis of the Teaching Strategies of the Reformed Test of CET4

    Analysis of the Teaching Strategies of the Reformed Test of CET4 and CET6.doc

    藏经阁-Testing Strategies in Microservice architecture.pdf

    Testing Strategies in Microservice Architecture 一文详细介绍了 Microservice 架构中的测试策略,包括 Unit Test、Integration Test、E2E Test 和 Manual Test,以及 Contract Testing 的应用。这些测试策略能够...

    Java Transaction Design Strategies.pdf

    ### Java Transaction Design Strategies知识点概述 #### 一、引言 《Java Transaction Design Strategies》是一本专注于Java事务设计的专业书籍,由Mark Richards编写。本书详细介绍了Java应用程序中的事务处理...

    Mobile Forensics Advanced Investigative Strategies azw3

    Mobile Forensics Advanced Investigative Strategies 英文azw3 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    docker on amazon web services

    You'll explore alternative strategies for deploying and running your Docker applications on AWS, including Fargate and ECS Service Discovery, Elastic Beanstalk, Docker Swarm and Elastic Kubernetes ...

    Kestner L.N. Quantitative trading strategies

    QUANTITATIVE TRADING STRATEGIES Harnessing the Power of Quantitative Techniques to Create a Winning Trading Program

    Algorithmic Trading Winning Strategies and Their Rationale

    ### 算法交易:获胜策略及其原理 #### 核心概念与背景 算法交易(Algorithmic Trading),也称为自动化交易、黑盒交易或量化交易,是指利用预先设定的计算机程序来执行金融市场的买卖指令。这些程序根据事先定义好...

    SAP MRP Strategies Made Easy

    ### SAP MRP 策略详解 #### 一、引言 SAP MRP(Material Requirements Planning)策略是SAP系统中的一个重要组成部分,主要用于管理企业的物料需求计划。它通过预测和跟踪原材料库存以及生产进度来确保及时交货,...

    Monte Carlo Strategies in Scientific Computing liu jun

    《Monte Carlo Strategies in Scientific Computing》是统计学家Jianming Liu于2001年在Springer-Verlag出版社出版的一本专著,该书详细探讨了在科学计算中广泛使用的蒙特卡罗方法。蒙特卡罗方法是一种基于随机抽样...

    Regression modeling strategies second edition

    标题“Regression modeling strategies second edition”和描述“第13章描述了ordinal regression模型、公式以及推导很适合入门。本教材也是SCI高引用文献,做回归分析和适合查阅”暗示了这是一本专注于回归分析策略...

Global site tag (gtag.js) - Google Analytics