Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: How can use multiple web_custom_request in a single transaction

$
0
0
// Huge block of stuff clobbered together in an outer transaction
lr_start_transaction("01_HugeTransaction");

// Do stuff in inner transactions
lr_start_transaction("01A_SomeTransaction"); web_reg_save_param(...); web_custom_request(...); lr_end_transaction("01A_SomeTransaction", LR_AUTO);

lr_start_transaction("01B_OtherTransaction"); web_reg_save_param(...); web_custom_request(...);
lr_end_transaction("01B_OtherTransaction");
lr_start_transaction("01C_ThirdTransaction"); web_custom_request(...); web_custom_request(...); lr_end_transaction("01C_ThirdTransaction", LR_AUTO);
lr_end_transaction("01_HugeTransaction", LR_AUTO);

 You can also use sub transactions but I don't get along well with those.


Viewing all articles
Browse latest Browse all 12134

Trending Articles



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