Toad World® Forums

How to Run Benchmark Job with RESTAPI?

Here we use PowerShell to call Benchmark Factory RESTAPI.

  1. Prepare the RESTAPI body of Benchmark Job, here is the example of TPC-C, TPC-H, TPC-E, of course, you can use the body as JSON file too. You can prepare the benchmark Job body by Postman. TPC-C.txt (8.8 KB) TPC-E.txt (21.5 KB) TPC-H.txt (25.7 KB)

  2. Use PowerShell script to Run the RESTAPI. Here is a sample with the workflow like this:


    RunBenchmarkJob2.txt (5.6 KB)
    When run the script, you may get the result like this: