How to insert into sql table while VSTS load test is also inserting
I need to track custom information associated with each request URI during 'load test' run.
I know that VSTS stores 'requestURI' in table called 'WebLoadTestRequestM开发者_JAVA百科ap'.
Could some one tell me how to achieve this?
You would have to add your own new table to the database (with LoadTestRunId as a foreign key) and insert your custom information into that table in the PostRequest event.
There is no way to alter the automatic behaviour of the load test engine when it adds data to the load test database.
精彩评论