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

lr_end_transaction("transaction name", LR_FAIL) not working?

$
0
0

All,

We have a lot of tests that do web_reg_find at the beginning, then check the count at the end and  lr_end_transaction("transaction name", LR_FAIL) at the end if the count is not what we expect.  However LR_FAIL doesn't seem to do anything.  Even when the script logically fails, the results and reports show it as passing.  What is LR_FAIL supposed to do?

BTW, I have noticed that not checking the result of web_reg_find at all causes an error message to get written to the log if the string was not found and the execution is counted as failing.

thanks

John

 

Viewing all articles
Browse latest Browse all 3978

Trending Articles



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