question

zuoyuan_liang avatar image
zuoyuan_liang asked zuoyuan_liang posted

SQL query to a database

Can iTest do a SQL query to a database? I am thinking how to maximally use the response analysis tool to process all kinds of test results formats
iTestresponse map
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
PaulD avatar image
PaulD answered PaulD posted

We already have a working prototype of a new iTest plug-in application for performing SQL queries to databases.  This would let you easily integrate database select/insert/update/etc. queries into the middle of your test case.  It provides "blue box" analysis on the corresponding results.  And it supports prepared statements so that you can easily integrate it with iTest variables and other substitutions in the queries.  This could support data-driven test automation.  And it could help with publishing extracted performance data, for example, directly into a database.  It might also be helpful for testing EMS/NMS-type applications that have a database back-end.

 

We're not sure how much value this has for our customers.  I encourage anyone who may be interested in this capability to post and let us know that you are interested.  This will help us decide how to prioritize this for inclusion in the product.

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

zuoyuan_liang avatar image zuoyuan_liang commented ·
This is an excellent feature I am looking for. iTest Response Analysis is a powerful tool. I want to maximally use the tool. One of use cases is to use the feature to analyze test results if the test results are stored in database such as results from Spirent TestCenter. As you said, other use cases could be to test database directly using iTest.
0 Likes 0 ·
PaulD avatar image PaulD zuoyuan_liang commented ·
That's a great use case that I hadn't thought of.  Applications like Test Center can push data into a database.  iTest would be able to use complex queries on that data as part of the test case.  Good one!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.