Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

C Function that execute database functions shows as transaction in Analysis

$
0
0

Hi,

I have a TruClient that executes a C function to connect to a database and execute some SQL statement like below:

void cleanDbBuffers()    
{
    
    lr_db_connect("StepName=CONNECT_TO_DB", 
                  "ConnectionString=Data Source={LRP_DS};Initial Catalog={LRP_DB};Integrated Security=false;user id={LRP_DB_USER_ID};password={LRP_DB_PASSWORD};" ,
                  "ConnectionName={LRP_DB}",
                  "ConnectionType=SQL",
                LAST);
    
    lr_db_executeSQLStatement("StepName=DROPCLEANBUFFERS", "ConnectionName={LRP_DB}", "SQLStatement=CHECKPOINT;DBCC DROPCLEANBUFFERS;", "DatasetName=ResultSet", LAST);
    
    lr_db_disconnect("StepName=DISCONNECT_FROM_DB","ConnectionName={LRP_DB}", LAST);
}

The function executed successfully. However, the 3 calls to the database all show up as Transactions in the Analysis Summary Report.  See attached image. Does anyone know if there is any way to disable them from showing up as Transaction?

Thanks!
Jason


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>