Load Std - Example 1

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Load Std - Example 1 as PDF for free.

More details

  • Words: 1,447
  • Pages: 10
©2008 Doron Bar. All Rights Reserved



Load Software Test Description (LSTD) Document Version 0.1 Date: dd/mm/yy File name: 9510045.doc

Prepared by:

Page 1 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

Approval Path Name

Position Web QA Team Leader Head of Technical and Release Dept. Portal development team leader Product manager

Date

Signature

Comments

Document Version Control Page File Name:

9510045.doc

Last Modified:

22 October 2008

Written By:

Document version

Date

Author

Approved

Edited By

Contents

By

Page 2 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

Table of Contents

1. Introduction.................................................................................................................................................4 1.1 Purpose......................................................................................................................................................4 1.2 Scope..........................................................................................................................................................4 1.3 Terminology and Acronyms.....................................................................................................................4 1.4 References..................................................................................................................................................4 2. User profiles.................................................................................................................................................5 2.1 Profile 1 – Simple Login...........................................................................................................................5 2.2 Profile 2 –Edit Content.............................................................................................................................5 2.3 Profile 3 – Create Tasks............................................................................................................................5 2.4 Profile 4 – Receive Tasks..........................................................................................................................5 2.5 Profile 5 – Add New Content, e-Mail, Help............................................................................................7 3. Load size and distribution.........................................................................................................................8 3.1 Browser distribution.................................................................................................................................8 3.2 Profiles distribution..................................................................................................................................8 3.3 Load size levels..........................................................................................................................................8 4. Other issues.................................................................................................................................................9 4.1 Profiles synchronization...........................................................................................................................9 4.2 Re-running of the profiles........................................................................................................................9 4.3 Running one profile simultaneously for different users......................................................................10 10

Page 3 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

1.

Introduction

This document serves as the Load Software Test Description for the , . This document defines the ways of testing the application in load mode

1.1

Purpose

The purpose of this LSTD is to present the load software test description will include the following topics: •

Common user profiles



Load size and distribution

1.2

Scope

This document specifies the requirements for testing , which purpose is to be the working environment of different members in an enterprise and to allow enterprise’s trading partners to plan collaboratively. LSTD describes user profiles that will be used for recording and editing test Agendas for load tests. It also describes load size for each of load levels (low, medium, high) and share of each profile (agenda) in overall load created during the test.

1.3

Terminology and Acronyms

LSTP – Load Software Test Plan LSTD – Load Software Test Description RTM – Requirements Matrix. Functional requirements defined by product management.

1.4

N o . (1) (2) (3)

References

Document Title

File name (inc. path)

Comments

LSTP LSTD RTM Page 4 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

2. 2.1 1. 2. 3. 4. 5. 6. 7.

2.2 1. 2. 3. 4. 5. 6. 7. 8.

2.3 1. 2. 3. 4. 5. 6.

2.4

User profiles Profile 1 – Simple Login Process Login: invalid username Login: invalid password Login Personalize Portal user page Choose existing content from Navigation Bar Choose My Home Page (My Portal) on Path Indicator Log-out

Comments

Profile 2 –Edit Content Process Login Edit existing content Choose My Home Page (My Portal) on Path Indicator Personalize Portal user page Edit existing content Choose existing content from Navigation Bar Choose My Home Page (My Portal) on Path Indicator Sleep - remain idle till automatic logout

Comments

Check session timeout settings

Profile 3 – Create Tasks Process Login Personalize Tasks List view Create task for user of profile 4 Open external link from Navigation Bar Send worksheet as task to Profile 4 Log-out

Comments

Profile 4 – Receive Tasks Process

Comments Page 5 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

1. 2. 3. 4. 5. 6. 7. 8. 9. 10.

Login Personalize Tasks List view Refresh Tasks List – Check for tasks received from Profile 3 Open a task (by clicking on it in Tasks List) Mark a task as ‘Done’ Refresh Tasks List Personalize Available Worksheets list Open worksheet – B2B Partner Open received from Profile 4 task – Partner worksheet Log-out

Page 6 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

2.5 1. 2.

Profile 5 – Add New Content, e-Mail, Help Process Login Send e-mail to Portal user by clicking on its name in Who’s

Comments May be problematic to test,

On Line window

because Who’s On Line window is applet, and e-mail opens by Outlook. We can record only HTTP transactions in Web Load

3. 4. 5. 6.

Open On-line Help Close On-line Help Add new content Log-out

Page 7 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

3.

Load size and distribution

3.1

Browser distribution All tests will be executed using IE browser emulation.

3.2

Profiles distribution

Profile

%

Comments

number Profile

distribution 10

1 Profile

20

2 Profile

30

3 Profile

30

4 Profile

10

5

3.3

Load size levels

Load level Low Medium High

Number of virtual

Comments

clients 5 50 10 0

Page 8 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

4. 4.1

Other issues Profiles synchronization

We can synchronize profiles (Web Load agendas) while running tests: 1) First profile sends a task to second profile, and the second profile checks if the task was received. During the test run, the profile that receives the tasks will be run only after the profile that sends the tasks have been accomplished. 2) A user from one profile updates public content, and users with other profiles see the changes. This functional test is not necessary, since our main goal is load testing, but this check could simulate real-world conditions during the tests. We shall postpone this issue for the future.

4.2

Re-running of the profiles

During load tests we will try to re-run the same profiles several times in order to check the stability of the application during a long time period. How can we re-run several times the profile (agenda) that creates a new content (say content named Graph1) each time? The content will be created during the first run, and during the second run of the profile the script will attempt to create a new content with the same name. This can cause to the errors during load session. The similar problem appears while re-running the profile that personalizes contents layout on Portal page. I Possible solutions: Solution 1. Run profiles which makes changes of contents or

Disadvantages We can not run long load tests using these profiles

changes of contents layout in Portal only once. 2. Read the name of a newly created content from

During a long load tests a large number of new

external file during each profile run read. Thus contents

contents will be created. This could worsen the

like Graph1, Graph2, etc. will be created 3. Run profiles which make changes of contents or

performance and create unusual stress conditions.

changes of contents layout in Portal limited number of rounds. Names for new contents will be read from external file (as in solution 2). The best solution, on our opinion, is 3. Profile that creates a new content will be run for a limited number of rounds during the test run. Profiles that edit existing content will be run repeatedly along the whole test run.

Page 9 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

©2008 Doron Bar. All Rights Reserved

This profile will not actually change the settings of the existing content, but only move between the screens of Edit Content wizard.

4.3

Running one profile simultaneously for different users Profile (Web Load agenda) could be run simultaneously for a number of Virtual Clients. Each Virtual Client emulates separate Portal user, which acts in accordance with the steps specified for the profile he belongs to. If we define single user name and password for a profile, then simultaneous run of this profile will lead to the “User is already logged in” message. In order to resolve this problem, the external file containing user names and passwords will be created. Web Load will read this data from the file, assigning different user names and passwords for each of Virtual Clients.

Page 10 of 10

© 2008 Doron Bar All Rights Reserved – Document can be used freely only without changing this footer!!!

Related Documents

Load Std - Example 1
November 2019 7
Load Stp - Example 1
November 2019 12
Example-load-plans
December 2019 13
Lateral Load Example
October 2019 28
Std
May 2020 25
Std
June 2020 20