Forum Discussion

vijayk1's avatar
vijayk1
Occasional Contributor
6 years ago

how to send request response to readyapi report using groovy

Hi Team,   I have a project which can be run on two endpoints and few request have different response.   Currently I'm executing Request and based on endpoint I've put assertion using groovy....
  • vijayk1's avatar
    vijayk1
    6 years ago

    nmrao  Thanks.


    assert (X == 'X' ) : response

    This did the job.

     

     

    Thanks for help

     

    Regards,

    Vijay