Extension Tool to pass additional detail for error?

ParasofttoudayaParasofttoudaya Posts: 166
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.

Regards
Udaya

Comments

  • benken_parasoftbenken_parasoft Posts: 348 ✭✭✭

    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.