144
www.breakingpoint.com © 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc. All other trademarks are the property of their respective owners. 1 Rethink Server Load Testing Rethink Server Load Testing Guidelines to measure the performance, security, and stability of application and web servers under real-world network conditions

Load Test Methodology: Server Load Testing

  • Upload
    ixia

  • View
    1.493

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

1

Rethink Server Load Testing

Rethink Server Load TestingGuidelines to measure the performance, security, and stability of application and web servers under real-world network conditions

Page 2: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

2

Rethink Server Load Testing

Table of ContentsIntroduction .................................................................................................................................................................................................................... 3

Load Generator: HTTP Status Codes ...................................................................................................................................................................... 5

Load Generator: HTTP Client Login ........................................................................................................................................................................ 25

Load Generator: HTTP Verify Page .......................................................................................................................................................................... 39

Load Generator: SMB Login, Create, Read and Delete Files ........................................................................................................................... 53

Load Generator: Sending and Retrieving Email using SMTP and IMAP .................................................................................................... 69

Load Generator: Sending and Retrieving Email using SMTP and POP3 .................................................................................................... 93

Load Generator: Using MS SQL to add and query a database ...................................................................................................................... 111

Load Generator: Using MySQL to add and query a database ....................................................................................................................... 128

About BreakingPoint ................................................................................................................................................................................................... 144

Page 3: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

3

Rethink Server Load Testing

IntroductionWhat is the capacity of your data center? Will it withstand peak user load? What about attack? Will a simple distributed denial-of-service

attack disrupt critical business transactions? And what about those new high-performance enterprise servers you are evaluating? Will they

really live up to the promises promoted in the vendor’s data sheet?

If you cannot properly measure your servers’ performance, security and stability, you won’t have any defensible answers to these questions.

Your business performance and reputation are at risk, and it’s time to take a new approach to hardening your data center and establishing

server load resiliency.

Measuring server resiliency is about knowing how they will weather hostile conditions, including attack and extreme load, and optimizing

your overall performance to drive business results. Understanding the resiliency of your data center or cloud infrastructure, in the face of

high-stress traffic and cyberattack, requires the ability to simulate user behavior and load at incredibly high performance and throughput

levels. Software-based server load testing, developed more than a decade ago, no longer meets today’s mega-data-center requirements.

The BreakingPoint Server Load Resiliency Methodology provides a guideline for measuring server and data center resiliency in the face of

real-world application traffic, live security attacks and the stress from millions of users. With the ability to simulate these real-world hostile

conditions using the BreakingPoint Cyber Tomography Machine, you can pinpoint hidden stress fractures and calculate a defensible

resiliency score for the certainty you need to mitigate IT risks and drastically reduce costs.

With the breakthrough power of cyber tomography, BreakingPoint provides realistic network simulation of millions of simultaneous user

sessions with blended, realistic application traffic from a small footprint product, eliminating costly racks of servers and software licenses.

BreakingPoint products can help you stress and score your critical network infrastructure with real-world network conditions to:

• Reduce risks associated with data center consolidation or migration

• Improve availability and performance to reduce outages and prevent lost customers, revenue and productivity

• Measure and optimize capacity to deliver the right balance of performance, security and stability in the face of escalating traffic

volume

• Assess resiliency against attack and data loss to mitigate security breaches

• Make better IT investment decisions and eliminate the need for sprawling performance and security test labs

The BreakingPoint Server Load Resiliency Methodology includes the following simulations:

Load Generator: HTTP Status Codes

Determine the ability of the Web server to correctly respond to Web page requests. This will help validate the performance of the Web server and verify whether it is able to correctly handle the number of requests. A Client Simulator component will be used, along with Perl Regular Expressions, to determine the returned HTTP status codes from the Web server.

Load Generator: HTTP Client LoginDetermine the ability of the Web server to correctly handle restricted Web space and still be able to respond to Web page requests cor-rectly. This will help validate the performance of the Web server while it is also performing other tasks, and verify whether it is able to still handle a high volume of requests. A ClientSim component will be used, along with Perl Regular Expressions, to determine the returned HTTP status codes.

Load Generator: HTTP Verify PageThis verifies whether the Web server is correctly responding and whether the Web page is correctly being transmitted. A Web page that resides on the Web server will be uploaded to the BreakingPoint Storm CTM. The Client Simulator component will request this page and it will be verified as being either correct or incorrect.

Page 4: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

4

Rethink Server Load Testing

Load Generator: SMB Login, Create, Read and Delete FilesThis determines the ability of an SMB share. The SMB share will be stressed by having multiple files created, read and deleted. If any of these actions fail, the SMB share is either not configured correctly or unable to support the required load. A Client Simulator component will be used and the SMB results will be verified.

Load Generator: Sending and Retrieving Email using SMTP and IMAPThis is a two-step process involving both SMTP and IMAP. This simulation will determine the ability of the SMTP server to successfully trans-mit emails. After emails have been sent to a valid email address, IMAP will be used to retrieve those newly received emails. To verify that the simulation was successful, the email server will be checked to make sure that the emails have been received and opened.

Load Generator: Sending and Retrieving Email using SMTP and POP3This is a two-step process involving both SMTP and POP3. This simulation will determine the ability of the SMTP server to successfully trans-mit emails. After emails have been sent to a valid email address, POP3 will be used to retrieve those newly received emails. To verify that the simulation was successful, the email server will be checked to make sure that the emails have been received and opened.

Load Generator: Using MS SQL to add and query a databaseThis will determine the ability and configuration of an MS SQL database. The simulation involves first adding new content to an empty data-base. Once new content has successfully been added, it will be queried. The database will be viewed to make sure that the data added to it is actually present in the database.

Load Generator: Using MySQL to add and query a databaseThis will determine the ability and configuration of a MySQL database. The simulation involves first adding new content to an empty data-base. Once new content has successfully been added, it will be queried. The database will be viewed to make sure that the data added to it is actually present in the database.

The following methodology was performed using BreakingPoint OS version 1.4.1 and ATI Pack 59235. For more information on BreakingPoint products, solutions and services visit www.breakingpoint.com.

Page 5: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

5

Rethink Server Load Testing

Load Generator: HTTP Status Codes

RFC:• RFC 2616 – Hypertext Transfer Protocol

Overview:

A new Super Flow will be created on the BreakingPoint Storm CTM. The Super Flow will be configured to download a single Web page from

the Web server and then a conditional request will be used to track the HTTP status codes returned. The results from the returned HTTP

status codes will be analyzed.

Objective:

To evaluate the ability of the HTTP server to respond to multiple requests.

Setup:

Page 6: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

6

Rethink Server Load Testing

1. Launch your favorite Web browser and connect to the BreakingPoint Storm CTM. Click Start BreakingPoint Systems Control Center once the page loads.

2. In the new window that appears, type your Login ID and Password. Click Login.

Page 7: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

7

Rethink Server Load Testing

3. Reserve the required port to run the test.

4. Select Control Center Network Neighborhood.

Page 8: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

8

Rethink Server Load Testing

5. Under the Network Neighborhoods heading, click the Create a new network neighborhood button.

6. In the Give the new network neighborhood a name box, enter Load Generator as the name and click Ok.

Page 9: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

9

Rethink Server Load Testing

7. Notice multiple Interface tabs are available for configuration. Only one is required for the tests. The first interface tab should be selected. Click the X to delete this interface. When prompted about removing the interface, click Yes. The remaining interfaces will be renamed. Repeat this process until only one interface remains.

8. With Interface 1 selected, click the Show subnet details button.

Page 10: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

10

Rethink Server Load Testing

9. Configure the Network IP Address, Network Mask, Gateway IP Address (if required); use the Type drop-down menu to select Host, and then configure the Minimum IP Address, and the Maximum IP Address. Click Accept.

10. Select the External tab and then click the Delete range button.

Page 11: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

11

Rethink Server Load Testing

11. When prompted about being sure about deleting the subnet, click Yes.

12. Click the Create a new range button.

Page 12: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

12

Rethink Server Load Testing

13. Enter the Minimum IP Address. The Maximum IP Address should automatically be filled in. Click Create once completed.

14. Finally, click Save Network.

Page 13: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

13

Rethink Server Load Testing

15. Now that the Network Neighborhood has been created, the Super Flow can be configured. Select Managers à Application Manager.

16. Select the Super Flows tab and click the create a new Super Flow button.

Page 14: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

14

Rethink Server Load Testing

17. Enter HTTP Status as the name of the new Super Flow and click Ok.

18. In the Define Flows section, use the Protocol drop-down menu and select HTTP. Click Add Flow once completed.

19. Make sure that the new flow has been selected in the Define Flows field. In the Define Actions field using the Action drop-down menu, select Client: GET.

Click the Add Action button once completed.

Page 15: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

15

Rethink Server Load Testing

20. Again, using the Action drop-down menu, select Client: Conditional Request. Click the Add Action button once completed.

21. Select the first action in the Define Actions section. Click the Edit the selected actions parameters button.

22. Enable Request path (e.g., /dir/page.htm) and enter a known Web page on your server, i.e. /index.html. Click Apply Changes once completed.

Page 16: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

16

Rethink Server Load Testing

23. Next, select the second action in the Define Actions section. Click the Edit the selected actions parameters button.

24. The Conditional Request window allows for regular expressions (regex). The syntax of the regex follows the Perl standard. This test is going to verify status codes sent by the server. The first Match field should contain a regex that will match a 200-page response, while the second Match should match any 300-page responses, and the third Match should match any 500-page responses. Make sure the Regex radio button is selected for each Match field. Click Apply Changes once completed.

Page 17: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

17

Rethink Server Load Testing

25. Once completed, click Save Super Flow.

26. Select Test New Test.

27. Under the Test Quick Steps, click Select the DUT/Network.

Page 18: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

18

Rethink Server Load Testing

28. In the Choose a device under test and network neighborhood window under the Device Under Test(s) section, verify that BreakingPoint Default is selected. Under Network Neighborhood(s), verify that the newly created one is selected. Click Accept.

29. When prompted about switching Network Neighborhoods because the current setup contains more interfaces, click Yes.

Page 19: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

19

Rethink Server Load Testing

30. Under Test Quick Steps, click Add a Test Component.

31. In the Select a component type window, click Client Simulator (L7).

32. Under the Information tab, enter HTTP Status Codes as the name and click Apply Changes.

Page 20: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

20

Rethink Server Load Testing

33. Select the Interfaces tab. Verify that only External Server and Interface 1 Client are enabled and click Apply Changes.

34. Select the Parameters tab. Several parameters will be changed in this section. The first parameter that needs to be updated is the Minimum data rate. Enter a value of 1000 (if your server supports gigabit Ethernet) and click Apply Changes.

35. The next parameter to be changed is the Steady-State Seconds. Update this to a run time of 5 minutes and click Apply Changes.

Page 21: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

21

Rethink Server Load Testing

36. Next, both Maximum Simultaneous Sessions and Maximum Sessions Per Second will be updated. Enter values that your server is expected to be able to handle and click Apply Changes.

37. The last parameter that needs to be changed is selecting the Super Flow that was created earlier. Using the Super Flow drop-down menu select HTTP Status and click Apply Changes.

38. Under Test Quick Steps select Save and Run.

Page 22: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

22

Rethink Server Load Testing

39. When prompted for a name to save the test as, enter Load Generator HTTP Status and click Save.

The Summary tab initially will be displayed. A great amount of information is seen on this screen, from the TCP Connection Rate to the Cumulative TCP Connections to the Bandwidth being used.

Page 23: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

23

Rethink Server Load Testing

40. Select the Client tab. This displays information about the client’s connections and if they are successful or not. Verify that connections are successfully being made.

41. Once the test completes, a window will appear stating the test passed. Click Close to continue.

Page 24: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

24

Rethink Server Load Testing

42. Next, select the View the report button.

43. Expand the Test Results for HTTP Status Codes folder, and then expand the Details folder. Select Response Summary. Determine what code pages were sent. Every page should have responded with an HTTP/1.1 200.

Page 25: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

25

Rethink Server Load Testing

Load Generator: HTTP Client Login

RFC:• RFC 2616 – Hypertext Transfer Protocol

Overview:

The BreakingPoint Storm CTM will be configured to access a single Web page that is password protected. A Super Flow will be created that

provides the ability to log in to the Web page. The HTTP status codes will be viewed to determine if the logins were successful.

Objective:

To evaluate the ability of the HTTP server to handle password restricted pages and respond to multiple requests.

Setup:

Page 26: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

26

Rethink Server Load Testing

1. Launch your favorite Web browser and connect to the BreakingPoint Storm CTM. Click Start BreakingPoint Systems Control Center once the page loads.

2. In the new window that appears, type your Login ID and Password. Click Login.

Page 27: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

27

Rethink Server Load Testing

3. Reserve the required port to run the test.

4. Select Managers Application Manager to configure a new Super Flow for this test.

Page 28: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

28

Rethink Server Load Testing

5. Select the Super Flows tab and click the Create a new Super Flow button.

6. Enter HTTP Client Login as the name of the new Super Flow and click Ok.

Page 29: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

29

Rethink Server Load Testing

7. In the Define Flows section, use the Protocol drop-down menu and select HTTP. Click Add Flow once completed.

8. Make sure the new flow has been selected in the Define Flows field. In the Define Actions field using the Action drop-down menu, select Client: GET (authenticated). Click the Add Action button once completed.

9. Again, using the Action drop-down menu, select Client: Conditional Request. Click the Add Action button once completed.

Page 30: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

30

Rethink Server Load Testing

10. Select the first action in the Define Actions section. Click the Edit the selected actions parameters button.

11. Using the HTTP Auth Scheme drop-down menu, choose the correct type of authentication. Next, enable both Username and Password making sure to enter a valid username and password in those fields. Finally, enable Request path (e.g., /dir/page.htm) and enter a known Web page on your server and click Apply Changes once completed.

12. Next, select the second action in the Define Actions section. Click the Edit the selected actions parameters button.

Page 31: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

31

Rethink Server Load Testing

13. The Conditional Request window allows for regular expressions. The syntax of the regular expressions follows the Perl standard. This test will verify status codes sent by the server. The first Match field should contain a regex that will match a 200-page response, while the second Match should match any 300-page responses, and the third Match should match any 500-page responses. Make sure the Regex radio button is selected for each Match field. Click Apply Changes once completed.

14. Once completed, click Save Super Flow.

Page 32: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

32

Rethink Server Load Testing

15. Select Test à New Test.

16. Under the Test Quick Steps, click Select the DUT/Network.

17. In the Choose a device under test and network neighborhood window under the Device Under Test(s) section, verify that BreakingPoint Default is selected. Under Network Neighborhood(s), verify that the newly created one is selected. Click Accept.

Page 33: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

33

Rethink Server Load Testing

18. When prompted about switching Network Neighborhoods because the current setup contains more interfaces, click Yes.

19. Under Test Quick Steps, click Add a Test Component.

20. In the Select a component type window, click Client Simulator (L7).

Page 34: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

34

Rethink Server Load Testing

21. Under the Information tab, enter HTTP Login as the Name and click Apply Changes.

22. Select the Interfaces tab. Verify that only External Server and Interface 1 Client are enabled.

23. Select the Parameters tab. Several parameters will be changed in this section. The first parameter that needs to be updated is the Minimum data rate. Enter a value of 1000 (if your server supports gigabit Ethernet) and click Apply Changes.

Page 35: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

35

Rethink Server Load Testing

24. The next parameter to be changed is the Steady-State Seconds. Update this to a run time of 5 minutes and click Apply Changes.

25. Next, both Maximum Simultaneous Sessions and Maximum Sessions Per Second will be updated. Enter values that your server is expected to be able to handle and click Apply Changes.

26. The last parameter that needs to be changed is selecting the Super Flow that was created earlier. Using the Super Flow drop-down menu select HTTP Client Login and click Apply Changes.

Page 36: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

36

Rethink Server Load Testing

27. Under Test Quick Steps select Save and Run.

28. When prompted for a name to save the test as, enter Load Generator HTTP Login and click Save.

The Summary tab initially will be displayed. A great amount of information is seen on this screen, from the TCP Connection Rate to the Cumulative TCP Connections to the Bandwidth being used.

Page 37: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

37

Rethink Server Load Testing

29. Select the Client tab. This displays information about the client’s connections and if they are successful or not. Verify that connections are successfully being made.

30. Once the test completes, a window will appear stating that the test passed. Click Close to continue.

Page 38: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

38

Rethink Server Load Testing

31. Next, select the View the report button.

32. Expand the Test Results for HTTP Login folder, and then expand the Details folder. Select Response Summary. Determine what code pages were sent—every page should have responded with an HTTP/1.1 200.

Page 39: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

39

Rethink Server Load Testing

Load Generator: HTTP Verify Page

RFC:• RFC 2616 – Hypertext Transfer Protocol

Overview:

A new Super Flow will be created on the BreakingPoint Storm CTM. The Super Flow will be configured to download a single Web page

from the Web server and then a conditional request will be used to track the HTTP status codes returned. The page then will be verified to

determine that it was correctly received.

Objective:

To evaluate the ability of the HTTP server to respond to multiple requests and successfully transmit the Web page correctly.

Setup:

Page 40: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

40

Rethink Server Load Testing

1. Launch your favorite Web browser and connect to the BreakingPoint Storm CTM. Click Start BreakingPoint Systems Control Center once the page loads.

2. In the new window that appears, type your Login ID and Password. Click Login.

Page 41: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

41

Rethink Server Load Testing

3. Reserve the required port to run the test.

4. Select Managers Application Manager to configure a new Super Flow for this test.

Page 42: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

42

Rethink Server Load Testing

5. Select the Super Flows tab and locate HTTP Status Super Flow and click Save As.

6. Enter HTTP Verify File as the name of the new Super Flow and click Ok.

Page 43: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

43

Rethink Server Load Testing

7. Make sure the flow has been selected in the Define Flows field. In the Define Actions field using the Action drop-down menu, select Server: Verify File.

Click the Add Action button once completed.

8. Select the newly added action in the Define Actions section. Click the Edit the selected actions parameters button.

Page 44: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

44

Rethink Server Load Testing

9. Click the Import File to verify link.

10. Locate the correct file using the Browse button. Click the Upload button once the file has been selected.

Page 45: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

45

Rethink Server Load Testing

11. Enable File to verify and using the drop-down menu, select the newly uploaded file. Click Apply Changes once completed.

12. Once completed, click Save Super Flow.

13. Select Test New Test.

Page 46: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

46

Rethink Server Load Testing

14. Under the Test Quick Steps, click Select the DUT/Network.

15. In the Choose a device under test and network neighborhood window under the Device Under Test(s) section, verify that BreakingPoint Default is selected. Under Network Neighborhood(s), verify that the newly created one is selected. Click Accept.

Page 47: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

47

Rethink Server Load Testing

16. When prompted about switching Network Neighborhoods because the current setup contains more interfaces, click Yes.

17. Under Test Quick Steps, click Add a Test Component.

18. In the Select a component type window, click Client Simulator (L7).

Page 48: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

48

Rethink Server Load Testing

19. Under the Information tab, enter HTTP Verify as the name and click Apply Changes.

20. Select the Interfaces tab. Verify that only External Server and Interface 1 Client are enabled.

21. Select the Parameters tab. Several parameters will be changed in this section. The first parameter that needs to be updated is the Minimum data rate. Enter a value of 1000 (if your server supports gigabit Ethernet) and click Apply Changes.

Page 49: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

49

Rethink Server Load Testing

22. The next parameter to be changed is the Steady-State Seconds. Update this to a run time of 5 minutes and click Apply Changes.

23. Next, both Maximum Simultaneous Sessions and Maximum Sessions Per Second will be updated. Enter values that your server is expected to be able to handle and click Apply Changes.

24. The last parameter that needs to be changed is selecting the Super Flow that was created earlier. Using the Super Flow drop-down menu, select HTTP Verify File and click Apply Changes.

Page 50: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

50

Rethink Server Load Testing

25. Under Test Quick Steps, select Save and Run.

26. When prompted for a name to save the test as, enter Load Generator HTTP Verify and click Save.

The Summary tab initially will be displayed. A great amount of information is seen on this screen, from the TCP Connection Rate to the Cumulative TCP Connections to the Bandwidth being used.

Page 51: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

51

Rethink Server Load Testing

27. Select the Client tab. This displays information about the client’s connections and if they are successful or not. Verify that connections are successfully being made.

28. Once the test completes, a window will appear, stating that the test either passed or failed. If the test failed, it is because not enough pages were verified as being correct. Click Close to continue.

Page 52: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

52

Rethink Server Load Testing

29. Next, select the View the report button.

30. Expand the Test Results for HTTP Verify folder, and then expand the Details folder. Select Response Summary. Determine what code pages were sent—every page should have been responded with an HTTP/1.1 200. This step is just a way to verify that pages were received with the correct status code.

Page 53: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

53

Rethink Server Load Testing

Load Generator: SMB Login, Create, Read and Delete Files

RFC:• RFC 1001 – Protocol Standard for a NetBIOS service on a TCP/UDP transport: Concepts and Methods

• RFC 1002 – Protocol Standard for a NetBIOS service on a TCP/UDP transport: Detailed specifications

• RFC 1088 – Standard for the transmission of IP datagrams over NetBIOS networks

Overview:

A new Super Flow will be created that logs into a SMB share. Once logged into the SMB share, the Super Flow will create new files on the

share, and read the files to make sure they were correctly created and finally delete the files. If the share being tested does not allow for

some of these actions to be performed, then that part of the test can be removed. This test will help verify that the SMB server is correctly

configured and able to support the required load.

Objective:

To evaluate the ability of the SMB server to accept logins and create, read and delete multiple files.

Setup:

Page 54: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

54

Rethink Server Load Testing

1. Launch your favorite Web browser and connect to the BreakingPoint Storm CTM. Click Start BreakingPoint Systems Control Center once the page loads.

2. In the new window that appears, type your Login ID and Password. Click Login.

Page 55: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

55

Rethink Server Load Testing

3. Reserve the required port to run the test.

4. Select Managers Application Manager to configure a new Super Flow for this test.

Page 56: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

56

Rethink Server Load Testing

5. Select the Super Flows tab and click the Create a new Super Flow button.

6. Enter SMB Client Actions as the name of the new Super Flow and click Ok.

Page 57: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

57

Rethink Server Load Testing

7. In the Define Flows section use the Protocol drop-down menu and select SMB File Stress. Click Add Flow once completed.

8. Make sure the new flow has been selected in the Define Flows field. In the Define Actions field using the Action drop-down menu, select Client: Authenticate. Click the Add Action button once completed.

9. Using the Action drop-down menu select Client: Write file to share, Client: Read file from share, Client: Delete file from share, Client: Goto and Client: Disconnect. Click the Add Action button to add each one individually.

Page 58: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

58

Rethink Server Load Testing

10. Select the Client: Authenticate action in the Define Actions section. Click the Edit the selected actions parameters button.

11. Enable Share Name, Username, and Password. Enter a valued share in the Share Name field. Also, enter a valid username and password in the respective fields. Make sure the user being used has full read and write permissions on the share. Finally, the Protocol Version drop-down menu can be used to select either SMB or SMBv2. Click Apply Changes once completed.

Page 59: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

59

Rethink Server Load Testing

12. Select Client: Write file to share in the Define Actions section. Click the Edit the selected actions parameters button.

13. Enable File Name and enter smb-test%f-%g.txt. The %f is a wild card for the flow ID and the %g is a wild card for the Goto loop iteration number. If desired, enter values for the Minimum Random Filesize and the Maximum Random Filesize parameters. Once completed, click Apply Changes.

14. Select Client: Read file from share in the Define Actions section. Click the Edit the selected actions parameters button.

Page 60: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

60

Rethink Server Load Testing

15. Enable File Name and enter the same string of text as before, smb-test%f-%g.txt.

16. Select Client: Delete file from share in the Define Actions section. Click the Edit the selected actions parameters button.

17. Enable File Name and enter the same string of text as before, smb-test%f-%g.txt.

Page 61: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

61

Rethink Server Load Testing

18. Select Client: Goto in the Define Actions section. Click the Edit the selected actions parameters button.

19. Using the Goto Action drop-down menu, select 2:Write file to share. Enter a value of 5 in the Iterations field. This will loop over the write, read and delete actions five times.

20. Once completed, click Save Super Flow.

Page 62: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

62

Rethink Server Load Testing

21. Select Test New Test.

22. Under the Test Quick Steps, click Select the DUT/Network.

23. In the Choose a device under test and network neighborhood window under the Device Under Test(s) section, verify that BreakingPoint Default is selected. Under Network Neighborhood(s), verify that the newly created one is selected. Click Accept.

Page 63: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

63

Rethink Server Load Testing

24. When prompted about switching Network Neighborhoods because the current setup contains more interfaces, click Yes.

25. Under Test Quick Steps, click Add a Test Component.

26. In the Select a component type window, click Client Simulator (L7).

Page 64: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

64

Rethink Server Load Testing

27. Under the Information tab, enter SMB File Stress as the name and click Apply Changes.

28. Select the Interfaces tab. Verify that only External Server and Interface 1 Client are enabled.

29. Select the Parameters tab. Several parameters will be changed in this section. The first parameter that needs to be updated is the Minimum data rate. Enter a value of 1000 (if your server supports gigabit Ethernet) and click Apply Changes.

Page 65: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

65

Rethink Server Load Testing

30. The next parameter to be changed is the Steady-State Seconds. Update this to a run time of 5 minutes and click Apply Changes.

31. Next, both Maximum Simultaneous Sessions and Maximum Sessions Per Second will be updated. Enter values that your server is expected to be able to handle and click Apply Changes.

32. The last parameter that needs to be changed is selecting the Super Flow that was created earlier. Using the Super Flow drop-down menu select SMB Client Actions and click Apply Changes.

Page 66: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

66

Rethink Server Load Testing

33. Under Test Quick Steps select Save and Run.

34. When prompted for a name to save the test as, enter Load Generator SMB and click Save.

The Summary tab initially will be displayed. A great amount of information is seen on this screen, from the TCP Connection Rate to the Cumulative TCP Connections to the Bandwidth being used.

Page 67: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

67

Rethink Server Load Testing

35. Select the Client tab. This displays information about the client’s connections and if they are successful or not. Verify that connections are successfully being made.

36. Once the test completes, a window will appear, stating that the test passed. Click Close to continue.

Page 68: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

68

Rethink Server Load Testing

37. Next, select the View the report button.

38. Expand the Test Results for SMB File Stress Login folder. Select SMB Summary. Determine that files were successfully written, read and deleted. Also, log in to the share or check on the server that the files were deleted too.

Page 69: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

69

Rethink Server Load Testing

Load Generator: Sending and Retrieving Email using SMTP and IMAP

RFC:• RFC 2060 – Internet Message Access Protocol

• RFC 821 – Simple Mail Transfer Protocol

Overview:

A new Super Flow will be created that sends emails using the SMTP server. These emails will then be retrieved using IMAP. The emails will

be deleted to help keep the mailbox clean. This will help to verify that the SMTP and IMAP servers are both able to handle the required load

and are correctly configured to allow emails to be sent, received and retrieved without any troubles.

Objective:

To evaluate the ability of the SMTP server to send and receive emails and the ability of the IMAP server to handle the requests to retrieve

emails.

Setup:

Page 70: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

70

Rethink Server Load Testing

1. Launch your favorite Web browser and connect to the BreakingPoint Storm CTM. Click Start BreakingPoint Systems Control Center once the page loads.

2. In the new window that appears, type your Login ID and Password. Click Login.

Page 71: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

71

Rethink Server Load Testing

3. Reserve the required port to run the test.

4. Select Managers Application Manager to configure a new Super Flow for this test.

Page 72: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

72

Rethink Server Load Testing

5. Select the Super Flows tab. Locate the BreakingPoint ClientSim SMTP and click the Save As link.

6. Enter Load Generator SMTPIMAP as the name and click the Ok button.

Page 73: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

73

Rethink Server Load Testing

7. In the Define Actions sections, select the first item and click the Edit the selected actions parameters button.

8. In the Conditional Request window, make sure that the first Match field is the only field that has data in it. Delete any other information. Also, make sure that the first Match field has Regex enabled. Once completed, click the Apply Changes button.

Page 74: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

74

Rethink Server Load Testing

9. Select the third item, Client: Send email and click the Edit the selected parameters button.

10. Change both the Protocol FROM Username and the Protocol RCPT Username to valid email addresses. Click Apply Changes once completed.

11. Click the Create a new flow button in the Define Flows section.

Page 75: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

75

Rethink Server Load Testing

12. Using the Server drop-down menu, select SMTP Server. As the SMTP server and the IMAPv4 Server reside on the same system, another server does not need to be created. Using the Protocol drop-down menu, select IMAPv4-Advanced. Click Add Flow.

13. With the newly added flow selected in the Define Actions field using the Action drop-down menu, select Client: Conditional Request. Click Add Action.

Page 76: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

76

Rethink Server Load Testing

14. Using the Action drop-down menu select Client: Login and click the Add Action button.

15. Again, using the Action drop-down menu, add another Client: Conditional Requests.

16. Using the Action drop-down menu, select Client: Fetch and click the Add Action button.

Page 77: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

77

Rethink Server Load Testing

17. Using the Action drop-down menu, select Client: Logout and click the Add Action button.

18. Using the Action drop-down menu, select Server: Bye and click the Add Action button.

19. Locate the first IMAPv4-Advanced action. Click the Edit the selected action parameters button.

Page 78: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

78

Rethink Server Load Testing

20. Disable the Transaction Flag box and enter * OK in the first Match field and OK in the second. Scroll down to the Mismatch section. Locate Client: Goto in the Actions drop-down menu. Click Add Action.

Page 79: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

79

Rethink Server Load Testing

21. Select the newly added action and click Edit the selected action parameters.

22. Change the Goto Action to 11: Logout and click Apply Changes.

23. Again, back in the Conditional Request window, click Apply Changes.

Page 80: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

80

Rethink Server Load Testing

24. Select the Client: Login action and click the Edit the select action parameters button.

25. Disable Transaction Flag and Starting Tag Value (0 == Random). Enable both Username and Password entering in the correct value for both. Click Apply Changes once completed.

26. Select the third item, Client: Conditional Request and click the Edit the select action parameters button.

Page 81: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

81

Rethink Server Load Testing

27. Disable Transaction Flag and for the first Match enable Regex and enter [\x21-\x7f] OK as the value.

28. Scroll down and locate Mismatch. Locate Client: Goto in the Actions drop-down menu. Click Add Action.

29. Select the newly added action and click Edit the selected action parameters.

Page 82: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

82

Rethink Server Load Testing

30. Change the Goto Action to 11: Logout and click Apply Changes.

31. In the Conditional Request window, click Apply Changes.

32. Select Client: Fetch from the Define Actions list. Click the Edit the select parameters button.

Page 83: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

83

Rethink Server Load Testing

33. Enable Message UID (0 == Random) and enter a value of 0. Click Apply Changes once completed.

34. Select Client: Logout from the Define Actions list. Click the Edit the select parameters button.

Page 84: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

84

Rethink Server Load Testing

35. Disable Command Tag Value (0 == Random) and click Apply Changes once competed.

36. Select Server: Bye from the Define Actions list. Click the Edit the select parameters button.

37. Disable the Command Tag Value (0 == Random) and click Apply Changes once competed.

Page 85: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

85

Rethink Server Load Testing

38. Click the Save Super Flow button.

39. Select Test New Test.

40. Under the Test Quick Steps, click Select the DUT/Network.

Page 86: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

86

Rethink Server Load Testing

41. In the Choose a device under test and network neighborhood window under the Device Under Test(s) section, verify that BreakingPoint Default is selected. Under Network Neighborhood(s), verify that the newly created one is selected. Click Accept.

42. When prompted about switching Network Neighborhoods because the current setup contains more interfaces, click Yes.

Page 87: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

87

Rethink Server Load Testing

43. Under Test Quick Steps, click Add a Test Component.

44. In the Select a component type window, click Client Simulator (L7).

Page 88: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

88

Rethink Server Load Testing

45. Under the Information tab enter SMTP IMAP as the name and click Apply Changes.

46. Select the Interfaces tab. Verify that only External Server and Interface 1 Client are enabled.

47. Select the Parameters tab. Several parameters will be changed in this section. The first parameter that needs to be updated is the Minimum data rate. Enter a value of 1000 (if your server supports gigabit Ethernet) and click Apply Changes.

Page 89: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

89

Rethink Server Load Testing

48. The next parameter to be changed is the Steady-State Seconds. Update this to a run time of 2 minutes and click Apply Changes.

49. Next, both Maximum Simultaneous Sessions and Maximum Sessions Per Second will be updated. Enter values that your server is expected to be able to handle and click Apply Changes.

50. The last parameter that needs to be changed is selecting the Super Flow that was created earlier. Using the Super Flow drop-down menu, select Load Generator SMTPIMAP and click Apply Changes.

Page 90: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

90

Rethink Server Load Testing

51. Under Test Quick Steps, select Save and Run.

52. When prompted for a name to save the test as, enter Load Generator SMTP IMAP and click Save.

The Summary tab initially will be displayed. A great amount of information is seen on this screen, from the TCP Connection Rate to the Cumulative TCP Connections to the Bandwidth being used.

Page 91: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

91

Rethink Server Load Testing

53. Select the Client tab and make sure TCP connections are being established.

54. Once the test completes, a window will appear stating that the test passed. Click Close to continue.

Page 92: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

92

Rethink Server Load Testing

55. Log in to the mail server and verify that new mail is present and that it has been opened.

Page 93: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

93

Rethink Server Load Testing

Load Generator: Sending and Retrieving Email using SMTP and POP3

RFC:• RFC 2060 – Internet Message Access Protocol

• RFC 1939 – Post Office Protocol – Version 3

Overview:

A new Super Flow will be created that sends emails using the SMTP server. These emails will then be retrieved using POP3. The emails will

be deleted to help keep the mailbox clean. This will help to verify that the SMTP and POP3 servers are both able to handle the required load

and are correctly configured to allow emails to be sent, received and retrieved without any troubles.

Objective:

To evaluate the ability of the SMTP server to send and receive emails and the ability of the POP3 server to handle the requests to retrieve

emails.

Setup:

Page 94: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

94

Rethink Server Load Testing

1. Launch your favorite Web browser and connect to the BreakingPoint Storm CTM. Click Start BreakingPoint Systems Control Center once the page loads.

2. In the new window that appears, type your Login ID and Password. Click Login.

Page 95: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

95

Rethink Server Load Testing

3. Reserve the required port to run the test.

4. Select Managers Application Manager to configure a new Super Flow for this test.

Page 96: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

96

Rethink Server Load Testing

5. Select the Super Flows tab. Locate the BreakingPoint ClientSim SMTP and click the Save As link.

6. Enter Load Generator SMTPPOP3 as the name and click the Ok button.

Page 97: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

97

Rethink Server Load Testing

7. In the Define Actions sections select the first item and click the Edit the selected actions parameters button.

8. In the Conditional Request window, make sure that the first Match field is the only field that contains data. Delete any other information. Also, make sure that the first Match field has Regex enabled. Once completed, click the Apply Changes button.

Page 98: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

98

Rethink Server Load Testing

9. Select the third item, Client: Send email and click the Edit the selected parameters button.

10. Change both the Protocol FROM Username and the Protocol RCPT Username to valid email addresses. Click Apply Changes once completed.

11. Click the Create a new Super Flow button in the Define Flows section.

Page 99: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

99

Rethink Server Load Testing

12. Using the Server drop-down menu, select SMTP Server. Because the SMTP server and the POP3 Server reside on the same system, there is no need to create another server. Using the Protocol drop-down menu, select POP3-Advanced. Click Add Flow.

13. With the newly added flow selected in the Define Actions section, use the Action drop-down menu and select Client: Conditional Request. Click Add Action once completed.

Page 100: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

100

Rethink Server Load Testing

14. From the Action drop-down menu, select Client: RETR (Command Loop). Click the Add Action button once completed.

15. Using the Action drop-down menu, select Client: Quit. Once completed click the Add Action button.

16. Select the first POP3-Advanced action and click the Edit the selected action parameters button.

Page 101: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

101

Rethink Server Load Testing

17. In the Conditional Request window, disable the Transaction Flag and in the first Match field enter +OK. Using the Actions drop-down menu, select Client: Login. Click the Add Action button once completed.

18. Select the newly added action and click the Edit the selected action parameters button.

19. Enable both Username and Constant Password. Enter appropriate values for both. Click Apply Changes once completed.

Page 102: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

102

Rethink Server Load Testing

20. Click Apply Changes once on the Conditional Request window.

21. Select the RETR (Command Loop) in the Define Actions section. Click the Edit the selected action parameters button.

Page 103: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

103

Rethink Server Load Testing

22. In the RETR (Command Loop) window, make sure that only Transaction Flag and Number of Messages are enabled. Leave Transaction Flag set to Continue and enter a realistic value for Number of Messages. Click Apply Changes once completed.

23. Nothing needs to be changed with the Client: Quit action. Click Save Super Flow.

24. Select Test New Test.

Page 104: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

104

Rethink Server Load Testing

25. Under the Test Quick Steps, click Select the DUT/Network.

26. In the Choose a device under test and network neighborhood window under the Device Under Test(s) section, verify that BreakingPoint Default is selected. Under Network Neighborhood(s), verify that the newly created one is selected. Click Accept.

Page 105: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

105

Rethink Server Load Testing

27. When prompted about switching Network Neighborhoods because the current setup contains more interfaces, click Yes.

28. Under Test Quick Steps, click Add a Test Component.

29. In the Select a component type window, click Client Simulator (L7).

Page 106: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

106

Rethink Server Load Testing

30. Under the Information tab, enter SMTP POP3 as the name and click Apply Changes.

31. Select the Interfaces tab. Verify that only External Server and Interface 1 Client are enabled.

32. Select the Parameters tab. Several parameters will be changed in this section. The first parameter that needs to be updated is the Minimum data rate. Enter a value of 1000 (if your server supports gigabit Ethernet) and click Apply Changes.

Page 107: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

107

Rethink Server Load Testing

33. The next parameter to be changed is the Steady-State Seconds. Update this to a run time of 2 minutes and click Apply Changes.

34. Next, both Maximum Simultaneous Sessions and Maximum Sessions Per Second will be updated. Enter values that your server is expected to be able to handle and click Apply Changes.

35. The last parameter that needs to be changed is selecting the Super Flow that was created earlier. Using the Super Flow drop-down menu select Load Generator SMTPPOP3 and click Apply Changes.

Page 108: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

108

Rethink Server Load Testing

36. Under Test Quick Steps select Save and Run.

37. When prompted for a name to save the test as, enter Load Generator SMTP POP3 and click Save.

The Summary tab initially will be displayed. A great amount of information is seen on this screen, from the TCP Connection Rate to the Cumulative TCP Connections to the Bandwidth being used.

Page 109: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

109

Rethink Server Load Testing

38. Select the Client tab and make sure TCP connections are being established.

39. Once the test completes, a window will appear stating that the test passed. Click Close to continue.

Page 110: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

110

Rethink Server Load Testing

40. As the mail was just retrieved and not deleted from the mail server, as is typical with POP3, mail should still reside on the server. Login and check the contents of the inbox and verify that new mail is present and has been opened.

Page 111: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

111

Rethink Server Load Testing

Load Generator: Using MS SQL to add and query a database

Overview:

A new Super Flow will be created that adds content into the MS SQL database. This content will then be queried to verify that it has correctly

been added into the database. The final part of the Super Flow will delete the content from the database to keep it clean without content.

This will help determine whether the configuration is correct and allows addition of content, querying of the content and deletion.

Objective:

To evaluate the ability of the MS SQL server to handle the addition of new content, queries for content and the deletion of content.

Setup:

Page 112: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

112

Rethink Server Load Testing

1. Launch your favorite Web browser and connect to the BreakingPoint Storm CTM. Click Start BreakingPoint Systems Control Center once the page loads.

2. In the new window that appears, type your Login ID and Password. Click Login.

Page 113: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

113

Rethink Server Load Testing

3. Reserve the required port to run the test.

4. Select Managers Application Manager to configure a new Super Flow for this test.

Page 114: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

114

Rethink Server Load Testing

5. Select the Super Flows tab and locate BreakingPoint ClientSim MS-SQL and click the Save As link.

6. Enter Load Generator MS SQL as the name of the new Super Flow and click Ok.

Page 115: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

115

Rethink Server Load Testing

7. Almost everything in this Super Flow has been configured. Changes will have to be made in the Define Actions sections to specify the database and add some new SQL statements. Select the first item, Client: Login Request, and click the Edit the selected actions parameters button.

8. In the Login Request window, update the Username, Password and Server Name to match your MS SQL configuration. Also, disable Client Name and Client Application. Click Apply Changes once completed.

9. Select the third item, Client: Conditional Request, and click the Edit the selected actions parameters button.

Page 116: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

116

Rethink Server Load Testing

10. In the Conditional Request window click the Edit the selected actions parameters button.

11. Change the Database Name to a configured database on your MS SQL Server and click Apply Changes.

Page 117: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

117

Rethink Server Load Testing

12. In the Conditional Request window, click Apply Changes.

13. Select the fourth item, Client: Conditional Request, and click the Edit the selected actions parameters button.

Page 118: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

118

Rethink Server Load Testing

14. In the Conditional Request window, edit the Match field to include your database and then click the Edit the selected actions parameters button.

15. Change the SQL Query field to an SQL statement that will update the tables in the database. For example, INSERT INTO bpoint VALUES (‘Rams’, ‘Cardinals’). Once completed, click the Apply Changes button.

16. Using the Actions drop-down menu select Client: Query: Select Request and click the Add Action button.

Page 119: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

119

Rethink Server Load Testing

17. Select the newly added item and click the Edit the selected actions parameters button.

18. Enable the SQL Query field and enter an SQL Select statement to select data from a table. For example: SELECT footballs_teams, baseball_teams FROM bpoint. Click the Apply Changes button once completed.

Page 120: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

120

Rethink Server Load Testing

19. From the Conditional Request window, click the Apply Changes button.

20. From the main Super Flow configuration screen, select the sixth item in the Define Actions sections and click the Delete button. Once completed, click Save Super Flow.

Page 121: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

121

Rethink Server Load Testing

21. Select Test New Test.

22. Under the Test Quick Steps, click Select the DUT/Network.

23. In the Choose a device under test and network neighborhood window under the Device Under Test(s) section, verify that BreakingPoint Default is selected. Under Network Neighborhood(s), verify that the newly created one is selected. Click Accept.

Page 122: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

122

Rethink Server Load Testing

24. When prompted about switching Network Neighborhoods because the current setup contains more interfaces, click Yes.

25. Under Test Quick Steps, click Add a Test Component.

26. In the Select a component type window, click Client Simulator (L7).

Page 123: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

123

Rethink Server Load Testing

27. Under the Information tab, enter MS SQL as the name and click Apply Changes.

28. Select the Interfaces tab. Verify that only External Server and Interface 1 Client are enabled.

29. Select the Parameters tab. Several parameters will be changed in this section. The first parameter that needs to be updated is the Minimum data rate. Enter a value of 1000 (if your server supports gigabit Ethernet) and click Apply Changes.

Page 124: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

124

Rethink Server Load Testing

30. The next parameter to be changed is the Steady-State Seconds. Update this to a run time of 5 minutes and click Apply Changes.

31. Next, both Maximum Simultaneous Sessions and Maximum Sessions Per Second will be updated. Enter values that your server is expected to be able to handle and click Apply Changes.

32. The last parameter that needs to be changed is selecting the Super Flow that was created earlier. Using the Super Flow drop-down menu select Load Generator MS SQL and click Apply Changes.

Page 125: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

125

Rethink Server Load Testing

33. Under Test Quick Steps, select Save and Run.

34. When prompted for a name to save the test as, enter Load Generator MS SQL and click Save.

The Summary tab initially will be displayed. A great amount of information is seen on this screen, from the TCP Connection Rate to the Cumulative TCP Connections to the Bandwidth being used.

Page 126: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

126

Rethink Server Load Testing

35. Select the Client tab. This displays information about the client’s connections and if they are successful or not. Verify that connections are successfully being made.

36. Once the test completes, a window will appear stating that the test passed. Click Close to continue.

Page 127: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

127

Rethink Server Load Testing

37. Next, select the View the report button.

38. Expand Test Results for MS SQL folder, and then expand the Details folder. Select Response Summary. Determine if the matches were successful or not.

39. On the MS SQL Server, verify that the database contains the data that was pushed to it. If the data is not present, check the SQL statements or the configuration of MS SQL.

40. If multiple tests are going to be performed in the Super Flow, add a delete SQL statement to remove the items from the database.

Page 128: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

128

Rethink Server Load Testing

Load Generator: Using MySQL to add and query a database

Overview:

A new Super Flow will be created that adds content into the MySQL database. This content will then be queried to verify that it has correctly

been added into the database. The final part of the Super Flow will delete the content from the database to keep it clean without content.

This will help determine that the configuration is correct and allows addition of content, querying of the content, and deletion.

Objective:

To evaluate the ability of the MySQL server to handle the addition of new content, queries for content and the deletion of content.

Setup:

Page 129: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

129

Rethink Server Load Testing

1. Launch your favorite Web browser and connect to the BreakingPoint Storm CTM. Click Start BreakingPoint Systems Control Center once the page loads.

2. In the new window that appears, type your Login ID and Password. Click Login.

Page 130: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

130

Rethink Server Load Testing

3. Reserve the required port to run the test.

4. Select Managers Application Manager to configure a new Super Flow for this test.

Page 131: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

131

Rethink Server Load Testing

5. Select the Super Flows tab, locate BreakingPoint ClientSim MySQL (Authenticated) and click the Save As link.

6. Enter Load Generator MySQL as the name of the new Super Flow and click Ok.

Page 132: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

132

Rethink Server Load Testing

7. Almost everything in this Super Flow has been configured. Changes will have to be made in the Define Actions sections to specify the database and add some SQL statements. Select the first item, Client: Authenticate, and click the Edit the selected actions parameters button.

8. In the Authenticate window, enter the correct Database Username and Database Password that your MySQL server is configured to use. Click Apply Changes once completed.

9. Select the second item, Client: Conditional Request, and click the Edit the selected actions parameters button.

Page 133: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

133

Rethink Server Load Testing

10. In the Conditional Request window, click the Edit the selected actions parameters button.

11. Change the SQL Statement field to an SQL statement that will update the tables in the database. For example, INSERT INTO test.bpoint VALUES (‘Giants’, ‘Mets’). Once completed click the Apply Changes button.

12. Using the Actions drop-down menu, select Client: Query and click the Add Action button.

Page 134: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

134

Rethink Server Load Testing

13. Select the newly added item and click the Edit the selected actions parameters button.

14. Enable the SQL Statement field and enter an SQL Select statement to select data from a table. For example: SELECT * FROM test.bpoint. Click the Apply Changes button once completed.

Page 135: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

135

Rethink Server Load Testing

15. From the Conditional Request window, click the Apply Changes button.

16. From the main Super Flow configuration screen, click the Save Super Flow button.

17. Select Test New Test.

Page 136: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

136

Rethink Server Load Testing

18. Under the Test Quick Steps, click Select the DUT/Network.

19. In the Choose a device under test and network neighborhood window under the Device Under Test(s) section, verify that BreakingPoint Default is selected. Under Network Neighborhood(s), verify that the newly created one is selected. Click Accept.

Page 137: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

137

Rethink Server Load Testing

20. When prompted about switching Network Neighborhoods because the current setup contains more interfaces, click Yes.

21. Under Test Quick Steps, click Add a Test Component.

22. In the Select a component type window, click Client Simulator (L7).

Page 138: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

138

Rethink Server Load Testing

23. Under the Information tab enter MySQL as the name and click Apply Changes.

24. Select the Interfaces tab. Verify that only External Server and Interface 1 Client are enabled.

25. Select the Parameters tab. Several parameters will be changed in this section. The first parameter that needs to be updated is the Minimum data rate. Enter a value of 1000 (if your server supports gigabit Ethernet) and click Apply Changes.

Page 139: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

139

Rethink Server Load Testing

26. The next parameter to be changed is the Steady-State Seconds. Update this to a run time of 5 minutes and click Apply Changes.

27. Next, both Maximum Simultaneous Sessions and Maximum Sessions Per Second will be updated. Enter values that your server is expected to be able to handle and click Apply Changes.

28. The last parameter that needs to be changed is selecting the Super Flow that was created earlier. Using the Super Flow drop-down menu select Load Generator MS SQL and click Apply Changes.

Page 140: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

140

Rethink Server Load Testing

29. Under Test Quick Steps select Save and Run.

30. When prompted for a name to save the test as, enter Load Generator MySQL and click Save.

The Summary tab initially will be displayed. A great amount of information is seen on this screen, from the TCP Connection Rate to the Cumulative TCP Connections to the Bandwidth being used.

Page 141: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

141

Rethink Server Load Testing

31. Select the Client tab. This displays information about the client’s connections and if they are successful or not. Verify that connections are successfully being made.

32. Once the test completes, a window will appear stating that the test passed. Click Close to continue.

Page 142: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

142

Rethink Server Load Testing

33. Next, select the View the report button.

34. Expand Test Results for MySQL folder, then expand the Details folder. Select Response Summary. Determine if the matches were successful or not.

35. On the MySQL Server, verify that the database contains the data that was pushed to it. If the data is not present, check the SQL statements or the configuration of the MySQL server.

Page 143: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

143

Rethink Server Load Testing

36. If multiple tests are going to be performed add in a delete SQL statement into the Super Flow to remove the items from the database.

Page 144: Load Test Methodology: Server Load Testing

www.breakingpoint.com© 2005 - 2010. BreakingPoint Systems, Inc. All rights reserved. The BreakingPoint logo is a trademark of BreakingPoint Systems, Inc.All other trademarks are the property of their respective owners.

144

Rethink Server Load Testing

About BreakingPointBreakingPoint pioneered the first and only Cyber Tomography Machine

(CTM) to expose previously impossible-to-detect stress fractures within

cyber infrastructure components before they are exploited to compromise

customer data, corporate assets, brand reputation and even national security.

BreakingPoint products are the standard by which the world’s governments,

enterprises, and service providers optimize the resiliency of their cyber

infrastructures. For more information, visit www.breakingpoint.com.

BreakingPoint Storm CTM

BreakingPoint has pioneered Cyber Tomography with the introduction of

the BreakingPoint Storm CTM, enabling users to see for the first time the

virtual stress fractures lurking within their cyber infrastructure through the

simulation of crippling attacks, high-stress traffic load and millions of users.

BreakingPoint Storm CTM is a three-slot chassis that provides the equivalent

performance and simulation of racks and racks of servers, including:

• 40 Gigabits per second of blended stateful application traffic

• 30 million concurrent TCP sessions

• 1.5 million TCP sessions per second

• 600,000+ complete TCP sessions per second

• 80,000+ SSL sessions per second

• 100+ stateful applications

• 4,500+ live security strikes

BreakingPoint Resources

Hardening cyber infrastructure is not easy work, but nothing that is this

important has ever been easy. Enterprises, service providers, government

agencies and equipment vendors are under pressure to establish a cyber

infrastructure that can not only repel attack but is resilient to application

sprawl and maximum load. BreakingPoint’s CTM provides the technology

and solutions that allow these organizations to create a hardened and

resilient cyber infrastructure. BreakingPoint also provides the very latest

industry resources to make this process that much easier, including Resiliency

Methodologies, How-to Guides, white papers, webcasts, and a newsletter. To

learn more, visit

www.breakingpoint.com/resources.

BreakingPoint Labs Community

Join discussions on the latest developments in hardening cyber

infrastructure. BreakingPoint Labs brings together a diverse community of

people leveraging the most current insight to harden cyber infrastructure to

withstand crippling attack and high-stress application load.

Visit www.breakingpointlabs.com.

Contact BreakingPoint

Learn more about BreakingPoint

products and services by contacting a

representative in your area.

1.866.352.6691 U.S. Toll Free

www.breakingpoint.com

BreakingPoint Global Headquarters

3900 North Capital of Texas Highway

Austin, TX 78746

email: [email protected]

tel: 512.821.6000

toll-free: 866.352.6691

BreakingPoint EMEA Sales Office

Paris, France

email: [email protected]

tel: + 33 6 08 40 43 93

BreakingPoint APAC Sales Office

Suite 2901, Building #5, Wanda Plaza

No. 93 Jianguo Road

Chaoyang District, Beijing, 100022, China

email: [email protected]

tel: + 86 10 5960 3162