Idea ID: 2798211

Need after check "mark http erros as warnings" the script be PASSED

Status : Waiting for Votes
Waiting for Votes
See status update history
over 1 year ago

In some aplication that we are testing, it is normal to get some error code like 403 or 422. In these cases we mark the transaction as "Pass" using the "lr_set_transaction_status(LR_PASS)"

For avoid these situation, we have used "lr_continue_on_error" to be able to continue executing the script and "lr_set_transacion_status (LR_PASS)" to mark as "PASS" the transaction.

But with these 2 workaround, we have continue our script running and we have put the transaction to PASSED but our script status still been FAILED.

We need a function to change the final script status to PASSED if we have changed any transaction to from FAILED to PASSED.

Tags:

Labels:

Protocols
Parents
  • hi  

     

    We have tried you possible solution, but for us it could be a workaround. we can not control the error code from the http request.

     

    If we know that a request will answered us with known error code, we can apply your workaround, but if we dont know what we will receive, and depending what answer we receive we need the script be FAILED, your solution is not applayable

     

    thank you very much for your help

Comment
  • hi  

     

    We have tried you possible solution, but for us it could be a workaround. we can not control the error code from the http request.

     

    If we know that a request will answered us with known error code, we can apply your workaround, but if we dont know what we will receive, and depending what answer we receive we need the script be FAILED, your solution is not applayable

     

    thank you very much for your help

Children
No Data