load testing report document - university of … · web viewwhen you insert new tables they may...

24
TTU010 Load Testing Report Document Version 1.0 26/10/2015

Upload: others

Post on 02-Jan-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010

Load Testing Report Document

Version 1.026/10/2015

Page 2: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Contents1 Introduction...............................................................................4

2 Load Test Scenarios and Results:................................................52.1 Scenario 1: Course Timetables.....................................................................52.2 Scenario 2: Building Timetables...................................................................82.3 Scenario 3: Combined Courses Timetables................................................122.4 Scenario 4: Room Bookings........................................................................15

3 Conclusion...............................................................................20

Page 2 of 21

Page 3: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Document managementRole Unit Name

Technical Architect Development Technology

Emilio Perez

Other contributors

Version controlDate Version Author Sections Amendments

26/10/2015 1.0 Emilio Perez All Initial draft.

Some keyboard shortcuts have been added to this document: Alt-P changes to paragraph style; Alt-N changes to normal style; Alt-R changes to preformatted style; Alt-C changes to code character format, use Ctrl-Spacebar to clear; Alt-1, Alt-2 and Alt-3 create headings; Alt-B creates a bulleted list and Alt-0 (zero) creates a numbered list. You can also create appendices using the Shift-Alt-1, Shift-Alt-2 and Shift-Alt-3 shortcuts.

When you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this issue, select all rows and change to normal style (Alt-N). You can change the heading style of a table by placing the cursor anywhere inside it, selecting the Design tab and clicking one of the first three table designs.

To update the table of contents and any cross-references, hit ctrl-A to select all then F9, choose ‘update entire table’ and click OK. You might also want to select ‘update fields before printing’ under File > Options > Display > Printing Options.

Page 3 of 21

Page 4: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

1 IntroductionThe TTU010 Load Testing was carried out on both the old and new Test environments in order to compare the performance of the upgraded new environment with the previous version environment.

As on previous years the Load Testing mainly measured the response times of the web page requests and the servers (Web server and Database server) load. There are 4 scenarios that cover the main user operations on the Web Timetables and the Web Room Booking services.Each Test Scenario was kept running for 30 minutes in order to have enough operations samples and monitor the server load for a prolonged period of time.

Page 4 of 21

Page 5: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

2 Load Test Scenarios and Results:

2.1 Scenario 1: Course Timetables

Old Test Environment:

Summary:

Response Times Distribution:

Response Times Over Time:

Page 5 of 21

Page 6: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Transactions per second:

New Test Environment:

Page 6 of 21

Page 7: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Summary:

Response Times Distribution:

Response Times Over Time:

Transactions per second:

Page 7 of 21

Page 8: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Comparison and results:

As we can see on the graphs of both old and new environments, the new environment got slightly better response times in general. Note that the new environment got higher Maximum response times because the requests had not previously been cached as it is the case with the old environment where all the tests were run a few times before the recorded test on this document.At the expected load, the web server responded within reasonable good times and the CPU usage in both environments was below the expected threshold, although significantly better on the new environment:

CPU usage avg Web server / DB server (Old Env) CPU usage avg Web server / DB server (New Env)40% / 50% 25% / 30%

After a load pattern of 40 timetables per minute sustained for 30 minutes, both the Web and the Database servers did not show any sign of increase on the CPU and memory load. In fact, the memory usage remained constant during the tests, hence there was no need to include it on the document.The average response time for this scenario (Display Course Timetables) was below 0.50 seconds in both environments.

Page 8 of 21

Page 9: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

2.2 Scenario 2: Building Timetables

Old Test Environment:

Summary:

Response Times Distribution:

Response Times Over Time:

Page 9 of 21

Page 10: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Transactions per second:

New Test Environment:

Summary:

Response Times Distribution:

Page 10 of 21

Page 11: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Response Times Over Time:

Transactions per second:

Page 11 of 21

Page 12: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Comparison and results:

In this Test Scenario the new environment got better minimum response times again. However, the response times over time graph shows that the new environment had more instances where the response times were above 1 second.

As on the Test Scenario 1 the CPU usage in both environments was below the expected threshold and exactly the same on both environments in this particular scenario:

CPU usage avg Web server / DB server (Old Env) CPU usage avg Web server / DB server (New Env)20% / 20% 20% / 20%

After a load pattern of 20 timetables per minute sustained for 30 minutes, both the Web and the Database servers did not show any sign of increase on the CPU and memory load. Memory usage was also constant throughout the test.

The transactions per second graph also shows a better throughput per second than the old environment as the new environment reached up to 5 transactions per second and the old environment only reached 3.

The average response time for this scenario (Display Building Timetables) was below 0.50 seconds in both environments.

Page 12 of 21

Page 13: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

2.3 Scenario 3: Combined Courses Timetables

Old Test Environment:

Summary:

Response Times Distribution:

Response Times Over Time:

Transactions per second:

Page 13 of 21

Page 14: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

New Test Environment:

Summary:

Response Times Distribution:

Response Times over Time:

Page 14 of 21

Page 15: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Transactions per second:

Comparison and results:

Page 15 of 21

Page 16: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Test Scenario 3 showed better minimum response times. However, the response times over time graph shows that the new environment had more instances where the response times were above 1 second. As these differences in response times are so small it does not have an impact on the average response times.

In this Scenario the CPU usage in both environments was below the expected threshold and significantly lower on the new environment servers:

CPU usage avg Web server / DB server (Old Env) CPU usage avg Web server / DB server (New Env)20% / 25% 3% / 15%

After a load pattern of 8 timetables per minute sustained for 30 minutes, both the Web and the Database servers did not show any sign of increase on the CPU and memory load. Memory usage was also constant throughout the test.

The average response time for this scenario (Display Combined Courses Timetables) was below 0.70 seconds in both environments.

Page 16 of 21

Page 17: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

2.4 Scenario 4: Room Bookings

Old Test Environment:

Summary:

Response Times Distribution:

Response Times Over Time:

Page 17 of 21

Page 18: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Transactions per Second:

New Test Environment:

Summary:

Response Times Distribution:

Page 18 of 21

Page 19: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Response Times Over Time:

Transactions per Second:

Page 19 of 21

Page 20: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

Comparison and results:

The Test Scenario 4 showed better overall performance on both Response Times and CPU usage for the New environment in comparison with the Old environment.

In this Scenario the CPU usage in both environments was again below the expected threshold and significantly lower on the Web server of the new environment:

CPU usage avg Web server / DB server (Old Env) CPU usage avg Web server / DB server (New Env)20% / 25% 5% / 25%

After a load pattern of 8 bookings per minute sustained for 30 minutes, both the Web and the Database servers did not show any sign of increase on the CPU and memory load. Memory usage was also constant throughout the test.

The average response time for this scenario (Web Room Bookings) was below 0.15 seconds in both environments, and the average Room booking total time was below 6 seconds assuming an automatic Room Booking (in this case, using a Jmeter script).

Page 20 of 21

Page 21: Load Testing Report Document - University of … · Web viewWhen you insert new tables they may appear too big because of the formatting of the default paragraph style. To fix this

TTU010Load Testing Report Document Version 1.0 26/10/2015

3 ConclusionThe overall response times for the four test scenarios were very similar in both environments. However, the new environment showed slightly better response times mainly on the “minimum response times” of the script requests. Also, the CPU usage of the Web server on the new environment was significantly better on Scenarios 3 and 4.

Although the Load Testing does not reflect all the variables that can affect the performance on the Live service, however it has shown a positive result for the new upgraded environment over the old one.

Page 21 of 21