Advertisment
Sponsor Category


SQL Load Test

SQL Load Test takes a SQL Profiler trace file and generates a unit test that replays the same sequence of database calls found in the trace file. The unit test is designed for Visual Studio Load Test. The code generated is easily modifiable so that data variation can be included.

There is a lot of code out there that makes load testing the application very difficult. The most common type is a client application that contains direct database calls. The application however is not structured to allow the business logic to be exercised without the GUI. Another common scenario is a legacy application written in a language such as Visual Basic 6. In cases like these, it can be difficult to load test the application without a GUI test tool, which introduces other disadvantages. GUI test tools are notoriously difficult to use, generally lead to brittle tests and also have limitations in scaling the load injectors sufficiently to exercise the servers.

This tool offers one possible alternative. You start with using the client application to generate a trace of the SQL statements which typically represent a usage scenario. You can then turn the trace into equivalent ADO.NET code program that can be used in a load test.

Tool Description

The tool generates a Visual Studio 2005/2008 Unit Test from a SQL Server Profiler trace. It extracts all the SQL statements and stored procedure calls from the trace and turns them into a single Visual Studio Unit Test, which can then be configured as a Visual Studio Load Test. The tool does not interact with the database itself when it analyzes the trace and generates the test code. It can therefore be used in “offline” scenarios.

The generated code needs to be customized to include a connection string to the database under test. That code also includes hooks to allow the user to customize the parameters that are passed to the SQL statements and stored procedures, so that variability can be introduced into the data to prevent caching from producing artificially high performance figures.

The tool is intended to be used in conjunction with a client program that runs against a database. A trace of the client’s SQL Server activity is captured using the SQL Server Profiler. This represents a test scenario, which is then processed by the tool to produce a Unit Test that replays the scenario.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Add to favorites
  • Live
  • StumbleUpon
  • Yahoo! Buzz

SQL Load Test Support Forum




Try Market Samurai For Free!


          0 votes

Did you enjoy this post?

If so, would you please consider sharing it with the world

Leave a Reply

You must be logged in to post a comment.




Advertisment
Advertisment



My Twitter Friends
Friends: Followers:
  • iekjdfaj8p9 on "Prada handbags outlet two elder brothers".Good way, how didn't I thought of.However, two elder brothers, you must lend your pe …
  • iekjdfaj8p9 on "cheap lv bags uk A spark causes a prairie fire"Originally was directly to should pound at the dollar of wood dint, HZX7de0422 but because …
  • iekjdfaj8p9 on "Prada bags australia Luckily"Boxing piece of stone on put of the jade of one square palm size Jian Hong Sui, the immedi …
  • dewruibade on "Chanel Attractive Flap Bags Snake Black Mademoiselle Closure"Further from the cheap and nasty Naga pastes, this adventurers will see a small pay out th …
  • cvfgfgij on "www.guccibyhungryjp.org,グッチ 中古, エルメス 服"臣꺁苣趃菣꺂菣ꮁ臣뺁苣貸鳦銂賦龁臣蒁臣辁臣閁臣඄ഊ龮髩ꮁ臣膀迥몺臣芁臣뺁臣ꪁ菣벃苣誃菣ꒂ苣閁苣龁뷧趐苣芏藧鞁臣辁臣閁臣膀鿥 …
  • -->
    Related Tools

    Microsoft SQL Server Community Samples: Analysis Services

    This project contains SQL Server Analysis Services samples contributed by Microsoft outside of the regular release cycle, MVPs, and other members of the community.This release contains the following projects:
    Compress M2M C# Application
    A Solution for Collecting Analysis Services Performance Data for Performance Analysis – Updated 3/6/09 to simplify install and use

    Read More

    LoadJava: Java Class File Loader and Data Model for SQL Server Modeling Services

    LoadJava is a command line tool that can load metadata stored in Java class files or JARs into a relational data model in SQLServer. Using the relational data model, it is possible to conduct analyses of Java code base on enterprise scale easily and efficiently.

    SiteBlaster

    SiteBlaster is a web site / image server load and stress testing tool. It can be used to rapidly submit requests to a site. Or, it can pause a random amount of time between submissions; approximating the behavior of a user. While the testing is being performed, the pages being tested will be displayed. When… Read More

    Pylot

    Pylot is a free open source tool for testing performance and scalability of web services. It runs HTTP load tests, which are useful for capacity planning, benchmarking, analysis, and system tuning.

    Pylot generates concurrent load (HTTP Requests), verifies server responses, and produces reports with metrics. Tests suites are executed and

    Multi-Mechanize

    Multi-Mechanize is an open source framework for web performance and load testing. It allows you to run simultaneous python scripts to generate load (synthetic transactions) against a web site or web service.

    In your scripts, you have the convenience of mechanize along with the power of the full Python programming language at your disposal. You… Read More

    FunkLoad

    functional and load web tester, written in Python, whose main use cases are functional and regression testing of web projects, performance testing by loading the web application and monitoring your servers, load testing to expose bugs that do not surface in cursory testing, and stress testing to overwhelm the web application resources and test the… Read More

    Apache JMeter

    Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load… Read More

    WCF Test Harness

    The WCF Test Harness is a flexible tool that can be used to quickly test services. The utility is a windows application that uses WCF to submit requests via a given URL or proxy class. This utility is similar to other service test tools, notably WCF Load Test and SOAP UI.

    UniTest a JavaScript Unit Test

    UniTest is a light weight ,effective and cross browser JavaScript Unit Test framework with wide range of tests and functions.
    It’s also support custom output provider to customize data view and lazy load core and test to reduce server load and run test as needed

    Microsoft Visual Studio Team System Load Test Reporting Sample

    This project contains a set of stored procedures and SQL Server 2005 Reporting Services reports for reporting on a load test result. It also contains an ASP.NET app that enables you to easily delete runs from the database and set the analysis comment on runs.