Extension Tool to pass additional detail for error?

ParasofttoudayaParasofttoudaya Posts: 207 ✭✭
edited September 2017 in SOAtest

Hi Team,

public boolean customResponse(Object input, ScriptingContext context)

String PassFailDetail;

return tsetCaseStatus;

is there any way i can pass additional parameter which gives more information about pass/fail??

Basically I am able to get a string value which gives more information, we wanted that string value should come in report.



  • benken_parasoftbenken_parasoft Posts: 589 ✭✭✭

    In case this helps you, the following method "Reports an error message and causes the tool to fail". Notice how you can pass both error "message" and error "details".
    See com.parasoft.api.ScriptingContext.report(String message, String details)

Sign In or Register to comment.