Skip to content
Moremax Logo - Managed IT and Cybersecurity Experts for Law Firms
  • Home
  • About Us
  • Articles
  • Resource Library
    • FAQ
    • Legal ISAO
    • Practical Guides
    • Watch & Learn
  • Pricing
  • Contact Us
let's talk
By Isabel ClaassenPublished On: January 7, 2025Categories: ServicesComments Off on How to Load Test Your SharePoint Farm with Visual Studio

If you’re managing a SharePoint Farm and want to ensure it can handle the load your organization throws at it, performing a load test is essential. This guide will walk you through the process using Visual Studio, making it accessible even for beginners.

What is Load Testing?

Load testing is a process where you simulate multiple users accessing your application simultaneously to see how it performs under stress. For a SharePoint Farm, this helps identify bottlenecks, ensures stability, and provides insights into performance improvements.

Why Load Test Your SharePoint Farm?

  • Identify Performance Issues: Understand how your system behaves under peak load conditions.
  • Ensure Reliability: Verify that your SharePoint environment can handle the expected number of users.
  • Optimize Performance: Make informed decisions on where to improve your infrastructure.

Prerequisites

You need Visual Studio 2012 Ultimate with Update 1. If you have Update 3, that’s fine too. Here’s how you can get started:

Setting Up the Load Test Project

  1. Open Visual Studio:
    • Go to Test in the menu.
    • Select Web Performance and Load Test Project.

Enabling Third-Party Browser Extensions

If third-party browser extensions are blocked, you’ll need to enable them:

  • Go to Advanced Settings in your browser.
  • If the option is grayed out, modify the setting in the registry. Be aware that this may need to be re-enabled after every gpupdate or reboot.

Recording Your Test

  1. Start Recording:
    • Click on Record in Visual Studio.
    • This will open your browser with a recording snap-in on the side.

Troubleshooting Recording Issues

If you’re using Windows 8.1 and the recording snap-in doesn’t appear:

  • Open Internet Explorer.
  • Go to Tools > Manage Add-ons.
  • Disable and re-enable Web Test Recorder 10.0.

Once enabled, the recorder should appear on the left side of your browser.

Simulating User Actions

  • Navigate through your SharePoint site as you normally would.
  • Perform the actions you want to test (e.g., uploading files, navigating pages).
  • Note: Be mindful of how the system handles file uploads and duplicate file names.

Stopping the Recording

  1. Stop Recording:
    • Click Stop Recording in Visual Studio. If you encounter an error, close your browser and manually stop the recording in Visual Studio.

Adding a Load Test

  1. Add Load Test:
  • Right-click on your C# project in Visual Studio.
  • Select Add > Load Test.
  • Complete the wizard to load your recorded test under Test Mix.

Running Your Load Test

  1. Run the Test:
  • Right-click on the project and select Run Load Test.

While it is running:

Additional Resources

For more in-depth tutorials, check out these handy links:

  • Web Performance Load Testing SharePoint 2013 for Beginners
  • Web Performance and Load Testing with Visual Studio 2012

By following these steps, you can effectively load test your SharePoint Farm, ensuring it’s ready to handle whatever load comes its way. Happy testing!

WE’D LOVE TO CHAT ABOUT HOW WE CAN HELP!

Contact us

Get in Touch

Starting your firm or trying to get your tech sorted? Not sure where to start or just want to ask a question?
Reach out and we’ll help you figure out the next best step.

Thank you for your message. It has been sent.
There was an error trying to send your message. Please try again later.
We have offices in Georgetown, Texas, and Boise, Idaho, we serve clients Nationwide.
hello@moremax.net
Monday to Friday : 9 am – 5 pm (Central Time)

+1 512 503 3350 / +1 208 370 6985

© 2012 - 2026 • All Rights Reserved • Developed by MoreMax Inc

Page load link
Go to Top