Currently the plugin runs a query and compares the number of rows returned to succeed or fail.
I think it would be more generic and powerful to do the following:
- User enters a query that is supposed to return a numerical value (count or percentile or whatever)
- User also inputs a threshold
Plugins runs the query, compares it to threshold and fails the build if value above.
This would do what the plugin currently does.
But this would be more powerful as it would allow user to make queries on some values, for example in Load Testing he would run a percentile on a set of values and decides what to do
If you're OK, I'll modify the plugin.
Thanks