Now, you can interface with Benchmark Factory from anywhere, from almost anything, giving it huge flexibility. And with each iteration of Benchmark Factory since then, that API has been improved. Starting in Benchmark Factory 7.6, a REST API was implemented. And you don't want these already existing transactions to be impacted by the new feature that you're adding. Compounding on this difficulty is that you may also want to run a workload of thousands of users already logged in, browsing the store, adding products to their shopping cart, checking on stock or the status of their orders. And although you may be able to test just one user logging in fairly easily, it's much more difficult to test thousands of users logging in concurrently in understanding the impact of this new feature that you've added. Well, that's now additional overhead to your database via the additional queries needed to get the user's last three orders. You're tasked with implementing a new feature that displays the customer's last three orders. Let's imagine you're a developer working on the landing page after a customer logs into your app. You can also use diagnostics or monitoring tools, like Spotlight or Foglight, and understand your database and application performance while under stress. While this load is being placed on your database by Benchmark Factory, it will display and record metrics like database response time and transactions per second. It can kick off thousands of virtual users connecting to your database and running a mix of transactions. Benchmark Factory is a database load testing tool. In the second video, I'll show you how to leverage the REST API in scripts, and then put those scripts into CI Tools like Jenkins, or Bamboo, or Team City. So in this first video of a two part video series, I'm going to talk a little bit about Benchmark Factory, what it does, and its REST API, as well as go through some examples. This ensures that any new code I add to my application doesn't affect the performance of my database. And within my build pipeline, Jenkins is leveraging Benchmark Factory to automatically run a user load test against my Oracle database. What you're seeing is a popular continuous integration tool, Jenkins, currently in the middle of a build pipeline. I'm a software consultant at Quest Software, specializing in our database management tools, like Toad and Apex SQL. Continuous Integration using Benchmark Factory's REST API Part 1
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |