visual studio 2012 - Load testing for API project using controller and agents(distributed load testing) -
i have api project writes data in files or sql server. these data written in asynchronous manner.i.e. first data written in buffer , buffer writes data file or sql server. want load testing client api using visual studio 2012 , controller , agent. want calculate throughput , response time. this, have written unit test uses api , send data. now, using load testing, can number of messages written per second(i.e. tests/second) gives numbers of messages dropped in buffer , not give messages written in file or database per second system asynchronous.so how can calculate response time , throughput entire process. i.e. start when client api called till message written in text file or database.
i new in load testing.
this you'll need measure, not calculate.
use web performance test. can record transaction , log measured time.
start transaction when invoke unit test. you'll need mechanism detect when write has finished , tell web performance test end transaction.
Comments
Post a Comment